[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/2004-08-09-RemInfLoop.llx
Chris Lattner
lattner at cs.uiuc.edu
Mon Aug 9 14:03:45 PDT 2004
Changes in directory llvm/test/Regression/Transforms/InstCombine:
2004-08-09-RemInfLoop.llx added (r1.1)
---
Log message:
New testcase
---
Diffs of the changes: (+8 -0)
Index: llvm/test/Regression/Transforms/InstCombine/2004-08-09-RemInfLoop.llx
diff -c /dev/null llvm/test/Regression/Transforms/InstCombine/2004-08-09-RemInfLoop.llx:1.1
*** /dev/null Mon Aug 9 16:03:45 2004
--- llvm/test/Regression/Transforms/InstCombine/2004-08-09-RemInfLoop.llx Mon Aug 9 16:03:35 2004
***************
*** 0 ****
--- 1,8 ----
+ ; RUN: llvm-as < %s | opt -instcombine
+
+ ; This testcase should not send the instcombiner into an infinite loop!
+
+ int %test(int %X) {
+ %Y = rem int %X, 0
+ ret int %Y
+ }
More information about the llvm-commits
mailing list