[PATCH] D46422: [LCSSA] Iteratively remove unused PHI nodes in formLCSSAForInstructions

Daniel Berlin via llvm-commits llvm-commits at lists.llvm.org
Fri May 4 15:40:25 PDT 2018


Is there an intermediate IR dump you can send me of where you end up with
phis using phis that are useless?

(I'd also like to understand if you ever get cycles of that happening as
well)


On Fri, May 4, 2018 at 3:26 PM, Bjorn Pettersson via Phabricator via
llvm-commits <llvm-commits at lists.llvm.org> wrote:

> bjope updated this revision to Diff 145311.
> bjope added a comment.
>
> Updated the test case (elimintated more branches/blocks, renamed
> variables/labels, removed checks).
>
>
> Repository:
>   rL LLVM
>
> https://reviews.llvm.org/D46422
>
> Files:
>   lib/Transforms/Utils/LCSSA.cpp
>   test/Transforms/LCSSA/remove-phis.ll
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180504/0640c5a3/attachment.html>


More information about the llvm-commits mailing list