We shouldn't be using __llvm_profile_override_default_filename even when a profile output filename isn't specified. This patch uses a flag to enable IRPGO instead.
This is the other half of:
https://reviews.llvm.org/D22608
Paths
| Differential D22607
[Profile] Don't use the override API in all cases. ClosedPublic Authored by jakev on Jul 20 2016, 8:31 PM.
Details Summary We shouldn't be using __llvm_profile_override_default_filename even when a profile output filename isn't specified. This patch uses a flag to enable IRPGO instead. This is the other half of:
Diff Detail
Event Timelinejakev updated this object. This revision is now accepted and ready to land.Jul 20 2016, 8:49 PM Comment Actions Sean or David, do you think you could commit the pair of patches for me? I don't yet have commit access so I would appreciate that very much. Closed by commit rL276516: [Profile] Use explicit flag to enable IR PGO (authored by davidxl). · Explain WhyJul 22 2016, 9:36 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 64805 include/llvm/Transforms/IPO/PassManagerBuilder.h
lib/Transforms/IPO/PassManagerBuilder.cpp
test/Transforms/PGOProfile/preinline.ll
|