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
/
expected-named-register-in-functions-livein.mir
blob
af563bd672add30926ac84291ad56dda5f046f43
1
# RUN: not llc -march=x86-64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
2
3
--- |
4
5
define i32 @test(i32 %a) {
6
body:
7
ret i32 %a
8
}
9
10
...
11
---
12
name: test
13
tracksRegLiveness: true
14
registers:
15
- { id: 0, class: gr32 }
16
liveins:
17
# CHECK: [[@LINE+1]]:13: expected a named register
18
- { reg: '%0' }
19
body: |
20
bb.0.body:
21
liveins: %edi
22
23
%0 = COPY %edi
24
%eax = COPY %0
25
RETQ %eax
26
...