This is an archive of the discontinued LLVM Phabricator instance.

[PGO][PGSO] SizeOpts changes.
ClosedPublic

Authored by hjyamauchi on Oct 24 2019, 2:47 PM.

Details

Summary

(Split of off D67120)

SizeOpts/MachineSizeOpts changes for profile guided size optimization.

(A second try after previously committed as r375254 and reverted as r375375.)

Diff Detail

Event Timeline

hjyamauchi created this revision.Oct 24 2019, 2:47 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 24 2019, 2:47 PM

The difference from D69070 is that MachineSizeOptsTest.cpp moved to unittests/Target/X86.

davidxl accepted this revision.Oct 24 2019, 3:47 PM

lgtm

This revision is now accepted and ready to land.Oct 24 2019, 3:47 PM
This revision was automatically updated to reflect the committed changes.
thakis added a subscriber: thakis.Oct 28 2019, 5:55 PM
thakis added inline comments.
llvm/unittests/Target/X86/CMakeLists.txt
18

Do you need all these? The tests here don't use GlobalISel Core MC SelectionDAG as far as I can tell (?)

hjyamauchi marked 2 inline comments as done.Oct 29 2019, 9:30 AM
hjyamauchi added inline comments.
llvm/unittests/Target/X86/CMakeLists.txt
18

Right. Uploaded D69568 to fix.