]> granicus.if.org Git - llvm/commitdiff
Comment fix in SelectionDAG.h
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>
Wed, 29 Nov 2017 09:16:37 +0000 (09:16 +0000)
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>
Wed, 29 Nov 2017 09:16:37 +0000 (09:16 +0000)
   /// Replace any uses of From with To, leaving
-  /// uses of other values produced by From.Val alone.
+  /// uses of other values produced by From.getNode() alone.
   void ReplaceAllUsesOfValueWith(SDValue From, SDValue To);

(this is what it says in the .cpp file above this method)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319301 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/SelectionDAG.h

index 9e41824145240f7427fecb46489285c683cf61c3..82f507e64b9e11953b5543cda93edf418644d8ae 100644 (file)
@@ -1247,7 +1247,7 @@ public:
   void ReplaceAllUsesWith(SDNode *From, const SDValue *To);
 
   /// Replace any uses of From with To, leaving
-  /// uses of other values produced by From.Val alone.
+  /// uses of other values produced by From.getNode() alone.
   void ReplaceAllUsesOfValueWith(SDValue From, SDValue To);
 
   /// Like ReplaceAllUsesOfValueWith, but for multiple values at once.