new testcase
authorChris Lattner <sabre@nondot.org>
Mon, 27 Feb 2006 00:20:23 +0000 (00:20 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 27 Feb 2006 00:20:23 +0000 (00:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26387 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/PowerPC/and-elim.ll

index 26bad360fdcdaa7b7ef217dfc556cf3ff11ecc56..d49672d8ce4f5b4a28004ffc5b95008f06c937df 100644 (file)
@@ -9,3 +9,10 @@ void %test(ubyte* %P) {
        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
+}
+