[PATCH] D38154: [PassManager] Run global opts after the inliner

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 10 15:13:48 PDT 2017


MatzeB added a comment.

Some more points on benchmarking (really should rather write more docu than commenting here...):

- Use `ninja -j1` to get less noisy compiletime measurements (there of course are a lot of other things you can and should do to reduce the noise level on your system, search for apropriate llvm-dev mailinglist posts etc.)
- On macOS you may need `-C ../test-suite/cmake/caches/target-x86_64-macosx.cmake` to pick up the right include directories from xcode/xcrun.
- As with any cmake project I find `ccmake .` really helpful to discover possible options and flags.
- To reduce noise, run the process multiple times and let compare.py take the minimum: `compare.py base_run0.json base_run1.json base_run2.json vs patched_run0.json patched_run1.json patched_run2.json` (Note: the `vs` is an actual commandline argument)


Repository:
  rL LLVM

https://reviews.llvm.org/D38154





More information about the llvm-commits mailing list