llvm-6502/test/Transforms/InstCombine/shl-trunc.ll
Chris Lattner 4d7bd8fe6f new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32210 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-05 01:29:01 +00:00

8 lines
163 B
LLVM

; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep shl
bool %test(int %X, ubyte %A) {
%B = lshr int %X, ubyte %A
%D = trunc int %B to bool
ret bool %D
}