mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-30 16:53:02 +00:00
Fix CodeGen/PowerPC/2006-04-05-splat-ish.ll
llvm-svn: 27439
This commit is contained in:
parent
e4a7c4ecc2
commit
d1b47b18ed
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user