[Perf-training] Adding support for tests to skip the clang driver
This patch adds a new set of substitutions to the lit run lines for order files and PGO generation which run the clang driver to get the cc1 command, then execute the cc1 command directly. This allows the scripts to bypass profiling the clang driver over and over again. The approach in this patch was discussed via IRC with Sean Silvas. Special thanks to Daniel Dunbar whose out-of-tree code I liberally plagiarized. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@263997 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- utils/perf-training/cxx/hello_world.cpp 1 addition, 0 deletionsutils/perf-training/cxx/hello_world.cpp
- utils/perf-training/lit.cfg 4 additions, 1 deletionutils/perf-training/lit.cfg
- utils/perf-training/lit.site.cfg.in 1 addition, 0 deletionsutils/perf-training/lit.site.cfg.in
- utils/perf-training/order-files.lit.cfg 3 additions, 1 deletionutils/perf-training/order-files.lit.cfg
- utils/perf-training/perf-helper.py 60 additions, 0 deletionsutils/perf-training/perf-helper.py
Loading
Please register or sign in to comment