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

Evan Cheng evan.cheng at apple.com
Tue Apr 4 23:09:39 PDT 2006



Changes in directory llvm/lib/Target/PowerPC:

PPCISelLowering.cpp updated: 1.130 -> 1.131
---
Log message:

Fallthrough to expand if a VECTOR_SHUFFLE cannot be custom lowered.

---
Diffs of the changes:  (+1 -1)

 PPCISelLowering.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Target/PowerPC/PPCISelLowering.cpp
diff -u llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.130 llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.131
--- llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.130	Tue Apr  4 17:28:35 2006
+++ llvm/lib/Target/PowerPC/PPCISelLowering.cpp	Wed Apr  5 01:09:26 2006
@@ -757,7 +757,7 @@
         (PPC::isSplatShuffleMask(PermMask.Val, 1) ||
          PPC::isSplatShuffleMask(PermMask.Val, 2) ||
          PPC::isSplatShuffleMask(PermMask.Val, 4)))
-      break;
+      return Op;
     
     // TODO: Handle more cases, and also handle cases that are cheaper to do as
     // multiple such instructions than as a constant pool load/vperm pair.






More information about the llvm-commits mailing list