[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/add.ll
Chris Lattner
lattner at cs.uiuc.edu
Sat Apr 10 17:02:01 PDT 2004
Changes in directory llvm/test/Regression/Transforms/InstCombine:
add.ll updated: 1.18 -> 1.19
---
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.18 llvm/test/Regression/Transforms/InstCombine/add.ll:1.19
--- llvm/test/Regression/Transforms/InstCombine/add.ll:1.18 Fri Apr 9 18:47:52 2004
+++ llvm/test/Regression/Transforms/InstCombine/add.ll Sat Apr 10 17:01:27 2004
@@ -123,4 +123,10 @@
ret int %V
}
+int %test20(int %x) {
+ %tmp.2 = xor int %x, -2147483648
+ ;; Add of sign bit -> xor of sign bit.
+ %tmp.4 = add int %tmp.2, -2147483648
+ ret int %tmp.4
+}
More information about the llvm-commits
mailing list