This is an archive of the discontinued LLVM Phabricator instance.

[PGO][PGSO] Add profile guided size optimization to the X86 LEA fixup.
ClosedPublic

Authored by hjyamauchi on Jul 7 2020, 11:36 AM.

Diff Detail

Event Timeline

hjyamauchi created this revision.Jul 7 2020, 11:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 7 2020, 11:36 AM
nikic added inline comments.Jul 7 2020, 11:41 AM
llvm/test/CodeGen/X86/opt-pipeline.ll
187 ↗(On Diff #276158)

Side note: You might want to mark LazyMBFI as preserved in X86PadShortFunction, I doubt that pass changes anything related to block frequency.

Address comments.

hjyamauchi marked an inline comment as done.Jul 8 2020, 10:14 AM
hjyamauchi added inline comments.
llvm/test/CodeGen/X86/opt-pipeline.ll
187 ↗(On Diff #276158)

Done.

More comments?

This revision is now accepted and ready to land.Jul 12 2020, 5:12 PM
This revision was automatically updated to reflect the committed changes.