SuccessChanges

Summary

  1. [ThinLTO] Import readonly vars with refs (details)
  2. [libc++] Fix some constexpr tests broken by D68837 (details)
  3. [libc++] Fixed copy/copy_n/copy_backward for compilers that do not (details)
Commit dde589389fcb8b5098f7a47f1b781b27d29a0cac by eleviant
[ThinLTO] Import readonly vars with refs
Patch allows importing declarations of functions and variables,
referenced by the initializer of some other readonly variable.
Differential revision: https://reviews.llvm.org/D69561
The file was modifiedllvm/include/llvm/IR/ModuleSummaryIndex.h
The file was modifiedllvm/test/Bitcode/summary_version.ll
The file was modifiedllvm/lib/IR/ModuleSummaryIndex.cpp
The file was modifiedllvm/lib/Transforms/IPO/FunctionImport.cpp
The file was modifiedllvm/lib/Transforms/Utils/FunctionImportUtils.cpp
The file was modifiedllvm/test/Bitcode/thinlto-deadstrip-flag.ll
The file was modifiedllvm/test/tools/gold/X86/v1.12/thinlto_emit_linked_objects.ll
The file was modifiedllvm/lib/Bitcode/Writer/BitcodeWriter.cpp
The file was modifiedllvm/test/Bitcode/thinlto-synthetic-count-flag.ll
The file was modifiedllvm/test/ThinLTO/X86/globals-import.ll
The file was modifiedllvm/test/ThinLTO/X86/local_name_conflict.ll
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
Commit e9612e9e851ccd288f83739a1950ebb45d212aee by Louis Dionne
[libc++] Fix some constexpr tests broken by D68837
This doesn't fix all the issues with D68837
The file was modifiedlibcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_n.pass.cpp
The file was modifiedlibcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_backward.pass.cpp
The file was modifiedlibcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_if.pass.cpp
The file was modifiedlibcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy.pass.cpp
Commit 83901cbe5e21906523b7073f8ec7beb4d5a91021 by Louis Dionne
[libc++] Fixed copy/copy_n/copy_backward for compilers that do not
support is_constant_evaluated.
Differential Revision: https://reviews.llvm.org/D69940
The file was modifiedlibcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy.pass.cpp
The file was modifiedlibcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_n.pass.cpp
The file was modifiedlibcxx/include/algorithm
The file was modifiedlibcxx/include/__config
The file was modifiedlibcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_backward.pass.cpp