summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2008-07-29 18:28:31 +0000
committerNate Begeman <natebegeman@mac.com>2008-07-29 18:28:31 +0000
commitd63495ff2564cd4627e66916d808d9f7a658d4bf (patch)
tree04614ac4cba48b50e8a170b3eb0408153e448f83 /llvm/lib
parent873bd8497a610ef8174c7516b6ea08d63808bf74 (diff)
downloadbcm5719-llvm-d63495ff2564cd4627e66916d808d9f7a658d4bf.tar.gz
bcm5719-llvm-d63495ff2564cd4627e66916d808d9f7a658d4bf.zip
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. llvm-svn: 54164
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index d8d45d04eb7..8cdfcfa2acf 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/llvm/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();
OpenPOWER on IntegriCloud