Fix comment to refer to correct instruction

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142334 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Hal Finkel 2011-10-18 03:51:57 +00:00
parent 0851a29b6d
commit 46bb70cd23

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