[PATCH] D97290: [LoopInterchange] Replace tightly-nesting-ness check with the one from `LoopNest`

Whitney Tsang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 1 09:03:04 PST 2021


Whitney added inline comments.


================
Comment at: llvm/include/llvm/Analysis/LoopNestAnalysis.h:161
+  /// have exactly one subloop and thus the loopnest is "totally-nested".
+  bool isTotallyNested() const {
+    return all_of(make_range(Loops.begin(), std::prev(Loops.end())),
----------------
is `totally-nested` a known term or you come up with it?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D97290/new/

https://reviews.llvm.org/D97290



More information about the llvm-commits mailing list