mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32210 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e13ab2a9a1
commit
4d7bd8fe6f
7
test/Transforms/InstCombine/shl-trunc.ll
Normal file
7
test/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…
x
Reference in New Issue
Block a user