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:
220c100
)
Fix CodeGen/PowerPC/2006-04-05-splat-ish.ll
author
Chris Lattner
<sabre@nondot.org>
Wed, 5 Apr 2006 17:39:25 +0000
(17:39 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 5 Apr 2006 17:39:25 +0000
(17:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27439
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCISelLowering.cpp
b/lib/Target/PowerPC/PPCISelLowering.cpp
index ba4b9ea4c937d39bd1545677532955ed1794c4a3..8cf705291110fe4925c8b18e7b52a566712d227a 100644
(file)
--- a/
lib/Target/PowerPC/PPCISelLowering.cpp
+++ b/
lib/Target/PowerPC/PPCISelLowering.cpp
@@
-353,8
+353,8
@@
bool PPC::isVecSplatImm(SDNode *N, unsigned ByteSize, char *Val) {
ValSizeInBytes >>= 1;
// If the top half equals the bottom half, we're still ok.
- if (((Value >> (ValSizeInBytes*8)) & (
1 << (8*ValSizeInBytes
)-1)) !=
- (Value & (
1 << (8*ValSizeInBytes
)-1)))
+ if (((Value >> (ValSizeInBytes*8)) & (
(1 << (8*ValSizeInBytes)
)-1)) !=
+ (Value & (
(1 << (8*ValSizeInBytes)
)-1)))
return false;
}