diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2020-07-27 23:35:51 +0300 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2020-07-27 23:36:34 +0300 |
commit | 351d234d866ea441d8f8ad1e9b483a98fd51da19 (patch) | |
tree | 07cbcb73c8779ab9f5cbdeaf8284eee1432b4ca4 /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
parent | 113f56fbb80e8d6f705be19f8ae169a3fee2e4f8 (diff) | |
download | llvm-351d234d866ea441d8f8ad1e9b483a98fd51da19.zip llvm-351d234d866ea441d8f8ad1e9b483a98fd51da19.tar.gz llvm-351d234d866ea441d8f8ad1e9b483a98fd51da19.tar.bz2 |
[OpenMPOpt] Most SCC's are uninteresting, don't waste time on them (up to 16x faster)
Summary:
This seems obvious in hindsight, but the result is surprising.
I've measured compile-time of `-openmpopt` pass standalone
on RawSpeed unity build, and while there is some OpenMP stuff,
most is not OpenMP. But nonetheless the pass does a lot of costly
preparations before ever trying to look for OpenMP stuff in SCC.
Numbers (n=25): 0.094624s -> 0.005976s, an -93.68% improvement, or ~16x
Reviewers: jdoerfert
Reviewed By: jdoerfert
Subscribers: yaxunl, hiraditya, guansong, llvm-commits, sstefan1
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D84689
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions