[all-commits] [llvm/llvm-project] 311260: [Assignment Tracking][SelectionDAG] Downgrade dbg....
Orlando Cazalet-Hyams via All-commits
all-commits at lists.llvm.org
Tue Apr 18 05:04:28 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 311260a699162897d3e626bc18127a1471e1b2d8
https://github.com/llvm/llvm-project/commit/311260a699162897d3e626bc18127a1471e1b2d8
Author: OCHyams <orlando.hyams at sony.com>
Date: 2023-04-18 (Tue, 18 Apr 2023)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
A llvm/test/DebugInfo/assignment-tracking/X86/assignment-tracking-not-enabled.ll
Log Message:
-----------
[Assignment Tracking][SelectionDAG] Downgrade dbg.assigns to dbg.values if assignment tracking is not enabled
We shouldn't be able to reach this code path from source code but this provides
a better fail-safe than asserting. The result of the downgrade is a degraded
debugging experience, but it is better than nothing.
Reviewed By: jmorse
Differential Revision: https://reviews.llvm.org/D148212
More information about the All-commits
mailing list