repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git]
/
test
/
CodeGen
/
MIR
/
X86
/
unknown-instruction.mir
blob
4377347f0a9f0ab22f1a7117e9ce687c52d6fe3b
1
# RUN: not llc -march=x86-64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
2
# This test ensures that an error is reported when an unknown instruction is
3
# encountered.
4
5
--- |
6
7
define i32 @foo() {
8
entry:
9
ret i32 0
10
}
11
12
...
13
---
14
name: foo
15
body: |
16
bb.0.entry:
17
; CHECK: [[@LINE+1]]:5: unknown machine instruction name 'retJust0'
18
retJust0
19
...