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

set.ll updated: 1.18 -> 1.19
---
Log message:

new testcases


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

 set.ll |   16 ++++++++++++++++
 1 files changed, 16 insertions(+)


Index: llvm/test/Regression/Transforms/InstCombine/set.ll
diff -u llvm/test/Regression/Transforms/InstCombine/set.ll:1.18 
llvm/test/Regression/Transforms/InstCombine/set.ll:1.19
--- llvm/test/Regression/Transforms/InstCombine/set.ll:1.18     Sat Feb 11 
20:06:31 2006
+++ llvm/test/Regression/Transforms/InstCombine/set.ll  Sun Feb 26 20:36:19 2006
@@ -129,3 +129,19 @@
        %R = or bool %C, %Z
        ret bool %R
 }
+
+int %test23(int %a) {
+        %tmp.1 = and int %a, 1
+        %tmp.2 = seteq int %tmp.1, 0
+        %tmp.3 = cast bool %tmp.2 to int  ;; xor tmp1, 1
+        ret int %tmp.3
+}
+
+int %test24(uint %a) {
+        %tmp1 = and uint %a, 4
+       %tmp.1 = shr uint %tmp1, ubyte 2
+        %tmp.2 = seteq uint %tmp.1, 0
+        %tmp.3 = cast bool %tmp.2 to int  ;; xor tmp1, 1
+        ret int %tmp.3
+}
+



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to