repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[lit] Add argument check: --timeout must be non-negative integer
[llvm-core.git]
/
test
/
CodeGen
/
MIR
/
X86
/
unknown-register.mir
blob
37c30f6cb316793ac5d84ccaf4a6c83bded40415
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 register 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 register name 'xax'
18
$xax = MOV32r0
19
RETQ $xax
20
...