llvm-project/llvm/lib/Transforms
Leonard Chan cf371573b0 [llvm] Change DSOLocalEquivalent type if the underlying global value type changes
We encountered an issue where LTO running on IR that used the DSOLocalEquivalent
constant would result in bad codegen. The underlying issue was ValueMapper wasn't
properly handling DSOLocalEquivalent, so this just adds the machinery for handling
it. This code path is triggered by a fix to DSOLocalEquivalent::handleOperandChangeImpl
where DSOLocalEquivalent could potentially not have the same type as its underlying GV.

This updates DSOLocalEquivalent::handleOperandChangeImpl to change the type if
the GV type changes and handles this constant in ValueMapper.

Differential Revision: https://reviews.llvm.org/D97978
2021-03-09 15:09:48 -08:00
..
AggressiveInstCombine [Transforms] Use llvm::append_range (NFC) 2021-01-20 21:35:54 -08:00
CFGuard llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
Coroutines [DebugInfo] Handle multiple variable location operands in IR 2021-03-09 16:44:38 +00:00
Hello
IPO [CSSPGO] Always use callsite samples as callsite probe counts. 2021-03-08 22:52:36 -08:00
InstCombine Revert "[InstCombine] Add simplification of two logical and/ors" 2021-03-10 05:48:31 +09:00
Instrumentation [dfsan] Tracking origins at memory transfer 2021-03-09 22:15:07 +00:00
ObjCARC Move ObjCARCUtil.h back to llvm/Analysis 2021-03-08 16:35:24 -08:00
Scalar [DebugInfo] Handle multiple variable location operands in IR 2021-03-09 16:44:38 +00:00
Utils [llvm] Change DSOLocalEquivalent type if the underlying global value type changes 2021-03-09 15:09:48 -08:00
Vectorize [SLP] remove dead null check; NFC 2021-03-09 17:43:07 -05:00
CMakeLists.txt [NewPM][HelloWorld] Move HelloWorld to Utils 2021-02-03 12:59:40 -08:00