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
This commit is contained in:
Nate Begeman 2008-07-29 18:28:31 +00:00
parent 873bd8497a
commit d63495ff25
1 changed files with 4 additions and 2 deletions

View 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();