[llvm] [DebugInfo] Do not stop after livedebugvars (PR #215169)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 11 13:16:08 PDT 2026


boomanaiden154 wrote:

>  think that failure is due to using -stop-before=virtregrewriter instead of stop-after: the in-memory Dbg Values that need to be emitted are done in virtregrewriter. It Should (TM) work with -stop-after.

Ah, yep. It doesn't crash. We do still run into test differences though. It turns out the LegacyPM doesn't support stopping after analyses either, and all of these tests run the entire pipeline, but swap AsmPrinter for the MIRPrinter. We end up with test differences when stopping at the right spot. Do we want to keep things as they are for now given it's been this way for a long time (and potentially fix stuff up in a follow-up), or adjust the test expectations in this PR?

https://github.com/llvm/llvm-project/pull/215169


More information about the llvm-commits mailing list