Sign in
ara-mdk
/
platform
/
external
/
llvm
/
238bb0fd7d8cfbfca4918de5b6103c3f3e1808e0
/
.
/
test
/
Transforms
/
InstCombine
/
2007-06-21-DivCompareMiscomp.ll
blob: b2b04d6bd2f79563a7757a1bc01b358b2b1c5112 [
file
] [
log
] [
blame
]
; RUN: opt < %s -instcombine -S | grep "ret i1 true"
; rdar://5278853
define
i1
@test
(
i32
%tmp468
)
{
%tmp470
=
udiv
i32
%tmp468
,
4
; <i32> [#uses=2]
%tmp475
=
icmp
ult
i32
%tmp470
,
1073741824
; <i1> [#uses=1]
ret
i1
%tmp475
}