[all-commits] [llvm/llvm-project] e3b62f: [Reassociate][DebugInfo] Salvage debug info before...
Shivam Kunwar via All-commits
all-commits at lists.llvm.org
Thu Mar 5 05:12:19 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e3b62ffcd8592cf234174057b4581adb1eecbf9c
https://github.com/llvm/llvm-project/commit/e3b62ffcd8592cf234174057b4581adb1eecbf9c
Author: Shivam Kunwar <75530356+phyBrackets at users.noreply.github.com>
Date: 2026-03-05 (Thu, 05 Mar 2026)
Changed paths:
M llvm/lib/Transforms/Scalar/Reassociate.cpp
A llvm/test/Transforms/Reassociate/reassociate-decrement-dbgvalue.ll
R llvm/test/Transforms/Reassociate/reassociate_dbgvalue_discard.ll
A llvm/test/Transforms/Reassociate/reassociate_dbgvalue_salvage.ll
Log Message:
-----------
[Reassociate][DebugInfo] Salvage debug info before rewriting expression (#182730)
When RewriteExprTree modifies instruction operands, call
`salvageDebugInfo()` before `setOperand()` so debug value expressions
are rewritten while original operands are still intact. This preserves
variable accessibility in debuggers instead of dropping values to
poison.
Fixes #60532
Fixes #61272
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list