[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/rem.ll
Chris Lattner
lattner at cs.uiuc.edu
Tue Jul 6 02:39:04 PDT 2004
Changes in directory llvm/test/Regression/Transforms/InstCombine:
rem.ll updated: 1.6 -> 1.7
---
Log message:
New testcase
---
Diffs of the changes: (+6 -0)
Index: llvm/test/Regression/Transforms/InstCombine/rem.ll
diff -u llvm/test/Regression/Transforms/InstCombine/rem.ll:1.6 llvm/test/Regression/Transforms/InstCombine/rem.ll:1.7
--- llvm/test/Regression/Transforms/InstCombine/rem.ll:1.6 Tue Sep 16 10:29:34 2003
+++ llvm/test/Regression/Transforms/InstCombine/rem.ll Tue Jul 6 02:38:00 2004
@@ -19,3 +19,9 @@
%B = rem uint %A, 8 ; & 7
ret uint %B
}
+
+bool %test3(int %A) {
+ %B = rem int %A, -8 ; & 7
+ %C = setne int %B, 0
+ ret bool %C
+}
More information about the llvm-commits
mailing list