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
/
lpre-basic.ll
blob
41b51806cd462ab819e2cd54fa234f111135b517
1
; RUN: opt < %s -gvn -enable-load-pre -S | grep {%PRE = phi}
2
3
define i32 @test(i32* %p, i1 %C) {
4
block1:
5
br i1 %C, label %block2, label %block3
6
7
block2:
8
br label %block4
9
10
block3:
11
%b = bitcast i32 0 to i32
12
store i32 %b, i32* %p
13
br label %block4
14
15
block4:
16
%PRE = load i32* %p
17
ret i32 %PRE
18
}