llvm-for-llvmta/test/CodeGen/MIR/ARM/extraneous-closing-brace-er...

21 lines
386 B
Plaintext
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
# RUN: not llc -mtriple thumbv7-apple-ios -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
--- |
define i32 @test1(i32 %a) {
entry:
ret i32 %a
}
...
---
name: test1
tracksRegLiveness: true
liveins:
- { reg: '$r0' }
body: |
bb.0.entry:
liveins: $r0
tBX_RET 14, _, implicit killed $r0
; CHECK: [[@LINE+1]]:5: extraneous closing brace ('}')
}
...