Sign in
swiftshader
/
SwiftShader
/
0ccc71d2da022e0f1bf2e1d5145512960b5db016
/
.
/
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
}