Fix comment to refer to correct instruction

llvm-svn: 142334
This commit is contained in:
Hal Finkel 2011-10-18 03:51:57 +00:00
parent f43710f4a8
commit 6ce4791f69

View File

@ -2686,7 +2686,7 @@ void SelectionDAGBuilder::visitFPTrunc(const User &I) {
}
void SelectionDAGBuilder::visitFPExt(const User &I){
// FPTrunc is never a no-op cast, no need to check
// FPExt is never a no-op cast, no need to check
SDValue N = getValue(I.getOperand(0));
EVT DestVT = TLI.getValueType(I.getType());
setValue(&I, DAG.getNode(ISD::FP_EXTEND, getCurDebugLoc(), DestVT, N));