2016-07-16 10:24:59 +08:00
|
|
|
# RUN: not llc -march=x86-64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
|
2015-08-04 07:08:19 +08:00
|
|
|
|
|
|
|
--- |
|
|
|
|
|
|
|
|
define i32 @test(i32* %a) {
|
|
|
|
entry:
|
|
|
|
%b = load i32, i32* %a
|
|
|
|
ret i32 %b
|
|
|
|
}
|
|
|
|
|
|
|
|
...
|
|
|
|
---
|
|
|
|
name: test
|
|
|
|
tracksRegLiveness: true
|
|
|
|
liveins:
|
|
|
|
- { reg: '%rdi' }
|
2015-08-14 07:10:16 +08:00
|
|
|
body: |
|
|
|
|
bb.0.entry:
|
|
|
|
liveins: %rdi
|
2017-02-14 06:14:08 +08:00
|
|
|
; CHECK: [[@LINE+1]]:53: expected an atomic scope, ordering or a size integer literal
|
2015-08-14 07:10:16 +08:00
|
|
|
%eax = MOV32rm killed %rdi, 1, _, 0, _ :: (load from %ir.a)
|
|
|
|
RETQ %eax
|
2015-08-04 07:08:19 +08:00
|
|
|
...
|
|
|
|
|