[llvm] r309673 - [PostDom] Fix typo in comment [NFC]
Tobias Grosser via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 1 04:01:28 PDT 2017
Author: grosser
Date: Tue Aug 1 04:01:28 2017
New Revision: 309673
URL: http://llvm.org/viewvc/llvm-project?rev=309673&view=rev
Log:
[PostDom] Fix typo in comment [NFC]
Modified:
llvm/trunk/include/llvm/Support/GenericDomTreeConstruction.h
Modified: llvm/trunk/include/llvm/Support/GenericDomTreeConstruction.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/GenericDomTreeConstruction.h?rev=309673&r1=309672&r2=309673&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/GenericDomTreeConstruction.h (original)
+++ llvm/trunk/include/llvm/Support/GenericDomTreeConstruction.h Tue Aug 1 04:01:28 2017
@@ -151,7 +151,7 @@ struct SemiNCAInfo {
for (const NodePtr Succ : ChildrenGetter<NodePtr, IsPostDom>::Get(BB)) {
const auto SIT = NodeToInfo.find(Succ);
// Don't visit nodes more than once but remember to collect
- // RerverseChildren.
+ // ReverseChildren.
if (SIT != NodeToInfo.end() && SIT->second.DFSNum != 0) {
if (Succ != BB) SIT->second.ReverseChildren.push_back(BB);
continue;
More information about the llvm-commits
mailing list