aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-07-30 19:14:02 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-08-01 23:47:46 +0200
commit25af353b0e74907d5d50c8616b885bd1f73a68b3 (patch)
tree49c5c561eddf04c5966690e36eee5061a6964b43 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parente297d928dcde31ac92eff72532095f4f657f2ebd (diff)
downloadllvm-25af353b0e74907d5d50c8616b885bd1f73a68b3.zip
llvm-25af353b0e74907d5d50c8616b885bd1f73a68b3.tar.gz
llvm-25af353b0e74907d5d50c8616b885bd1f73a68b3.tar.bz2
[NewPM][LVI] Abandon LVI after CVP
As mentioned on D70376, LVI can currently cause performance issues when running under NewPM. The problem is that, unlike the legacy pass manager, NewPM will not immediately discard the LVI analysis if the following pass does not need it. This is a problem, because LVI has a high memory requirement, and mass invalidation of LVI values is very inefficient. LVI should only be alive during passes that actively interact with it. This patch addresses the issue by explicitly abandoning LVI after CVP, which gets us back to the LegacyPM behavior. Differential Revision: https://reviews.llvm.org/D84959
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions