[LLVMdev] Legalizing types: when do operands get updated?

Duncan Sands baldrick at free.fr
Wed Nov 19 07:21:59 PST 2008


This seems to fix it:

Index: llvm/lib/Target/CellSPU/SPUISelLowering.cpp
===================================================================
--- llvm.orig/lib/Target/CellSPU/SPUISelLowering.cpp	2008-11-19 16:18:16.000000000 +0100
+++ llvm/lib/Target/CellSPU/SPUISelLowering.cpp	2008-11-19 16:18:27.000000000 +0100
@@ -159,7 +159,7 @@
   setOperationAction(ISD::ConstantFP, MVT::f64, Custom);
 
   // SPU's loads and stores have to be custom lowered:
-  for (unsigned sctype = (unsigned) MVT::i1; sctype < (unsigned) MVT::f128;
+  for (unsigned sctype = (unsigned) MVT::i8; sctype < (unsigned) MVT::f128;
        ++sctype) {
     MVT VT = (MVT::SimpleValueType)sctype;
 



More information about the llvm-dev mailing list