Unverified Commit c7209cbb authored by Florian Hahn's avatar Florian Hahn
Browse files

[LV] Assert that there's a resume phi for epilogue loops (NFC).

This patch adds an assert to createAndCollectMergePhiForReduction to
make sure there is a resume phi when vectorizing the epilogue loop. This
is needed to set the resume value from the main vector loop.

This assertion guards against the issue caused the revert of
https://github.com/llvm/llvm-project/pull/78304.
parent 86ab10c4
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment