This is an archive of the discontinued LLVM Phabricator instance.

[Inliner] Remove alloca merging
ClosedPublic

Authored by aeubanks on Mar 14 2023, 2:01 PM.

Details

Summary

See https://discourse.llvm.org/t/rfc-we-should-stop-merging-allocas-in-the-inliner/41975 for the RFC from 2016 around this.

Backend stack coloring takes care of what this initially set out to help with.

This only affects the legacy inliner, which for the most part doesn't matter anymore. The new PM inliner never looked at this flag.

There are some backends running the legacy always-inline pass, but that's unlikely to matter.

Diff Detail

Event Timeline

aeubanks created this revision.Mar 14 2023, 2:01 PM
Herald added a reviewer: ctetreau. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
aeubanks requested review of this revision.Mar 14 2023, 2:01 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 14 2023, 2:01 PM
asbirlea accepted this revision.Mar 15 2023, 2:50 PM

Adding a line in release notes might be useful; next to a note with the removal of legacy PM pieces (e.g. PassManagerBuilder).

This revision is now accepted and ready to land.Mar 15 2023, 2:50 PM
This revision was automatically updated to reflect the committed changes.

Adding a line in release notes might be useful; next to a note with the removal of legacy PM pieces (e.g. PassManagerBuilder).

https://reviews.llvm.org/D146243