repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
X86MCInstLower::Lower should only not emit anything to OutStreamer,
[llvm/avr.git]
/
test
/
Transforms
/
GVN
/
rle-dominated.ll
blob
e86f5929b99b2af081de122afb967a87c2b0cabd
1
; RUN: opt < %s -gvn -S | grep load | count 2
2
3
define i32 @main(i32** %p) {
4
block1:
5
%z = load i32** %p
6
br i1 true, label %block2, label %block3
7
8
block2:
9
%a = load i32** %p
10
br label %block4
11
12
block3:
13
%b = load i32** %p
14
br label %block4
15
16
block4:
17
%c = load i32** %p
18
%d = load i32* %c
19
ret i32 %d
20
}