From 7954a221f3f2d896e39a6ac5f07720b37a2ed7c0 Mon Sep 17 00:00:00 2001 From: Michael Kruse Date: Sun, 3 Sep 2017 16:09:38 +0000 Subject: [PATCH] [ForwardOpTree] Fix typos. NFC. llvm-svn: 312446 --- polly/lib/Transform/ForwardOpTree.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/polly/lib/Transform/ForwardOpTree.cpp b/polly/lib/Transform/ForwardOpTree.cpp index dffd3cb1d55b..894f80970070 100644 --- a/polly/lib/Transform/ForwardOpTree.cpp +++ b/polly/lib/Transform/ForwardOpTree.cpp @@ -410,12 +410,12 @@ public: if (!LI) return FD_NotApplicable; - // If the load is already in the statement, not forwarding is necessary. + // If the load is already in the statement, no forwarding is necessary. // However, it might happen that the LoadInst is already present in the // statement's instruction list. In that case we do as follows: // - For the evaluation (DoIt==false), we can trivially forward it as it is // benefit of forwarding an already present instruction. - // - For the execution (DoIt==false), prepend the instruction (to make it + // - For the execution (DoIt==true), prepend the instruction (to make it // available to all instructions following in the instruction list), but // do not add another MemoryAccess. MemoryAccess *Access = TargetStmt->getArrayAccessOrNULLFor(LI);