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
[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
Hexagon
/
duplex-addi-global-imm.mir
blob
6cb425758746cfb2ab2e4a31f123aea58045e5f4
1
# RUN: llc -march=hexagon -start-after if-converter %s -o - | FileCheck %s
2
# This used to crash.
3
# CHECK: add(r0,##g)
4
5
--- |
6
@g = global i32 0
7
define void @fred() {
8
ret void
9
}
10
...
11
12
---
13
name: fred
14
tracksRegLiveness: true
15
16
body: |
17
bb.0:
18
liveins: $r0
19
$r0 = A2_addi $r0, @g
20
$r1 = A2_tfrsi 0
21
...
22