llvm-project/llvm/test/Transforms/InstCombine/2005-03-04-ShiftOverflow.ll

8 lines
224 B
LLVM
Raw Normal View History

; RUN: llvm-upgrade < %s | llvm-as | 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
}