[ForwardOpTree] Fix typos. NFC.

llvm-svn: 312446
This commit is contained in:
Michael Kruse 2017-09-03 16:09:38 +00:00
parent 661beccdd9
commit 7954a221f3
1 changed files with 2 additions and 2 deletions

View File

@ -410,12 +410,12 @@ public:
if (!LI) if (!LI)
return FD_NotApplicable; 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 // However, it might happen that the LoadInst is already present in the
// statement's instruction list. In that case we do as follows: // statement's instruction list. In that case we do as follows:
// - For the evaluation (DoIt==false), we can trivially forward it as it is // - For the evaluation (DoIt==false), we can trivially forward it as it is
// benefit of forwarding an already present instruction. // 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 // available to all instructions following in the instruction list), but
// do not add another MemoryAccess. // do not add another MemoryAccess.
MemoryAccess *Access = TargetStmt->getArrayAccessOrNULLFor(LI); MemoryAccess *Access = TargetStmt->getArrayAccessOrNULLFor(LI);