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
[InstCombine] Signed saturation patterns
[llvm-complete.git]
/
test
/
CodeGen
/
MIR
/
Generic
/
register-info.mir
blob
84a6125abe883d8ae39f285ad5d574083a58c4a1
1
# RUN: llc -run-pass none -o - %s | FileCheck %s
2
# This test ensures that the MIR parser parses machine register info properties
3
# correctly.
4
5
--- |
6
7
define i32 @foo() {
8
entry:
9
ret i32 0
10
}
11
12
define i32 @bar() {
13
start:
14
ret i32 0
15
}
16
17
...
18
---
19
# CHECK: name: foo
20
# CHECK: tracksRegLiveness: false
21
# CHECK: ...
22
name: foo
23
...
24
---
25
# CHECK: name: bar
26
# CHECK: tracksRegLiveness: true
27
# CHECK: ...
28
name: bar
29
tracksRegLiveness: true
30
...