Sign in
swiftshader
/
SwiftShader
/
98e6b968bfc1fe6fd301b517876c9d6815836163
/
.
/
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
}