xref: /aosp_15_r20/external/llvm/test/CodeGen/AArch64/arm64-coalescing-MOVi32imm.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker; CHECK:       orr     w0, wzr, #0x1
4*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT:  bl      foo
5*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT:  orr     w0, wzr, #0x1
6*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT:  bl      foo
7*9880d681SAndroid Build Coastguard Worker
8*9880d681SAndroid Build Coastguard Workertarget triple = "aarch64--linux-android"
9*9880d681SAndroid Build Coastguard Workerdeclare i32 @foo(i32)
10*9880d681SAndroid Build Coastguard Worker
11*9880d681SAndroid Build Coastguard Worker; Function Attrs: nounwind uwtable
12*9880d681SAndroid Build Coastguard Workerdefine i32 @main() {
13*9880d681SAndroid Build Coastguard Workerentry:
14*9880d681SAndroid Build Coastguard Worker  %call = tail call i32 @foo(i32 1)
15*9880d681SAndroid Build Coastguard Worker  %call1 = tail call i32 @foo(i32 1)
16*9880d681SAndroid Build Coastguard Worker  ret i32 0
17*9880d681SAndroid Build Coastguard Worker}
18