diff options
author | Chris Lattner <sabre@nondot.org> | 2006-02-27 00:20:23 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-02-27 00:20:23 +0000 |
commit | cfdbb7caa8b1f1b04029a5ea092f523debd862fa (patch) | |
tree | 62e189eda7c0097294095d650627866fd057e884 | |
parent | ec665151b891bf59d7c7c6cab180a978e2c20265 (diff) |
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26387 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/PowerPC/and-elim.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/PowerPC/and-elim.ll b/test/CodeGen/PowerPC/and-elim.ll index 26bad360fd..d49672d8ce 100644 --- a/test/CodeGen/PowerPC/and-elim.ll +++ b/test/CodeGen/PowerPC/and-elim.ll @@ -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 +} + |