llvm-project/llvm/test/Linker/Inputs
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
..
apple-version
2003-01-30-LinkerRename.ll
2003-05-31-LinkerRename.ll
ConstantGlobals.ll
DSOLocalEquivalent.ll [llvm] Change DSOLocalEquivalent type if the underlying global value type changes 2021-03-09 15:09:48 -08:00
PR8300.a.ll
PR8300.b.ll
PR11464.a.ll
PR11464.b.ll
alias-2.ll
alias-threadlocal-defs.ll [IR] Add missing GlobalAlias copying of ThreadLocalMode attribute 2020-06-16 20:15:27 -07:00
alias.ll
alignment.ll
appending-global.ll [llvm-link] Fix for an assertion when linking global with appending linkage 2021-01-23 00:10:42 -08:00
available_externally_over_decl.ll
basiclink.a.ll
basiclink.b.ll
byref-type-input.ll Linker: Fix linking of byref types 2020-11-17 11:02:04 -05:00
byval-types-1.ll Reapply: IR: add optional type to 'byval' function parameters 2019-05-30 18:48:23 +00:00
comdat-rm-dst.ll
comdat.ll
comdat2.ll
comdat3.ll
comdat4.ll
comdat5.ll
comdat8.ll
comdat11.ll
comdat13.ll
comdat14.ll
comdat15.ll
comdat16.ll
commandline.a.ll Implement -frecord-command-line (-frecord-gcc-switches) 2018-12-14 15:38:15 +00:00
commandline.b.ll Implement -frecord-command-line (-frecord-gcc-switches) 2018-12-14 15:38:15 +00:00
constructor-comdat.ll
ctors.ll
ctors2.ll
ctors3.ll
datalayout-a.ll
datalayout-b.ll
dicompositetype-unique.ll
distinct.ll
drop-debug.bc
empty-objc.ll Fix conflict value for metadata "Objective-C Garbage Collection" in the mix of swift and Objective-C bitcode 2020-03-11 13:26:06 -07:00
fixed-vector-type-construction.ll [llvm-link] fix IRMover returning wrong modified vector type 2021-02-22 11:29:42 +00:00
funcimport.ll
funcimport2.ll
funcimport_appending_global.ll
funcimport_comdat.ll
ident.a.ll
ident.b.ll
internalize-lazy.ll
linkage.a.ll
linkage.b.ll
linkage.c.ll
linkage.d.ll
linkage2.ll
mdlocation.ll
metadata-attach.ll
metadata-function.ll
metadata-mismatch-a.ll
metadata-mismatch-b.ll
metadata-source-a.ll Remove irrelevant references to legacy git repositories from 2019-01-15 16:18:52 +00:00
metadata-source-b.ll Remove irrelevant references to legacy git repositories from 2019-01-15 16:18:52 +00:00
metadata-with-global-value-operand.ll
module-flags-dont-change-others.ll
module-flags-pic-1-b.ll
module-flags-pic-2-b.ll
module-max-warn.ll IR Linking: Support merging Warning+Max module metadata flags 2020-02-07 16:29:58 -08:00
objectivec-class-property-flag-mismatch.ll
odr-lambda-2.ll
odr.ll
old_global_ctors.3.4.bc
only-needed-compiler-used.ll
only-needed-ctors.ll
only-needed-debug-metadata.ll
only-needed-dtors.ll
only-needed-named-metadata.ll
only-needed-recurse.ll
only-needed-used.ll
opaque.ll
override-different-linkage.ll
override-with-internal-linkage-2.ll
override-with-internal-linkage.ll
override.ll
pr21374.ll
pr22807-1.ll
pr22807-2.ll
pr26037.ll
pr27044.ll
redefinition.ll
replaced-function-matches-first-subprogram.ll
sret-type-input.ll Reapply "OpaquePtr: Add type to sret attribute" 2020-10-16 11:05:02 -04:00
subprogram-linkonce-weak.ll
syncscope-1.ll
syncscope-2.ll
targettriple-a.ll
targettriple-b.ll
targettriple-c.ll
testlink.ll
thinlto_funcimport_debug.ll Migrate function attribute "no-frame-pointer-elim"="false" to "frame-pointer"="none" as cleanups after D56351 2019-12-24 16:27:51 -08:00
thumb-module-inline-asm.ll
thumb.ll
type-unique-alias.ll
type-unique-dst-types2.ll
type-unique-dst-types3.ll
type-unique-inheritance-a.ll Migrate function attribute "no-frame-pointer-elim" to "frame-pointer"="all" as cleanups after D56351 2019-12-24 15:57:33 -08:00
type-unique-inheritance-b.ll Migrate function attribute "no-frame-pointer-elim" to "frame-pointer"="all" as cleanups after D56351 2019-12-24 15:57:33 -08:00
type-unique-name.ll
type-unique-opaque.ll
type-unique-simple2-a.ll Migrate function attribute "no-frame-pointer-elim" to "frame-pointer"="all" as cleanups after D56351 2019-12-24 15:57:33 -08:00
type-unique-simple2-b.ll Migrate function attribute "no-frame-pointer-elim" to "frame-pointer"="all" as cleanups after D56351 2019-12-24 15:57:33 -08:00
type-unique-unrelated2.ll
type-unique-unrelated3.ll
unique-fwd-decl-b.ll
unique-fwd-decl-order.ll
visibility.ll
wrong-addrspace-gv-declaration.ll