This places OptRemarks at each location where a decision is made to not outline, or to outline a specific section.
Test:
- llvm/test/Transforms/IROutliner/opt-remarks.ll
Paths
| Differential D87300
[IRSim][IROutliner] Adding OptRemarks for the IROutliner. ClosedPublic Authored by AndrewLitteken on Sep 8 2020, 10:20 AM.
Details Summary This places OptRemarks at each location where a decision is made to not outline, or to outline a specific section. Test:
Diff Detail
Event Timelinejroelofs added inline comments.
This revision is now accepted and ready to land.Sep 14 2020, 1:29 PM Closed by commit rGdf4a931c63b6: [IROutliner] Adding OptRemarks to the IROutliner Pass (authored by AndrewLitteken). · Explain WhyDec 29 2020, 1:52 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 314011 llvm/include/llvm/Transforms/IPO/IROutliner.h
llvm/lib/Transforms/IPO/IROutliner.cpp
llvm/test/Transforms/IROutliner/opt-remarks.ll
|
Since this doesn't own the referred-to function, why not use an llvm::function_ref here like the others (GTTI, GIRSI)?