Fix replaceVariableLocationOp unconditionally replacing the first operand of a dbg.assign.
FYI this bug / mistake was introduced when rebasing the patch that added the change. I've added a unittest test for it.
Paths
| Differential D138561
[Assignment Tracking] Fix DbgVariableIntrinsic::replaceVariableLocationOp ClosedPublic Authored by Orlando on Nov 23 2022, 4:15 AM.
Details Summary Fix replaceVariableLocationOp unconditionally replacing the first operand of a dbg.assign. FYI this bug / mistake was introduced when rebasing the patch that added the change. I've added a unittest test for it.
Diff Detail Event Timeline
This revision is now accepted and ready to land.Nov 23 2022, 5:31 AM This revision was landed with ongoing or failed builds.Nov 23 2022, 5:57 AM Closed by commit rG7707d4913b6a: [Assignment Tracking] Fix DbgVariableIntrinsic::replaceVariableLocationOp (authored by Orlando). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 477478 llvm/lib/IR/IntrinsicInst.cpp
llvm/unittests/IR/DebugInfoTest.cpp
|
YMMV, but while we're confirming one we may as well confirm the other?