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

Chris Lattner lattner at cs.uiuc.edu
Thu Oct 7 20:42:16 PDT 2004



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

add.ll updated: 1.22 -> 1.23
---
Log message:

New testcase


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

Index: llvm/test/Regression/Transforms/InstCombine/add.ll
diff -u llvm/test/Regression/Transforms/InstCombine/add.ll:1.22 llvm/test/Regression/Transforms/InstCombine/add.ll:1.23
--- llvm/test/Regression/Transforms/InstCombine/add.ll:1.22	Wed Sep 29 00:06:12 2004
+++ llvm/test/Regression/Transforms/InstCombine/add.ll	Thu Oct  7 22:41:59 2004
@@ -163,3 +163,9 @@
         ret int %tmp.4
 }
 
+int %test24(int %A) {
+	%B = add int %A, 1
+	%C = shl int %B, ubyte 1
+	%D = sub int %C, 2
+	ret int %D             ;; A << 1
+}






More information about the llvm-commits mailing list