llvm-6502/test/Transforms/InstCombine/2005-03-04-ShiftOverflow.ll
2005-03-04 23:20:46 +00:00

8 lines
209 B
LLVM

; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep 'ret bool false'
bool %test(ulong %tmp.169) {
%tmp.1710 = shr ulong %tmp.169, ubyte 1
%tmp.1912 = setgt ulong %tmp.1710, 0
ret bool %tmp.1912
}