diff options
author | Florian Hahn <flo@fhahn.com> | 2024-10-28 20:14:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-28 20:14:08 +0100 |
commit | 0d0abb351b5fcf49ccc46eba8b7f2a1f353a05a6 (patch) | |
tree | 858027fc6335c4334eb53018f68c315ae03938b2 /clang/lib/Lex/ModuleMap.cpp | |
parent | 66bbbf2e951a486f972a5a54378e6791193ade60 (diff) | |
download | llvm-0d0abb351b5fcf49ccc46eba8b7f2a1f353a05a6.zip llvm-0d0abb351b5fcf49ccc46eba8b7f2a1f353a05a6.tar.gz llvm-0d0abb351b5fcf49ccc46eba8b7f2a1f353a05a6.tar.bz2 |
[VPlan] Use ResumePhi to create reduction resume phis. (#110004)
Use VPInstruction::ResumePhi to create phi nodes for reduction resume
values in the scalar preheader, similar to how ResumePhis are used for
first-order recurrence resume values after 9a5a8731e77.
This allows simplifying createAndCollectMergePhiForReduction to only
collect reduction resume phis when vectorizing epilogue loops and adding
extra incoming edges from the main vector loop. Updating phis for the
epilogue vector loops requires special attention, because additional
incoming values from the bypass blocks need to be added.
PR: https://github.com/llvm/llvm-project/pull/110004
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions