]> granicus.if.org Git - llvm/commitdiff
[LoopDeletion] (cleanup, NFC) Remove a pointless comment.
authorChandler Carruth <chandlerc@gmail.com>
Tue, 17 Jan 2017 22:09:28 +0000 (22:09 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 17 Jan 2017 22:09:28 +0000 (22:09 +0000)
I hope that for any code, it is changed only with good reason and only
when the author knows what they are doing...

There is of course good reason to comment here about the subtlety of the
process, and I've left that comment in tact.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292275 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/LoopDeletion.cpp

index bd9efb7ceb2da0cbfc5643793d52bfec179db75a..e572d9b00da4e2ef99206890356db843b522e608 100644 (file)
@@ -153,8 +153,7 @@ static bool deleteLoopIfDead(Loop *L, DominatorTree &DT, ScalarEvolution &SE,
   // branch from the preheader to go to the single exit block.
   //
   // Because we're deleting a large chunk of code at once, the sequence in which
-  // we remove things is very important to avoid invalidation issues.  Don't
-  // mess with this unless you have good reason and know what you're doing.
+  // we remove things is very important to avoid invalidation issues.
 
   // Tell ScalarEvolution that the loop is deleted. Do this before
   // deleting the loop so that ScalarEvolution can look at the loop