SuccessChanges

Summary

  1. [ArgumentPromotion]: Copy function metadata after promoting arguments (details)
  2. [lldb, tests] Correctly configure the yaml2obj paths (details)
  3. [gcov] Delete flush_fn_list (unused since D83149) (details)
  4. [NFC][ThinLTO] Let llvm::EmbedBitcodeInModule handle serialization. (details)
  5. Revert D86875 "[Flang][NFC] Remove license comments from files in docs/ folder." (details)
  6. [compiler-rt] [netbsd] Add fallback definitions for MKISCSI=no (details)
  7. [compiler-rt] [netbsd] Improve code formatting (details)
  8. [ImplicitNullCheck] Handle instructions that preserve zero value (details)
  9. [Support] Use unique_function rather than std::function for ThreadPool TaskTy. (details)
Commit 6b13cfe7399b0aba726873f807ddfcdd9f967563 by etiotto
[ArgumentPromotion]: Copy function metadata after promoting arguments

The argument promotion pass currently fails to copy function annotations
over to the modified function after promoting arguments.
This patch copies the original function annotation to the new function.

Reviewed By: fhann

Differential Revision: https://reviews.llvm.org/D86630
The file was modifiedllvm/lib/Transforms/IPO/ArgumentPromotion.cpp (diff)
The file was modifiedllvm/test/Transforms/ArgumentPromotion/profile.ll (diff)
Commit c464f1d8f9a04d7b4b6cc81eac0891c46aba5950 by stilis
[lldb, tests] Correctly configure the yaml2obj paths

They are currently not being set correctly for the case of multi-config generators like XCode and VS. There's also a typo in one of the cmake files.

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D87466
The file was modifiedlldb/utils/lldb-dotest/CMakeLists.txt (diff)
The file was modifiedlldb/test/API/lit.site.cfg.py.in (diff)
Commit ab1de1fcfb0c53bc768deb8f8bacefad7d378b7b by i
[gcov] Delete flush_fn_list (unused since D83149)
The file was modifiedclang/lib/Driver/ToolChains/Darwin.cpp (diff)
The file was modifiedcompiler-rt/lib/profile/GCDAProfiling.c (diff)
Commit e543708e5ea7af0ec3ef11d6fe932db507472aa1 by mtrofin
[NFC][ThinLTO] Let llvm::EmbedBitcodeInModule handle serialization.

llvm::EmbedBitcodeInModule handles serializing the passed-in module, if
the provided MemoryBufferRef is invalid. This is already the path taken
in one of the uses of the API - clang::EmbedBitcode, when called from
BackendConsumer::HandleTranslationUnit - so might as well do the same
here and reduce (by very little) code duplication.

The only difference this patch introduces is that the serialization happens
with ShouldPreserveUseListOrder set to true.

Differential Revision: https://reviews.llvm.org/D87339
The file was modifiedllvm/lib/LTO/LTOBackend.cpp (diff)
The file was modifiedllvm/include/llvm/Bitcode/BitcodeWriter.h (diff)
The file was modifiedllvm/lib/Bitcode/Writer/BitcodeWriter.cpp (diff)
Commit 932aae77e92b08e63c0225b6eb37dfa80b310313 by SourabhSingh.Tomar
Revert D86875 "[Flang][NFC] Remove license comments from files in docs/ folder."

This reverts commit f787c9a90c69f, this was causing some build issues.
The file was modifiedflang/docs/Calls.md (diff)
The file was modifiedflang/docs/C++style.md (diff)
The file was modifiedflang/docs/Semantics.md (diff)
The file was modifiedflang/docs/ControlFlowGraph.md (diff)
The file was modifiedflang/docs/Intrinsics.md (diff)
The file was modifiedflang/docs/Preprocessing.md (diff)
The file was modifiedflang/docs/ArrayComposition.md (diff)
The file was modifiedflang/docs/C++17.md (diff)
The file was modifiedflang/docs/ParserCombinators.md (diff)
The file was modifiedflang/docs/OptionComparison.md (diff)
The file was modifiedflang/docs/Parsing.md (diff)
The file was modifiedflang/docs/Character.md (diff)
The file was modifiedflang/docs/Extensions.md (diff)
The file was modifiedflang/docs/PullRequestChecklist.md (diff)
The file was modifiedflang/docs/Overview.md (diff)
The file was modifiedflang/docs/Directives.md (diff)
The file was modifiedflang/docs/FortranForCProgrammers.md (diff)
The file was modifiedflang/docs/OpenMP-semantics.md (diff)
The file was modifiedflang/docs/LabelResolution.md (diff)
The file was modifiedflang/docs/ModFiles.md (diff)
The file was modifiedflang/docs/RuntimeDescriptor.md (diff)
The file was modifiedflang/docs/ImplementingASemanticCheck.md (diff)
The file was modifiedflang/docs/FortranIR.md (diff)
The file was modifiedflang/docs/IORuntimeInternals.md (diff)
Commit cb8cb28ed90a10390bacb264d3b6cbb09c2ea94c by n54
[compiler-rt] [netbsd] Add fallback definitions for MKISCSI=no

Add dev/iscsi/iscsi_ioctl.h fallback ioctl(2) operations.
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cpp (diff)
Commit b85c085c846c2cb5d24812555847846877ca13cb by n54
[compiler-rt] [netbsd] Improve code formatting

No functional change.
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.h (diff)
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cpp (diff)
Commit 46329f6079da99133eab7942e79226b2afb40e75 by anna
[ImplicitNullCheck] Handle instructions that preserve zero value

This is the first in a series of patches to make implicit null checks
more general. This patch identifies instructions that preserves zero
value of a register and considers that as a valid instruction to hoist
along with the faulting load. See added testcases.

Reviewed-By: reames, dantrushin

Differential Revision: https://reviews.llvm.org/D87108
The file was modifiedllvm/include/llvm/CodeGen/TargetInstrInfo.h (diff)
The file was modifiedllvm/test/CodeGen/X86/implicit-null-check.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/implicit-null-check-negative.ll (diff)
The file was modifiedllvm/lib/CodeGen/ImplicitNullChecks.cpp (diff)
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.h (diff)
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp (diff)
Commit d9c8b0256cfc673c2413b13993c9440be598818f by Lang Hames
[Support] Use unique_function rather than std::function for ThreadPool TaskTy.

This will allow non-copyable function objects (e.g. lambdas that capture
unique_ptrs) to be used with ThreadPool.

Differential Revision: https://reviews.llvm.org/D87467
The file was modifiedllvm/include/llvm/Support/ThreadPool.h (diff)
The file was modifiedllvm/unittests/Support/ThreadPool.cpp (diff)