Fix an assert compiling MallocBench/gs

llvm-svn: 24017
This commit is contained in:
Chris Lattner 2005-10-26 18:01:11 +00:00
parent b1f2cedbaa
commit f718a9e17b
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ SDOperand PPCTargetLowering::LowerOperation(SDOperand Op, SelectionDAG &DAG) {
if (LHS.getValueType() == MVT::f32) // Comparison is always 64-bits
LHS = DAG.getNode(ISD::FP_EXTEND, MVT::f64, LHS);
return DAG.getNode(PPCISD::FSEL, ResVT,
DAG.getNode(ISD::FNEG, ResVT, LHS), TV, FV);
DAG.getNode(ISD::FNEG, MVT::f64, LHS), TV, FV);
}
SDOperand Cmp;