[PATCH] D118102: [LoopInterchange] Detect output dependency of a store instruction with itself

Congzhe Cao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 2 20:33:54 PST 2022


congzhe updated this revision to Diff 412596.
congzhe added a comment.

Updated a previous failing test case in `lcssa-preheader.ll`.

Previously this test could not be interchanged since dependence analysis would return [* *] as the direction vector for the output dependency detected, now it could be interchanged.


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

https://reviews.llvm.org/D118102

Files:
  llvm/lib/Transforms/Scalar/LoopInterchange.cpp
  llvm/test/Transforms/LoopInterchange/lcssa-preheader.ll
  llvm/test/Transforms/LoopInterchange/perserve-lcssa.ll
  llvm/test/Transforms/LoopInterchange/pr45743-move-from-inner-preheader.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118102.412596.patch
Type: text/x-patch
Size: 8507 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220303/86e73176/attachment.bin>


More information about the llvm-commits mailing list