Changes in directory llvm/lib/Target/PowerPC:
PPCISelLowering.cpp updated: 1.131 -> 1.132 --- Log message: Fix CodeGen/PowerPC/2006-04-05-splat-ish.ll --- Diffs of the changes: (+2 -2) PPCISelLowering.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/Target/PowerPC/PPCISelLowering.cpp diff -u llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.131 llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.132 --- llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.131 Wed Apr 5 01:09:26 2006 +++ llvm/lib/Target/PowerPC/PPCISelLowering.cpp Wed Apr 5 12:39:25 2006 @@ -353,8 +353,8 @@ 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; } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits