[PATCH] D63885: [LOOPINFO] Introduce the loop guard API.
Michael Kruse via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 15 11:52:20 PDT 2019
Meinersbur added inline comments.
================
Comment at: llvm/lib/Analysis/LoopInfo.cpp:418-419
+ // loops.
+ if (!Succ->getUniqueSuccessor())
+ return true;
+
----------------
With this added, we don't need a DominatorTree anymore. Any guard will directly branch into the header (or a series of unconditional branches such as the preheader).
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63885/new/
https://reviews.llvm.org/D63885
More information about the llvm-commits
mailing list