projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec66515
)
new testcase
author
Chris Lattner
<sabre@nondot.org>
Mon, 27 Feb 2006 00:20:23 +0000
(
00:20
+0000)
committer
Chris 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
patch
|
blob
|
history
diff --git
a/test/CodeGen/PowerPC/and-elim.ll
b/test/CodeGen/PowerPC/and-elim.ll
index 26bad360fdcdaa7b7ef217dfc556cf3ff11ecc56..d49672d8ce4f5b4a28004ffc5b95008f06c937df 100644
(file)
--- 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
+}
+