[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCISelLowering.cpp

Chris Lattner lattner at cs.uiuc.edu
Wed Apr 5 10:39:38 PDT 2006



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;
   }
 






More information about the llvm-commits mailing list