1 ; RUN: opt < %s -instcombine -S | grep shl
2 ; END.
3
4 define i1 @test0(i39 %X, i39 %A) {
5 %B = lshr i39 %X, %A
6 %D = trunc i39 %B to i1
7 ret i1 %D
8 }
9
10 define i1 @test1(i799 %X, i799 %A) {
11 %B = lshr i799 %X, %A
12 %D = trunc i799 %B to i1
13 ret i1 %D
14 }
15