[PATCH] D97828: [LoopInterchange] Disallow interchange when memory accesses are guarded by control flow (PR48057)

Whitney Tsang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 7 07:44:20 PST 2021


Whitney added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/LoopInterchange.cpp:1020
 
+  // Check if either outer and inner loop contains instructions guarded by
+  // control flow that have side effects.
----------------
In what scenario, outer loop contains instructions guarded by control flow?
(I assume loop interchange operate on tight loops.)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D97828



More information about the llvm-commits mailing list