[PATCH] D50377: [MustExecute] Rework LoopSafetyInfo to make it more optimistic about throws

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 20 21:42:33 PDT 2018


mkazantsev added inline comments.


================
Comment at: include/llvm/Analysis/MustExecute.h:88
 /// once (under the assumption that the loop is entered).
+/// TODO: Remove the function, call SafetyInfi->mustExecuteInLoop instead.
 bool isGuaranteedToExecute(const Instruction &Inst, const DominatorTree *DT,
----------------
Infi -> Info


https://reviews.llvm.org/D50377





More information about the llvm-commits mailing list