Fix a search+replace-o.
authorDan Gohman <gohman@apple.com>
Fri, 5 Sep 2008 01:58:21 +0000 (01:58 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 5 Sep 2008 01:58:21 +0000 (01:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55824 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/DAGCombiner.cpp

index 71afb27d3049a0c12ba73ca5ce17b9805c5f8035..2d400bdfb2556064642a6e03c81b470474ce4751 100644 (file)
@@ -3491,7 +3491,7 @@ SDValue DAGCombiner::visitBIT_CONVERT(SDNode *N) {
     }
   }
   
-  // If the input is a constant, let Val fold it.
+  // If the input is a constant, let getNode fold it.
   if (isa<ConstantSDNode>(N0) || isa<ConstantFPSDNode>(N0)) {
     SDValue Res = DAG.getNode(ISD::BIT_CONVERT, VT, N0);
     if (Res.getNode() != N) return Res;