aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/InstCombine/2007-01-27-AndICmp.ll
blob: 7175c1a5d5c3fe8570513b32b9a4860a019b8eae (plain)
1
2
3
4
5
6
7
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
}