llvm-project/llvm/unittests/Transforms/Utils
Stephen Tozer 32417b3203 [DebugInfo] ValueMapper impl for DIArgList respects IgnoreMissingLocals
This patch fixes an issue in which SSA value reference within a
DIArgList would be unnecessarily dropped by llvm-link, even when
invoking on a single file (which should be a no-op). The reason for the
difference is that the ValueMapper does not refer to the
RF_IgnoreMissingLocals flag for LocalAsMetadata contained within a
DIArgList; this flag is used for direct LocalAsMetadata uses to preserve
SSA references even when the ValueMapper does not have an explicit
mapping for the referenced SSA value, which appears to always be the
case when using llvm-link in this manner.

Differential Revision: https://reviews.llvm.org/D114355
2022-01-17 17:17:32 +00:00
..
ASanStackFrameLayoutTest.cpp
BasicBlockUtilsTest.cpp [SplitEdge] Update SplitCriticalEdge to return a nullptr only when the edge is not critical 2021-04-06 21:24:40 +00:00
CMakeLists.txt [ModuleUtils] NFC: Add unit tests for appendToUsedList 2021-05-04 12:05:50 +05:30
CallPromotionUtilsTest.cpp
CloningTest.cpp [Cloning] Clone metadata on function declarations 2021-12-01 15:40:05 -08:00
CodeExtractorTest.cpp [CodeExtractor] Creating exit stubs based off original order branch instructions. 2021-09-08 15:15:15 -07:00
CodeMoverUtilsTest.cpp [CodeMoverUtils] Enhance isSafeToMoveBefore() when control flow equivalence is satisfied 2021-09-27 18:37:36 -04:00
DebugifyTest.cpp Recommit: "[Debugify][Original DI] Test dbg var loc preservation"" 2021-05-21 02:04:29 -07:00
FunctionComparatorTest.cpp
IntegerDivisionTest.cpp
LocalTest.cpp [InstSimplify] Don't assume parent function when simplifying llvm.vscale. 2021-07-29 20:08:08 +01:00
LoopRotationUtilsTest.cpp
LoopUtilsTest.cpp
ModuleUtilsTest.cpp [NFC][OpaquePtr] Use GlobalValue::getValueType() more 2021-07-09 09:55:41 -07:00
SSAUpdaterBulkTest.cpp
ScalarEvolutionExpanderTest.cpp [ScalarEvolution] Fix pointer/int type handling converting select/phi to min/max. 2021-06-17 14:05:12 -07:00
SizeOptsTest.cpp
UnrollLoopTest.cpp
VFABIUtils.cpp [NFC] Cleanup calls to CallBase::getAttribute() 2021-08-18 09:39:33 -07:00
ValueMapperTest.cpp [DebugInfo] ValueMapper impl for DIArgList respects IgnoreMissingLocals 2022-01-17 17:17:32 +00:00