From cfdbb7caa8b1f1b04029a5ea092f523debd862fa Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 27 Feb 2006 00:20:23 +0000 Subject: [PATCH] new testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26387 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/PowerPC/and-elim.ll | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/CodeGen/PowerPC/and-elim.ll b/test/CodeGen/PowerPC/and-elim.ll index 26bad360fdc..d49672d8ce4 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 +} + -- 2.34.1