Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
bc7daea442ac1baa91f707a9678261ebc2b68673
/
.
/
llvm
/
test
/
Regression
/
Transforms
/
InstCombine
/
2004-08-09-RemInfLoop.llx
blob: 1ed6054c21b0c9071878649f60b153f87326022b [
file
] [
log
] [
blame
]
Chris Lattner
cf5dd04
2004-08-09 21:03:35 +0000
[
diff
] [
blame
]
1
;
RUN
:
llvm
-
as
<
%
s
|
opt
-
instcombine
2
3
;
This
testcase should
not
send the instcombiner
into
an infinite loop
!
4
5
int
%
test
(
int
%
X
)
{
6
%
Y
=
rem
int
%
X
,
0
7
ret
int
%
Y
8
}