xref: /aosp_15_r20/external/llvm/test/CodeGen/AArch64/PBQP.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc -mtriple=aarch64-linux-gnu -mcpu=cortex-a57 -regalloc=pbqp -pbqp-coalescing -o - %s | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Workerdefine i32 @foo(i32 %a) {
4*9880d681SAndroid Build Coastguard Worker; CHECK-LABEL: foo:
5*9880d681SAndroid Build Coastguard Worker; CHECK: bl bar
6*9880d681SAndroid Build Coastguard Worker; CHECK: bl baz
7*9880d681SAndroid Build Coastguard Worker  %call = call i32 @bar(i32 %a)
8*9880d681SAndroid Build Coastguard Worker  %call1 = call i32 @baz(i32 %call)
9*9880d681SAndroid Build Coastguard Worker  ret i32 %call1
10*9880d681SAndroid Build Coastguard Worker}
11*9880d681SAndroid Build Coastguard Worker
12*9880d681SAndroid Build Coastguard Workerdeclare i32 @bar(i32)
13*9880d681SAndroid Build Coastguard Workerdeclare i32 @baz(i32)
14*9880d681SAndroid Build Coastguard Worker
15