[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/2004-12-08-RemInfiniteLoop.ll

Chris Lattner lattner at cs.uiuc.edu
Wed Dec 8 14:18:50 PST 2004



Changes in directory llvm/test/Regression/Transforms/InstCombine:

2004-12-08-RemInfiniteLoop.ll added (r1.1)
---
Log message:

This testcase causes the instruction combiner to go spiraling into 
an infinite loop.


---
Diffs of the changes:  (+6 -0)

Index: llvm/test/Regression/Transforms/InstCombine/2004-12-08-RemInfiniteLoop.ll
diff -c /dev/null llvm/test/Regression/Transforms/InstCombine/2004-12-08-RemInfiniteLoop.ll:1.1
*** /dev/null	Wed Dec  8 16:18:46 2004
--- llvm/test/Regression/Transforms/InstCombine/2004-12-08-RemInfiniteLoop.ll	Wed Dec  8 16:18:35 2004
***************
*** 0 ****
--- 1,6 ----
+ ; RUN: llvm-as < %s | opt -instcombine
+ 
+ int %test(int %X) {
+ 	%Y = rem int %X, undef
+ 	ret int %Y
+ }






More information about the llvm-commits mailing list