20 lines
285 B
Plaintext
20 lines
285 B
Plaintext
|
# RUN: not llc -march=x86-64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
|
||
|
|
||
|
--- |
|
||
|
|
||
|
define i32 @foo() {
|
||
|
entry:
|
||
|
ret i32 0
|
||
|
}
|
||
|
|
||
|
...
|
||
|
---
|
||
|
name: foo
|
||
|
body: |
|
||
|
bb.0.entry:
|
||
|
; CHECK: [[@LINE+1]]:20: expected a machine operand
|
||
|
$eax = XOR32rr =
|
||
|
RETQ $eax
|
||
|
...
|
||
|
|