llvm-mirror/test/Transforms/InstCombine/2004-09-28-BadShiftAndSetCC.ll
Eric Christopher a62270de2c Revert "Temporarily Revert "Add basic loop fusion pass.""
The reversion apparently deleted the test/Transforms directory.

Will be re-reverting again.

llvm-svn: 358552
2019-04-17 04:52:47 +00:00

10 lines
342 B
LLVM

; RUN: opt < %s -instcombine -S | not grep -- -65536
define i1 @test(i32 %tmp.124) {
%tmp.125 = shl i32 %tmp.124, 8 ; <i32> [#uses=1]
%tmp.126.mask = and i32 %tmp.125, -16777216 ; <i32> [#uses=1]
%tmp.128 = icmp eq i32 %tmp.126.mask, 167772160 ; <i1> [#uses=1]
ret i1 %tmp.128
}