summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AArch64/arm64-coalescing-MOVi32imm.ll
blob: 8550db9e691762e6d8905e23b8560e51b56e8f70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
; RUN: llc < %s | FileCheck %s

; CHECK:       mov     w0, #1
; CHECK-NEXT:  bl      foo
; CHECK-NEXT:  mov     w0, #1
; CHECK-NEXT:  bl      foo

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
}
OpenPOWER on IntegriCloud