mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-14 23:29:51 +00:00
new testcase
llvm-svn: 32210
This commit is contained in:
parent
e0738f8f8b
commit
6da381c3d5
7
test/Regression/Transforms/InstCombine/shl-trunc.ll
Normal file
7
test/Regression/Transforms/InstCombine/shl-trunc.ll
Normal file
@ -0,0 +1,7 @@
|
||||
; 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user