[llvm-commits] [release_13] CVS: llvm/test/Regression/Transforms/InstCombine/2004-08-09-RemInfLoop.llx
John Criswell
criswell at cs.uiuc.edu
Mon Aug 9 14:34:03 PDT 2004
Changes in directory llvm/test/Regression/Transforms/InstCombine:
2004-08-09-RemInfLoop.llx added (r1.1.2.1)
---
Log message:
Merged in new regression test.
---
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.2.1
*** /dev/null Mon Aug 9 16:34:03 2004
--- llvm/test/Regression/Transforms/InstCombine/2004-08-09-RemInfLoop.llx Mon Aug 9 16:33:52 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