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

Chris Lattner lattner at cs.uiuc.edu
Sun Mar 5 15:53:17 PST 2006



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

add.ll updated: 1.29 -> 1.30
---
Log message:

new testcase I forgot to check in earlier


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

 add.ll |    7 +++++++
 1 files changed, 7 insertions(+)


Index: llvm/test/Regression/Transforms/InstCombine/add.ll
diff -u llvm/test/Regression/Transforms/InstCombine/add.ll:1.29 llvm/test/Regression/Transforms/InstCombine/add.ll:1.30
--- llvm/test/Regression/Transforms/InstCombine/add.ll:1.29	Sat Mar  4 00:02:36 2006
+++ llvm/test/Regression/Transforms/InstCombine/add.ll	Sun Mar  5 17:53:04 2006
@@ -220,3 +220,10 @@
 	%D = sub int %C, 20
 	ret int %D
 }
+
+int %test32(int %A) {
+	%B = add int %A, 4
+	%C = shl int %B, ubyte 2
+	%D = sub int %C, 16
+	ret int %D
+}






More information about the llvm-commits mailing list