From f63dfd8f897052354572e7d810d07a65ab7c09cc Mon Sep 17 00:00:00 2001 From: Michael Kruse Date: Mon, 24 Jul 2017 12:39:46 +0000 Subject: [PATCH] [ForwardOpTree] Fix mixup in comment. NFC. The cases DoIt==false and DoIt==true were mixed up. Thanks to Siddharth for noticing. git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@308874 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transform/ForwardOpTree.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Transform/ForwardOpTree.cpp b/lib/Transform/ForwardOpTree.cpp index a99b513a..e0fd5781 100644 --- a/lib/Transform/ForwardOpTree.cpp +++ b/lib/Transform/ForwardOpTree.cpp @@ -104,8 +104,8 @@ private: /// DoIt==true if an operand tree is not known to be /// forwardable. /// - /// @return When DoIt==true, return whether the operand tree can be forwarded. - /// When DoIt==false, return FD_DidForward. + /// @return If DoIt==false, return whether the operand tree can be forwarded. + /// If DoIt==true, return FD_DidForward. ForwardingDecision canForwardTree(ScopStmt *TargetStmt, Value *UseVal, ScopStmt *UseStmt, Loop *UseLoop, bool DoIt) { -- 2.11.4.GIT