projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix another bug, this time in PREing select instructions.
[oota-llvm.git]
/
test
/
Transforms
/
GVNPRE
/
cast.ll
1
; RUN: llvm-as < %s | opt -gvnpre | llvm-dis | grep b.gvnpre
2
3
define i32 @extract() {
4
entry: ; preds = %cond_false, %entry
5
br i1 true, label %cond_true, label %cond_false
6
7
cond_true:
8
br label %end
9
10
cond_false:
11
%a = sext i16 0 to i32
12
br label %end
13
14
end:
15
%b = sext i16 0 to i32
16
ret i32 %b
17
}