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
/
named-registers.mir
blob
23e1762f35589374b600592795abc42e89ffc37b
1
# RUN: llc -mtriple=x86_64 -run-pass none -o - %s | FileCheck %s
2
# This test ensures that the MIR parser parses X86 registers correctly.
3
4
--- |
5
6
define i32 @foo() {
7
entry:
8
ret i32 0
9
}
10
11
...
12
---
13
# CHECK: name: foo
14
name: foo
15
body: |
16
bb.0.entry:
17
; CHECK: $eax = MOV32r0
18
; CHECK-NEXT: RET64 $eax
19
$eax = MOV32r0 implicit-def $eflags
20
RET64 $eax
21
...