mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Testcase for an instcombine miscompilation reduced by Anton.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33590 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4a29c48b01
commit
2064287934
8
test/Transforms/InstCombine/2007-01-27-AndICmp.ll
Normal file
8
test/Transforms/InstCombine/2007-01-27-AndICmp.ll
Normal file
@ -0,0 +1,8 @@
|
||||
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep "ugt.*, 1"
|
||||
|
||||
define i1 @test(i32 %tmp1030) {
|
||||
%tmp1037 = icmp ne i32 %tmp1030, 40 ; <i1> [#uses=1]
|
||||
%tmp1039 = icmp ne i32 %tmp1030, 41 ; <i1> [#uses=1]
|
||||
%tmp1042 = and i1 %tmp1037, %tmp1039 ; <i1> [#uses=1]
|
||||
ret i1 %tmp1042
|
||||
}
|
Loading…
Reference in New Issue
Block a user