[all-commits] [llvm/llvm-project] 68f97d: LiveDebugValues: Fix another crash related to unre...
Adrian Prantl via All-commits
all-commits at lists.llvm.org
Tue Aug 9 10:36:07 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 68f97d2f787507eba56c667585fc31db3c27c469
https://github.com/llvm/llvm-project/commit/68f97d2f787507eba56c667585fc31db3c27c469
Author: Adrian Prantl <aprantl at apple.com>
Date: 2022-08-09 (Tue, 09 Aug 2022)
Changed paths:
M llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
A llvm/test/DebugInfo/MIR/X86/ldv_unreachable_blocks2.mir
Log Message:
-----------
LiveDebugValues: Fix another crash related to unreachable blocks
This is a follow-up patch to D130999. In the test, the MIR contains an
unreachable MBB but the code attempts to look it up in MLocs. This
patch fixes this issue by checking for the default-constructed value.
rdar://97226240
Differential Revision: https://reviews.llvm.org/D131453
More information about the All-commits
mailing list