repo.or.cz
/
llvm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix a globalopt crash on two Adobe-C++ testcases that the recent
[llvm.git]
/
test
/
Transforms
/
SCCP
/
select.ll
blob
b2f1dd2d0f231b35f9b3af3a0b68ee86babfa779
1
; RUN: opt < %s -sccp -S | not grep select
2
3
define i32 @test1(i1 %C) {
4
%X = select i1 %C, i32 0, i32 0 ; <i32> [#uses=1]
5
ret i32 %X
6
}
7
8
define i32 @test2(i1 %C) {
9
%X = select i1 %C, i32 0, i32 undef ; <i32> [#uses=1]
10
ret i32 %X
11
}
12