[DebugInfo][NFC] Represent DbgValues with multiple ops in IRefLDV
authorStephen Tozer <stephen.tozer@sony.com>
Fri, 17 Jun 2022 15:20:06 +0000 (16:20 +0100)
committerStephen Tozer <stephen.tozer@sony.com>
Mon, 22 Aug 2022 17:04:38 +0000 (18:04 +0100)
commitb5ba5d2aab11726218c75daaaf20d42a963a6c39
tree53a89036d1a80cb1c2c9762d1f59f4d331bcb137
parent96fd3f2d5be21ded6ffed0ac75195df04ec679df
[DebugInfo][NFC] Represent DbgValues with multiple ops in IRefLDV

In preparation for allowing InstrRefBasedLDV to handle DBG_VALUE_LIST,
this patch updates the internal representation that it uses to represent
debug values to store a list of values. This is one of the more
significant changes in terms of line count, but is fairly simple and
should not affect the output of this pass.

Differential Revision: https://reviews.llvm.org/D128177
llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h
llvm/unittests/CodeGen/InstrRefLDVTest.cpp