diff options
author | Arthur Eubanks <aeubanks@google.com> | 2021-05-03 16:50:26 -0700 |
---|---|---|
committer | Arthur Eubanks <aeubanks@google.com> | 2021-05-03 17:21:44 -0700 |
commit | d14d84af2f5ebb8ae2188ce6884a29a586dc0a40 (patch) | |
tree | 8f94dda627301393857bb5d25d1d9813fbb2dc98 /lldb/source/Commands/CommandObjectWatchpointCommand.cpp | |
parent | 4ef1f90e4d564b872e3598ccef45adb740eb0f0d (diff) | |
download | llvm-d14d84af2f5ebb8ae2188ce6884a29a586dc0a40.zip llvm-d14d84af2f5ebb8ae2188ce6884a29a586dc0a40.tar.gz llvm-d14d84af2f5ebb8ae2188ce6884a29a586dc0a40.tar.bz2 |
[NewPM] Only invalidate modified functions' analyses in CGSCC passes
Previously, any change in any function in an SCC would cause all
analyses for all functions in the SCC to be invalidated. With this
change, we now manually invalidate analyses for functions we modify,
then let the pass manager know that all function analyses should be
preserved.
So far this only touches the inliner, argpromotion, funcattrs, and
updateCGAndAnalysisManager(), since they are the most used.
Slight compile time improvements:
http://llvm-compile-time-tracker.com/compare.php?from=326da4adcb8def2abdd530299d87ce951c0edec9&to=8942c7669f330082ef159f3c6c57c3c28484f4be&stat=instructions
Reviewed By: mtrofin
Differential Revision: https://reviews.llvm.org/D100917
Diffstat (limited to 'lldb/source/Commands/CommandObjectWatchpointCommand.cpp')
0 files changed, 0 insertions, 0 deletions