This allows to pass the build directory where all the opt.yaml files are
rather than find | xargs which may invoke opt-viewer multiple times producing
incomplete html output.
The patch generalizes the same functionality from opt-diff.
Paths
| Differential D35491
[opt-viewer] Accept directories that are searched for opt.yaml files ClosedPublic Authored by anemet on Jul 17 2017, 9:41 AM.
Details Summary This allows to pass the build directory where all the opt.yaml files are The patch generalizes the same functionality from opt-diff.
Diff Detail
Event Timeline
Comment Actions Excellent, thanks @anemet! I had been using xargs and was encountering exactly this issue. I'll accept assuming you fix the optmization typos before committing. Thanks! This revision is now accepted and ready to land.Jul 17 2017, 10:28 AM Closed by commit rL308200: [opt-viewer] Accept directories that are searched for opt.yaml files (authored by anemet). · Explain WhyJul 17 2017, 11:01 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 106909 llvm/trunk/tools/opt-viewer/opt-diff.py
llvm/trunk/tools/opt-viewer/opt-stats.py
llvm/trunk/tools/opt-viewer/opt-viewer.py
llvm/trunk/tools/opt-viewer/optrecord.py
|