(Split of off D67120)
SizeOpts/MachineSizeOpts changes for profile guided size optimization.
(A second try after previously committed as r375254 and reverted as r375375.)
Paths
| Differential D69409
[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 TimelineComment Actions The difference from D69070 is that MachineSizeOptsTest.cpp moved to unittests/Target/X86. This revision is now accepted and ready to land.Oct 24 2019, 3:47 PM Closed by commit rG75f72f6b7318: [PGO][PGSO] SizeOpts changes. (authored by hjyamauchi). · Explain WhyOct 28 2019, 12:58 PM This revision was automatically updated to reflect the committed changes. hjyamauchi mentioned this in D69568: Remove unnecessary unit test dependencies..Oct 29 2019, 9:28 AM hjyamauchi added inline comments. hjyamauchi added a child revision: D67120: [PGO] Profile guided code size optimization (continued)..Oct 29 2019, 10:14 AM
Revision Contents
Diff 226334 llvm/include/llvm/CodeGen/MachineBlockFrequencyInfo.h
llvm/include/llvm/CodeGen/MachineDominators.h
llvm/include/llvm/CodeGen/MachineLoopInfo.h
llvm/include/llvm/CodeGen/MachineSizeOpts.h
llvm/include/llvm/Transforms/Utils/SizeOpts.h
llvm/lib/CodeGen/CMakeLists.txt
llvm/lib/CodeGen/MachineBlockFrequencyInfo.cpp
llvm/lib/CodeGen/MachineDominators.cpp
llvm/lib/CodeGen/MachineLoopInfo.cpp
llvm/lib/CodeGen/MachineSizeOpts.cpp
llvm/lib/Transforms/Utils/SizeOpts.cpp
llvm/unittests/Target/X86/CMakeLists.txt
llvm/unittests/Target/X86/MachineSizeOptsTest.cpp
llvm/unittests/Transforms/Utils/CMakeLists.txt
llvm/unittests/Transforms/Utils/SizeOptsTest.cpp
|
Do you need all these? The tests here don't use GlobalISel Core MC SelectionDAG as far as I can tell (?)