commit | cfdbb7caa8b1f1b04029a5ea092f523debd862fa | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Mon Feb 27 00:20:23 2006 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Mon Feb 27 00:20:23 2006 +0000 |
tree | 62e189eda7c0097294095d650627866fd057e884 | |
parent | ec665151b891bf59d7c7c6cab180a978e2c20265 [diff] [blame] |
new testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26387 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/PowerPC/and-elim.ll b/test/CodeGen/PowerPC/and-elim.ll index 26bad36..d49672d 100644 --- a/test/CodeGen/PowerPC/and-elim.ll +++ b/test/CodeGen/PowerPC/and-elim.ll
@@ -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 +} +