[llvm] [LiveDebugVariables] Add tests for stale SlotIndexes (PR #225375)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 23 01:45:53 PDT 2026


================
@@ -0,0 +1,70 @@
+; RUN: llc -mtriple=aarch64-unknown-linux-gnu -O2 -stop-after=virtregrewriter %s -o - | FileCheck %s
+
+; LiveDebugVariables records SlotIndexes during register allocation and uses
----------------
jayfoad wrote:

Yes combining the AArch64 tests probably makes sense. For the X86 tests it's less clear because they deliberately use different command line options in their RUN lines, but I will see what I can do...

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


More information about the llvm-commits mailing list