[llvm] [CodeGen][NewPM] Port LiveDebugVariables to NPM (PR #115468)
Akshat Oke via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 2 00:38:30 PST 2024
================
@@ -1341,7 +1339,7 @@ bool LiveDebugVariables::invalidate(
// Some architectures split the register allocation into multiple phases based
// on register classes. This requires preserving analyses between the phases
// by default.
- return PAC.preservedWhenStateless();
+ return !PAC.preservedWhenStateless();
----------------
optimisan wrote:
All passes are preserving this analysis and VirtRegRewriter will abandon this if it's the final one in the pipeline (`ClearVirtRegs = true`)
https://github.com/llvm/llvm-project/pull/115468
More information about the llvm-commits
mailing list