[PATCH] D61576: [LoopInterchange] Fix handling of LCSSA nodes defined in headers and latches.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 6 04:54:46 PDT 2019


fhahn updated this revision to Diff 198249.
fhahn added a comment.

Remove restriction for single use PHIs. We can replace such PHIs with their incoming
value, iff all uses are in the loop exit block or in the outer loop header, if
the incoming value is defined in the inner loop header (reduction phis).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D61576

Files:
  llvm/lib/Transforms/Scalar/LoopInterchange.cpp
  llvm/test/Transforms/LoopInterchange/perserve-lcssa.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61576.198249.patch
Type: text/x-patch
Size: 12961 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190506/bc1e4830/attachment-0001.bin>


More information about the llvm-commits mailing list