forked from OSchip/llvm-project
58526b2d2b
Currently, the LLVM IR -> MIR translator fails to translate dbg.values whose first argument is a null pointer. However, in other portions of the code, such pointers are always lowered to the constant zero, for example see IRTranslator::Translate(Constant, Register). This patch addresses the limitation by following the same approach of lowering null pointers to zero. A prior test was checking that null pointers were always lowered to $noreg; this test is changed to check for zero, and the previous behavior is now checked by introducing a dbg.value whose first argument is the address of a global variable. Differential Revision: https://reviews.llvm.org/D130721 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
CSEInfo.cpp | ||
CSEMIRBuilder.cpp | ||
CallLowering.cpp | ||
Combiner.cpp | ||
CombinerHelper.cpp | ||
GISelChangeObserver.cpp | ||
GISelKnownBits.cpp | ||
GlobalISel.cpp | ||
IRTranslator.cpp | ||
InlineAsmLowering.cpp | ||
InstructionSelect.cpp | ||
InstructionSelector.cpp | ||
LegacyLegalizerInfo.cpp | ||
LegalityPredicates.cpp | ||
LegalizeMutations.cpp | ||
Legalizer.cpp | ||
LegalizerHelper.cpp | ||
LegalizerInfo.cpp | ||
LoadStoreOpt.cpp | ||
Localizer.cpp | ||
LostDebugLocObserver.cpp | ||
MachineIRBuilder.cpp | ||
RegBankSelect.cpp | ||
Utils.cpp |