2015-07-24 03:24:53 +08:00
|
|
|
; RUN: llc < %s | FileCheck %s
|
|
|
|
|
2015-09-01 05:10:35 +08:00
|
|
|
; CHECK: orr w0, wzr, #0x1
|
|
|
|
; CHECK-NEXT: bl foo
|
|
|
|
; CHECK-NEXT: orr w0, wzr, #0x1
|
|
|
|
; CHECK-NEXT: bl foo
|
2015-07-24 03:24:53 +08:00
|
|
|
|
|
|
|
target triple = "aarch64--linux-android"
|
|
|
|
declare i32 @foo(i32)
|
|
|
|
|
|
|
|
; Function Attrs: nounwind uwtable
|
|
|
|
define i32 @main() {
|
|
|
|
entry:
|
|
|
|
%call = tail call i32 @foo(i32 1)
|
|
|
|
%call1 = tail call i32 @foo(i32 1)
|
|
|
|
ret i32 0
|
|
|
|
}
|