[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
Sun May 5 14:38:44 PDT 2019
fhahn created this revision.
fhahn added reviewers: efriedma, mcrosier, davide.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
The code to preserve LCSSA PHIs currently only properly supports
reduction PHIs and PHIs for values defined outside the latches.
This patch improves the LCSSA PHI handling to cover PHIs for values
defined in the latches.
Fixes PR41725.
Repository:
rG LLVM Github Monorepo
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.198203.patch
Type: text/x-patch
Size: 9671 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190505/905f1ab3/attachment.bin>
More information about the llvm-commits
mailing list