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
pass machinemoduleinfo down into getSymbolForDwarfGlobalReference,
[llvm/avr.git]
/
test
/
Transforms
/
GVN
/
rle-nonlocal.ll
blob
51b89867a15a8f269d2e958953ba89fcf3a15cc5
1
; RUN: opt < %s -gvn -S | grep {%DEAD = phi i32. }
2
3
define i32 @main(i32** %p) {
4
block1:
5
br i1 true, label %block2, label %block3
6
7
block2:
8
%a = load i32** %p
9
br label %block4
10
11
block3:
12
%b = load i32** %p
13
br label %block4
14
15
block4:
16
%DEAD = load i32** %p
17
%c = load i32* %DEAD
18
ret i32 %c
19
}