repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[OptTable] Fix typo VALUE => VALUES (NFCI) (#121523)
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
MIR
/
X86
/
expected-named-register-in-functions-livein.mir
blob
b49a5fd04a4f983a7b4c934c2468c23046882c63
1
# RUN: not llc -mtriple=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
RET64 %eax
26
...