[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/sub.ll

Chris Lattner lattner at cs.uiuc.edu
Wed Oct 6 08:08:09 PDT 2004



Changes in directory llvm/test/Regression/Transforms/InstCombine:

sub.ll updated: 1.17 -> 1.18
---
Log message:

New testcase


---
Diffs of the changes:  (+6 -0)

Index: llvm/test/Regression/Transforms/InstCombine/sub.ll
diff -u llvm/test/Regression/Transforms/InstCombine/sub.ll:1.17 llvm/test/Regression/Transforms/InstCombine/sub.ll:1.18
--- llvm/test/Regression/Transforms/InstCombine/sub.ll:1.17	Tue Jul  6 02:00:11 2004
+++ llvm/test/Regression/Transforms/InstCombine/sub.ll	Wed Oct  6 10:07:56 2004
@@ -99,3 +99,9 @@
 	%D = rem int %B, %C   ;; X % -Y === X % Y
 	ret int %D
 }
+
+int %test16(int %A) {
+	%X = div int %A, 1123
+	%Y = sub int 0, %X
+	ret int %Y
+}






More information about the llvm-commits mailing list