Skip to content

[VPlan] Add initial CFG simplification, removing BranchOnCond true.#106748

Merged
fhahn merged 12 commits intollvm:mainfrom
fhahn:vplan-simplifycfg
Apr 4, 2025
Merged

[VPlan] Add initial CFG simplification, removing BranchOnCond true.#106748
fhahn merged 12 commits intollvm:mainfrom
fhahn:vplan-simplifycfg

Conversation

@fhahn
Copy link
Copy Markdown
Contributor

@fhahn fhahn commented Aug 30, 2024

Add an initial CFG simplification transform, which removes the dead edges for blocks terminated with BranchOnCond true.

At the moment, this removes the edge between middle block and scalar preheader when folding the tail.

Note: not all tests have been updated yet, but the current tests give a good idea of the change.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants