projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
rename *.llx -> *.ll, last batch.
[oota-llvm.git]
/
test
/
Transforms
/
InstCombine
/
2004-08-09-RemInfLoop.ll
1
; RUN: llvm-as < %s | opt -instcombine
2
3
; This testcase should not send the instcombiner into an infinite loop!
4
5
define i32 @test(i32 %X) {
6
%Y = srem i32 %X, 0 ; <i32> [#uses=1]
7
ret i32 %Y
8
}
9