Fix comment to refer to correct instruction
authorHal Finkel <hfinkel@anl.gov>
Tue, 18 Oct 2011 03:51:57 +0000 (03:51 +0000)
committerHal Finkel <hfinkel@anl.gov>
Tue, 18 Oct 2011 03:51:57 +0000 (03:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142334 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

index 7d76507b589e9b52ef8cd39fd2d15051fc83f068..309b68b33928317bdc3c762b01f3527515f427fe 100644 (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));