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

Chris Lattner lattner at cs.uiuc.edu
Thu Dec 22 21:13:47 PST 2005



Changes in directory llvm/lib/Target/PowerPC:

PPCISelLowering.cpp updated: 1.53 -> 1.54
---
Log message:

make sure bit_converts are expanded


---
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.53 llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.54
--- llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.53	Thu Dec 22 18:59:59 2005
+++ llvm/lib/Target/PowerPC/PPCISelLowering.cpp	Thu Dec 22 23:13:35 2005
@@ -88,6 +88,9 @@
   setOperationAction(ISD::SINT_TO_FP, MVT::i32, Expand);
   setOperationAction(ISD::UINT_TO_FP, MVT::i32, Expand);
 
+  setOperationAction(ISD::BIT_CONVERT, MVT::f32, Expand);
+  setOperationAction(ISD::BIT_CONVERT, MVT::i32, Expand);
+
   // PowerPC does not have truncstore for i1.
   setOperationAction(ISD::TRUNCSTORE, MVT::i1, Promote);
 






More information about the llvm-commits mailing list