[llvm-commits] [llvm] r54164 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

Nate Begeman natebegeman at mac.com
Tue Jul 29 11:28:31 PDT 2008


Author: sampo
Date: Tue Jul 29 13:28:31 2008
New Revision: 54164

URL: http://llvm.org/viewvc/llvm-project?rev=54164&view=rev
Log:
Disable a fix in the previous patch, since it breaks CellSPU.
The CellSPU codegen is broken, but needs to be fixed before we can
put this back in.

Modified:
    llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp?rev=54164&r1=54163&r2=54164&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp Tue Jul 29 13:28:31 2008
@@ -2976,10 +2976,12 @@
     case TargetLowering::Legal: break;
     case TargetLowering::Custom:
       Tmp1 = TLI.LowerOperation(Result, DAG);
-      if (Tmp1.Val) {
+      if (Tmp1.Val) 
+      // FIXME: these braces are correct, but breaks CellSPU codegen.
+      //{
         Result = Tmp1;
         break;
-      }
+      //}
       // Fall through if the custom lower can't deal with the operation
     case TargetLowering::Expand: {
       MVT VT = Op.getValueType();





More information about the llvm-commits mailing list