Sign in
swiftshader
/
SwiftShader
/
720aec1cd6ebf4c4d74326c5faaddd57ee351609
/
.
/
third_party
/
LLVM
/
test
/
Transforms
/
InstSimplify
/
2011-01-14-Thread.ll
blob: 8fc4dc5d5bb7aaaf4b01bbf6e217e9e9836159c2 [
file
] [
log
] [
blame
]
; RUN: opt < %s -instsimplify -S | FileCheck %s
define
i32
@shift_select
(
i1
%cond
)
{
; CHECK: @shift_select
%s
=
select
i1
%cond
,
i32
0
,
i32
1
%r
=
lshr
i32
%s
,
1
ret
i32
%r
; CHECK: ret i32 0
}