1 ; RUN: llc -mtriple=aarch64-apple-darwin -aarch64-bcc-offset-bits=4 -align-all-nofallthru-blocks=4 < %s | FileCheck %s
3 ; Long branch is assumed because the block has a higher alignment
4 ; requirement than the function.
6 ; CHECK-LABEL: invert_bcc_block_align_higher_func:
7 ; CHECK: b.eq [[JUMP_BB1:LBB[0-9]+_[0-9]+]]
8 ; CHECK-NEXT: b [[JUMP_BB2:LBB[0-9]+_[0-9]+]]
10 ; CHECK: [[JUMP_BB1]]:
14 ; CHECK: [[JUMP_BB2]]:
16 define i32 @invert_bcc_block_align_higher_func(i32 %x, i32 %y) align 4 #0 {
17 %1 = icmp eq i32 %x, %y
18 br i1 %1, label %bb1, label %bb2
21 store volatile i32 9, i32* undef
25 store volatile i32 42, i32* undef
29 attributes #0 = { nounwind }