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
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
MIR
/
X86
/
machine-instructions.mir
blob
38d80ebf304ab77beebbb0ae450450beeda7d35b
1
# RUN: llc -march=x86-64 -run-pass none -o - %s | FileCheck %s
2
# This test ensures that the MIR parser parses X86 machine instructions
3
# correctly.
4
5
--- |
6
7
define i32 @inc(i32 %a) {
8
entry:
9
%b = mul i32 %a, 11
10
ret i32 %b
11
}
12
13
...
14
---
15
# CHECK: name: inc
16
name: inc
17
body: |
18
bb.0.entry:
19
; CHECK: MOV32rr
20
; CHECK-NEXT: RET64
21
$eax = MOV32rr $eax
22
RET64 $eax
23
...