diff options
| author | Nate Begeman <natebegeman@mac.com> | 2008-07-29 18:28:31 +0000 |
|---|---|---|
| committer | Nate Begeman <natebegeman@mac.com> | 2008-07-29 18:28:31 +0000 |
| commit | e5493112eabf9297fa39a4c959303c90b2fbda22 (patch) | |
| tree | c6606d2bb28f15c1787c637208f397a6093e7854 /lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | |
| parent | bb1ce94fe83d9d97f9dcd1e6f8943bc4a0b2e63c (diff) | |
| download | external_llvm-e5493112eabf9297fa39a4c959303c90b2fbda22.zip external_llvm-e5493112eabf9297fa39a4c959303c90b2fbda22.tar.gz external_llvm-e5493112eabf9297fa39a4c959303c90b2fbda22.tar.bz2 | |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54164 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/LegalizeDAG.cpp')
| -rw-r--r-- | lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index d8d45d0..8cdfcfa 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp @@ -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(); |
