From 66c54414e37699db442c1766c00eeb2a4746a5c0 Mon Sep 17 00:00:00 2001 From: Jonas Paulsson Date: Wed, 29 Nov 2017 09:16:37 +0000 Subject: [PATCH] Comment fix in SelectionDAG.h /// 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) llvm-svn: 319301 --- llvm/include/llvm/CodeGen/SelectionDAG.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/include/llvm/CodeGen/SelectionDAG.h b/llvm/include/llvm/CodeGen/SelectionDAG.h index 9e41824..82f507e 100644 --- a/llvm/include/llvm/CodeGen/SelectionDAG.h +++ b/llvm/include/llvm/CodeGen/SelectionDAG.h @@ -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. -- 2.7.4