mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
15 lines
309 B
LLVM
15 lines
309 B
LLVM
|
; RUN: llc -mtriple=aarch64-linux-gnu -mcpu=cortex-a57 -aarch64-pbqp -o - %s | FileCheck %s
|
||
|
|
||
|
define i32 @foo(i32 %a) {
|
||
|
; CHECK-LABEL: foo:
|
||
|
; CHECK: bl bar
|
||
|
; CHECK-NEXT: 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)
|
||
|
|