Skip to content

[Pipelines] Run ArgProm before IPSCCP in non-LTO (WIP) #111672

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

hazzlim
Copy link
Contributor

@hazzlim hazzlim commented Oct 9, 2024

Run Argument Promotion before IPSCCP in the Module Simplification
pipeline, provided we are not LTO pre-link.

Compile-time impact, measured by instruction count, for the CTMark suite
at O3 (non-LTO):

Benchmark        | Change  |
-----------------+---------+
7zip             | +0.11%  |
Bullet           | +0.21%  |
ClamAV           | +0.08%  |
SPASS            | +0.25%  |
consumer-typeset | +0.14%  |
kimwitu++        | +0.35%  |
lencod           | +0.01%  |
mafft            | +0.01%  |
sqlite3          | +0.11%  |
tramp3d-v4       | +0.28%  |
-----------------+---------+
GEOMEAN          | 0.15%   |

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.
Run Argument Promotion before IPSCCP in the Module Simplification
pipeline, provided we are not LTO pre-link.

Compile-time impact, measured by instruction count, for the CTMark suite
at O3 (non-LTO):

Benchmark        | Change  |
-----------------+---------+
7zip             | +0.11%  |
Bullet           | +0.21%  |
ClamAV           | +0.08%  |
SPASS            | +0.25%  |
consumer-typeset | +0.14%  |
kimwitu++        | +0.35%  |
lencod           | +0.01%  |
mafft            | +0.01%  |
sqlite3          | +0.11%  |
tramp3d-v4       | +0.28%  |
-----------------+---------+
GEOMEAN          | 0.15%   |
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