YouCompleteMe/cpp/llvm/test/Transforms/InstCombine/2005-06-15-ShiftSetCCCrash.ll

10 lines
222 B
LLVM
Raw Normal View History

2012-07-05 20:51:06 -04:00
; RUN: opt < %s -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
}