mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
73624b6ac4
This enables targets to adapt their pass pipeline to the register allocator in use. For example, with the AArch64 backend, using PBQP with the cortex-a57, the FPLoadBalancing pass is no longer necessary. llvm-svn: 220321
15 lines
322 B
LLVM
15 lines
322 B
LLVM
; RUN: llc -mtriple=aarch64-linux-gnu -mcpu=cortex-a57 -regalloc=pbqp -pbqp-coalescing -o - %s | FileCheck %s
|
|
|
|
define i32 @foo(i32 %a) {
|
|
; CHECK-LABEL: foo:
|
|
; CHECK: bl bar
|
|
; CHECK: bl baz
|
|
%call = call i32 @bar(i32 %a)
|
|
%call1 = call i32 @baz(i32 %call)
|
|
ret i32 %call1
|
|
}
|
|
|
|
declare i32 @bar(i32)
|
|
declare i32 @baz(i32)
|
|
|