[PATCH] D153014: Deduplication of cyclic PHI nodes
Marek Sedláček via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 15 04:58:15 PDT 2023
mark-sed created this revision.
mark-sed added reviewers: lebedev.ri, bkramer.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
mark-sed requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
The EliminateDuplicatePHINodes function used in simplifycfg pass does not handle cyclic phis. This patch adds detection for such phis and can be constrained using the deduplicate-phi-max-depth option.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D153014
Files:
llvm/lib/Transforms/Utils/Local.cpp
llvm/unittests/Transforms/Utils/LocalTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153014.531699.patch
Type: text/x-patch
Size: 5886 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230615/c6a24b62/attachment.bin>
More information about the llvm-commits
mailing list