[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/div.ll rem.ll
Chris Lattner
lattner at cs.uiuc.edu
Sat Feb 4 23:52:59 PST 2006
Changes in directory llvm/test/Regression/Transforms/InstCombine:
div.ll updated: 1.11 -> 1.12
rem.ll updated: 1.8 -> 1.9
---
Log message:
new testcases
---
Diffs of the changes: (+13 -0)
div.ll | 6 ++++++
rem.ll | 7 +++++++
2 files changed, 13 insertions(+)
Index: llvm/test/Regression/Transforms/InstCombine/div.ll
diff -u llvm/test/Regression/Transforms/InstCombine/div.ll:1.11 llvm/test/Regression/Transforms/InstCombine/div.ll:1.12
--- llvm/test/Regression/Transforms/InstCombine/div.ll:1.11 Sun Dec 12 15:40:22 2004
+++ llvm/test/Regression/Transforms/InstCombine/div.ll Sun Feb 5 01:52:47 2006
@@ -61,3 +61,9 @@
ret uint %R
}
+uint %test10(uint %X, ubyte %B) {
+ %Amt = shl uint 32, ubyte %B
+ %V = div uint %X, %Amt
+ ret uint %V
+}
+
Index: llvm/test/Regression/Transforms/InstCombine/rem.ll
diff -u llvm/test/Regression/Transforms/InstCombine/rem.ll:1.8 llvm/test/Regression/Transforms/InstCombine/rem.ll:1.9
--- llvm/test/Regression/Transforms/InstCombine/rem.ll:1.8 Sun Dec 12 15:40:22 2004
+++ llvm/test/Regression/Transforms/InstCombine/rem.ll Sun Feb 5 01:52:47 2006
@@ -31,3 +31,10 @@
%R = rem uint %X, %V
ret uint %R
}
+
+uint %test5(uint %X, ubyte %B) {
+ %Amt = shl uint 32, ubyte %B
+ %V = rem uint %X, %Amt
+ ret uint %V
+}
+
More information about the llvm-commits
mailing list