The basic fneg cases are already autogen'd

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24592 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-12-04 19:04:38 +00:00
parent 937a79dbe3
commit bead6612a5

View File

@ -1062,10 +1062,8 @@ SDOperand PPCDAGToDAGISel::Select(SDOperand Op) {
Val.getOperand(1), Val.getOperand(2));
}
}
if (Ty == MVT::f32)
return CurDAG->SelectNodeTo(N, PPC::FNEGS, MVT::f32, Val);
else
return CurDAG->SelectNodeTo(N, PPC::FNEGD, MVT::f64, Val);
// Other cases are autogenerated.
break;
}
case ISD::LOAD:
case ISD::EXTLOAD: