[PATCH] D140990: [DebugInfo] Treat empty metadata operands the same as undef operands in SelectionDAG
Orlando Cazalet-Hyams via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 4 07:13:36 PST 2023
Orlando created this revision.
Orlando added reviewers: scott.linder, StephenTozer, jmorse, jryans.
Orlando added a project: debug-info.
Herald added a subscriber: hiraditya.
Herald added a project: All.
Orlando requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Without this patch SelectionDAG silently drops dbg.values using `!{}` operands.
Related to https://discourse.llvm.org/t/auto-undef-debug-uses-of-a-deleted-value
https://reviews.llvm.org/D140990
Files:
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
llvm/test/DebugInfo/X86/dbg-empty-metadata-lowering.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140990.486281.patch
Type: text/x-patch
Size: 4941 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230104/d413c742/attachment.bin>
More information about the llvm-commits
mailing list