[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/div.ll rem.ll
Chris Lattner
lattner at cs.uiuc.edu
Sun Dec 12 13:40:35 PST 2004
Changes in directory llvm/test/Regression/Transforms/InstCombine:
div.ll updated: 1.10 -> 1.11
rem.ll updated: 1.7 -> 1.8
---
Log message:
Add testcases for simple things we can handle that occur now in vortex.
---
Diffs of the changes: (+12 -0)
Index: llvm/test/Regression/Transforms/InstCombine/div.ll
diff -u llvm/test/Regression/Transforms/InstCombine/div.ll:1.10 llvm/test/Regression/Transforms/InstCombine/div.ll:1.11
--- llvm/test/Regression/Transforms/InstCombine/div.ll:1.10 Wed Sep 29 12:37:07 2004
+++ llvm/test/Regression/Transforms/InstCombine/div.ll Sun Dec 12 15:40:22 2004
@@ -55,3 +55,9 @@
ret bool %C
}
+uint %test10(uint %X, bool %C) {
+ %V = select bool %C, uint 64, uint 8
+ %R = div uint %X, %V
+ ret uint %R
+}
+
Index: llvm/test/Regression/Transforms/InstCombine/rem.ll
diff -u llvm/test/Regression/Transforms/InstCombine/rem.ll:1.7 llvm/test/Regression/Transforms/InstCombine/rem.ll:1.8
--- llvm/test/Regression/Transforms/InstCombine/rem.ll:1.7 Tue Jul 6 02:38:00 2004
+++ llvm/test/Regression/Transforms/InstCombine/rem.ll Sun Dec 12 15:40:22 2004
@@ -25,3 +25,9 @@
%C = setne int %B, 0
ret bool %C
}
+
+uint %test4(uint %X, bool %C) {
+ %V = select bool %C, uint 1, uint 8
+ %R = rem uint %X, %V
+ ret uint %R
+}
More information about the llvm-commits
mailing list