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

Chris Lattner sabre at nondot.org
Sun Apr 1 22:35:25 PDT 2007



Changes in directory llvm/test/Transforms/InstCombine:

xor.ll updated: 1.20 -> 1.21
---
Log message:

creative way to add one.


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

 xor.ll |    6 ++++++
 1 files changed, 6 insertions(+)


Index: llvm/test/Transforms/InstCombine/xor.ll
diff -u llvm/test/Transforms/InstCombine/xor.ll:1.20 llvm/test/Transforms/InstCombine/xor.ll:1.21
--- llvm/test/Transforms/InstCombine/xor.ll:1.20	Fri Jan 26 02:25:06 2007
+++ llvm/test/Transforms/InstCombine/xor.ll	Mon Apr  2 00:35:08 2007
@@ -190,3 +190,9 @@
         ret int %tmp6
 }
 
+int %test28(int %indvar) {
+        %tmp7 = add int %indvar, -2147483647
+        %tmp214 = xor int %tmp7, -2147483648
+        ret int %tmp214
+}
+






More information about the llvm-commits mailing list