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

Chris Lattner lattner at cs.uiuc.edu
Sat Mar 18 22:17:31 PST 2006



Changes in directory llvm/lib/Target/PowerPC:

PPCISelLowering.cpp updated: 1.98 -> 1.99
---
Log message:

PPC doesn't have SCALAR_TO_VECTOR


---
Diffs of the changes:  (+3 -0)

 PPCISelLowering.cpp |    3 +++
 1 files changed, 3 insertions(+)


Index: llvm/lib/Target/PowerPC/PPCISelLowering.cpp
diff -u llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.98 llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.99
--- llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.98	Sat Mar 18 19:13:28 2006
+++ llvm/lib/Target/PowerPC/PPCISelLowering.cpp	Sun Mar 19 00:17:19 2006
@@ -183,6 +183,9 @@
     // the ones we do!
     setOperationAction(ISD::BUILD_VECTOR, MVT::v4f32, Expand);
     setOperationAction(ISD::BUILD_VECTOR, MVT::v4i32, Expand);
+    
+    setOperationAction(ISD::SCALAR_TO_VECTOR, MVT::v4f32, Expand);
+    setOperationAction(ISD::SCALAR_TO_VECTOR, MVT::v4i32, Expand);
   }
   
   setSetCCResultContents(ZeroOrOneSetCCResult);






More information about the llvm-commits mailing list