Skip to content

Revert "[LTO] Run Argument Promotion before IPSCCP" #111839

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

hazzlim
Copy link
Contributor

@hazzlim hazzlim commented Oct 10, 2024

Reverts #111163, as this was merged prematurely.

@hazzlim hazzlim merged commit 0a0f100 into main Oct 10, 2024
6 of 8 checks passed
@hazzlim hazzlim deleted the revert-111163-lto-argprom branch October 10, 2024 14:03
hazzlim added a commit to hazzlim/llvm-project that referenced this pull request Oct 10, 2024
Run ArgumentPromotion before IPSCCP in the LTO pipeline, to expose more
constants to be propagated. We also run PostOrderFunctionAttrs to
improve the information available to ArgumentPromotion's alias analysis,
and SROA to clean up allocas.
DanielCChen pushed a commit to DanielCChen/llvm-project that referenced this pull request Oct 16, 2024
hazzlim added a commit to hazzlim/llvm-project that referenced this pull request Oct 21, 2024
Run ArgumentPromotion before IPSCCP in the LTO pipeline, to expose more
constants to be propagated. We also run PostOrderFunctionAttrs to
improve the information available to ArgumentPromotion's alias analysis,
and SROA to clean up allocas.
nikic pushed a commit to nikic/llvm-project that referenced this pull request Nov 5, 2024
Reland "[LTO] Run Argument Promotion before IPSCCP" (llvm#111839)

Run ArgumentPromotion before IPSCCP in the LTO pipeline, to expose more
constants to be propagated. We also run PostOrderFunctionAttrs to
improve the information available to ArgumentPromotion's alias analysis,
and SROA to clean up allocas.

Move POFA earlier instead of running twice (For >01)

Don't bother running POFA Pass at -01

Use a single CGSCCPassManager

Also run SROA in the CGSCCPassManager
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant