This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository llvm.
from 6ed90ce6aee [NFC] Reuse a helper function to eliminate duplicate code new d7a1a7be424 [IR] Disallow llvm.global_ctors and llvm.global_dtors of th [...]
The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: docs/LangRef.rst | 8 ++--- docs/ReleaseNotes.rst | 4 +++ include/llvm/IR/AutoUpgrade.h | 6 ++-- lib/Bitcode/Reader/BitcodeReader.cpp | 8 ++++- lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 14 ++++----- lib/IR/AutoUpgrade.cpp | 32 +++++++++++++++++-- lib/IR/Verifier.cpp | 14 ++++----- lib/Transforms/Utils/ModuleUtils.cpp | 34 +++++---------------- test/Bitcode/metadata-2.ll | 4 +-- test/Bitcode/upgrade-global-ctors.ll | 4 +-- test/Bitcode/upgrade-global-dtors.ll | 5 +++ test/Bitcode/upgrade-global-dtors.ll.bc | Bin 0 -> 932 bytes test/CodeGen/AArch64/init-array.ll | 2 +- test/CodeGen/ARM/ctor_order.ll | 2 +- test/CodeGen/ARM/ctors_dtors.ll | 4 +-- test/CodeGen/Mips/init-array.ll | 2 +- test/CodeGen/PowerPC/pr17354.ll | 2 +- test/CodeGen/RISCV/init-array.ll | 2 +- .../SPARC/2008-10-10-InlineAsmMemoryOperand.ll | 2 +- test/CodeGen/X86/2007-06-04-X86-64-CtorAsmBugs.ll | 2 +- test/CodeGen/X86/2011-08-29-InitOrder.ll | 4 +-- test/CodeGen/X86/init-priority.ll | 2 +- test/CodeGen/X86/negate-add-zero.ll | 1 - test/DebugInfo/COFF/asan-module-ctor.ll | 2 +- .../COFF/asan-module-without-functions.ll | 4 +-- .../Generic/incorrect-variable-debugloc.ll | 2 +- test/DebugInfo/X86/cu-ranges-odr.ll | 2 +- test/DebugInfo/X86/dbg_value_direct.ll | 2 +- test/DebugInfo/X86/debug-ranges-offset.ll | 2 +- test/DebugInfo/X86/generate-odr-hash.ll | 2 +- test/Feature/global_pv.ll | 4 +-- .../instrument_initializer_metadata.ll | 2 +- .../MemorySanitizer/global_ctors_2to3.ll | 18 ----------- test/Linker/ctors5.ll | 8 ----- test/Linker/global_ctors.ll | 29 ------------------ test/MC/ARM/cxx-global-constructor.ll | 2 +- test/Transforms/GlobalDCE/global_ctors.ll | 4 +-- .../GlobalDCE/global_ctors_integration.ll | 2 +- .../GlobalOpt/2006-07-07-InlineAsmCrash.ll | 2 +- .../GlobalOpt/2007-06-04-PackedStruct.ll | 4 +-- test/Transforms/GlobalOpt/2010-10-19-WeakOdr.ll | 2 +- .../GlobalOpt/2011-04-09-EmptyGlobalCtors.ll | 2 +- test/Transforms/GlobalOpt/assume.ll | 2 +- .../GlobalOpt/constantfold-initializers.ll | 14 ++++----- test/Transforms/GlobalOpt/crash.ll | 4 +-- .../GlobalOpt/ctor-list-opt-constexpr.ll | 4 +-- .../Transforms/GlobalOpt/ctor-list-opt-inbounds.ll | 2 +- test/Transforms/GlobalOpt/cxx-dtor.ll | 4 +-- .../GlobalOpt/externally-initialized-global-ctr.ll | 2 +- test/Transforms/GlobalOpt/int_sideeffect.ll | 2 +- .../Transforms/GlobalOpt/invariant-nodatalayout.ll | 4 +-- test/Transforms/GlobalOpt/invariant.group.ll | 2 +- test/Transforms/GlobalOpt/invariant.ll | 10 +++--- test/Transforms/GlobalOpt/invoke.ll | 2 +- test/Transforms/GlobalOpt/memset-null.ll | 4 +-- test/Transforms/GlobalOpt/undef-init.ll | 2 +- test/Transforms/ObjCARC/apelim.ll | 2 +- test/Transforms/ObjCARC/comdat-ipo.ll | 2 +- .../ThinLTOBitcodeWriter/unsplittable.ll | 2 +- test/Verifier/global-ctors-2.ll | 6 ++++ 60 files changed, 146 insertions(+), 177 deletions(-) create mode 100644 test/Bitcode/upgrade-global-dtors.ll create mode 100644 test/Bitcode/upgrade-global-dtors.ll.bc delete mode 100644 test/Instrumentation/MemorySanitizer/global_ctors_2to3.ll delete mode 100644 test/Linker/ctors5.ll delete mode 100644 test/Linker/global_ctors.ll create mode 100644 test/Verifier/global-ctors-2.ll