summaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine/2005-06-15-ShiftSetCCCrash.ll
blob: 64bfec18df6b3d17489adeafce1c4c55a3fc57a1 (plain)
1
2
3
4
5
6
7
8
9
; RUN: llvm-as < %s | opt -instcombine -disable-output
; PR577

define i1 @test() {
        %tmp.3 = shl i32 0, 41          ; <i32> [#uses=1]
        %tmp.4 = icmp ne i32 %tmp.3, 0          ; <i1> [#uses=1]
        ret i1 %tmp.4
}