[llvm-commits] CVS: llvm/test/Regression/CodeGen/PowerPC/and-elim.ll

Chris Lattner lattner at cs.uiuc.edu
Sun Feb 26 16:20:35 PST 2006



Changes in directory llvm/test/Regression/CodeGen/PowerPC:

and-elim.ll updated: 1.1 -> 1.2
---
Log message:

new testcase


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

 and-elim.ll |    7 +++++++
 1 files changed, 7 insertions(+)


Index: llvm/test/Regression/CodeGen/PowerPC/and-elim.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/and-elim.ll:1.1 llvm/test/Regression/CodeGen/PowerPC/and-elim.ll:1.2
--- llvm/test/Regression/CodeGen/PowerPC/and-elim.ll:1.1	Mon Oct 10 16:21:36 2005
+++ llvm/test/Regression/CodeGen/PowerPC/and-elim.ll	Sun Feb 26 18:20:23 2006
@@ -9,3 +9,10 @@
 	store ubyte %Z, ubyte* %P
 	ret void
 }
+
+ushort %test2(ushort %crc) { ; No and's should be needed for the ushorts here.
+        %tmp.1 = shr ushort %crc, ubyte 1
+        %tmp.7 = xor ushort %tmp.1, 40961
+        ret ushort %tmp.7
+}
+






More information about the llvm-commits mailing list