Sign in
swiftshader
/
SwiftShader.git
/
8f20452b0219dece19a9875bd11c04437a7e3cd4
/
.
/
third_party
/
LLVM
/
test
/
Transforms
/
SCCP
/
select.ll
blob: 1cd5a8b7469486c51ac7774adb619b82063d1d21 [
file
] [
log
] [
blame
]
; RUN: opt < %s -sccp -S | not grep select
define
i32
@test1
(
i1
%C
)
{
%X
=
select
i1
%C
,
i32
0
,
i32
0
; <i32> [#uses=1]
ret
i32
%X
}
define
i32
@test2
(
i1
%C
)
{
%X
=
select
i1
%C
,
i32
0
,
i32
undef
; <i32> [#uses=1]
ret
i32
%X
}