[PATCH] D50888: [NFC][LICM] Remove too conservative variable

Fedor Sergeev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 17 06:04:08 PDT 2018


fedor.sergeev added inline comments.


================
Comment at: lib/Transforms/Scalar/LICM.cpp:464
+    // mem-writing operations in every block, e.g. using something similar to
+    // isGuaranteedToExecute.
     bool IsMemoryNotModified = CurLoop->getHeader() == BB;
----------------
Since you are going to remove isGuaranteedToExecute perhaps mention something else here?
Or just drop the reference.


https://reviews.llvm.org/D50888





More information about the llvm-commits mailing list