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