[llvm] [ISelDAG] Salvage debug info at isel by referring to frame indices. (PR #109126)
Orlando Cazalet-Hyams via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 24 04:56:27 PDT 2024
================
@@ -0,0 +1,69 @@
+; RUN: llc -march=sparc -O1 %s -o - | FileCheck %s
----------------
OCHyams wrote:
I think we should use `llc -march=sparc %s -o - -stop-after=finalize-isel` here to reduce the surface area we're testing to the interesting bit (isel) and change the CHECK(s) to:
`CHECK: DBG_VALUE %stack.0.b, $noreg, ![[#]], !DIExpression(DW_OP_plus_uconst, 3, DW_OP_stack_value)`
https://github.com/llvm/llvm-project/pull/109126
More information about the llvm-commits
mailing list