mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-24 07:35:04 +00:00
Add a test case for PR1271 (necessary, but not sufficient).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35343 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
55702aaa52
commit
9031aca96b
9
test/Transforms/InstCombine/2007-03-25-DoubleShift.ll
Normal file
9
test/Transforms/InstCombine/2007-03-25-DoubleShift.ll
Normal file
@ -0,0 +1,9 @@
|
||||
; PR1271
|
||||
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep and
|
||||
define i1 @test(i32 %tmp13) {
|
||||
entry:
|
||||
%tmp14 = shl i32 %tmp13, 12 ; <i32> [#uses=1]
|
||||
%tmp15 = lshr i32 %tmp14, 12 ; <i32> [#uses=1]
|
||||
%res = icmp ne i32 %tmp15, 0 ; <i1>:3 [#uses=1]
|
||||
ret i1 %res
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user