[llvm] r292275 - [LoopDeletion] (cleanup, NFC) Remove a pointless comment.
Chandler Carruth via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 17 14:09:28 PST 2017
Date: Tue Jan 17 16:09:28 2017
New Revision: 292275
[LoopDeletion] (cleanup, NFC) Remove a pointless comment.
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.
--- llvm/trunk/lib/Transforms/Scalar/LoopDeletion.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LoopDeletion.cpp Tue Jan 17 16:09:28 2017
@@ -153,8 +153,7 @@ static bool deleteLoopIfDead(Loop *L, Do
// 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
More information about the llvm-commits