[PATCH] D147536: [GlobalISel] Improve stack slot tracking in dbg.values
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 4 10:24:25 PDT 2023
aprantl added inline comments.
================
Comment at: llvm/test/CodeGen/AArch64/GlobalISel/debug-insts.ll:40
store i32 %in, ptr %addr
-; CHECK: DBG_VALUE %1(p0), $noreg, !17, !DIExpression(DW_OP_deref), debug-location !18
+; CHECK: DBG_VALUE %[[stack_slot]], 0, !17, !DIExpression(), debug-location !18
call void @llvm.dbg.value(metadata ptr %addr, i64 0, metadata !17, metadata !DIExpression(DW_OP_deref)), !dbg !18
----------------
Can you update the test to not hardcode !17, !18?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147536/new/
https://reviews.llvm.org/D147536
More information about the llvm-commits
mailing list