Disable a fix in the previous patch, since it breaks CellSPU.
authorNate Begeman <natebegeman@mac.com>
Tue, 29 Jul 2008 18:28:31 +0000 (18:28 +0000)
committerNate Begeman <natebegeman@mac.com>
Tue, 29 Jul 2008 18:28:31 +0000 (18:28 +0000)
The CellSPU codegen is broken, but needs to be fixed before we can
put this back in.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54164 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

index d8d45d04eb72f5b535363b9228995aea5479656e..8cdfcfa2acfd0c2bf0effbd4b346126dacb71c31 100644 (file)
@@ -2976,10 +2976,12 @@ SDValue SelectionDAGLegalize::LegalizeOp(SDValue Op) {
     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();