git: fb03ea46eb85 - main - Merge llvm-project release/14.x llvmorg-14.0.0-rc4-2-gadd3ab7f4c8a

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Sat, 14 May 2022 11:50:06 UTC
The branch main has been updated by dim:

URL: https://cgit.FreeBSD.org/src/commit/?id=fb03ea46eb853b2d128828e9d82882125bcc1657

commit fb03ea46eb853b2d128828e9d82882125bcc1657
Merge: a1f13cbcbb26 7ed720081106
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2022-03-17 19:16:00 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2022-05-14 11:46:23 +0000

    Merge llvm-project release/14.x llvmorg-14.0.0-rc4-2-gadd3ab7f4c8a
    
    This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
    openmp to llvmorg-14.0.0-rc4-2-gadd3ab7f4c8a.
    
    PR:             261742
    MFC after:      2 weeks

 .../clang/include/clang/Basic/LangOptions.h        |  4 --
 .../clang/lib/AST/RecordLayoutBuilder.cpp          |  7 +-
 .../clang/lib/Driver/ToolChains/PPCLinux.cpp       |  6 +-
 .../clang/lib/Frontend/CompilerInvocation.cpp      |  4 --
 .../clang/lib/Sema/SemaTemplateInstantiateDecl.cpp |  4 +-
 contrib/llvm-project/libcxx/include/span           | 50 ++++++++++++-
 contrib/llvm-project/lld/COFF/Writer.cpp           |  8 ++-
 .../llvm/include/llvm/Analysis/InlineCost.h        |  5 ++
 .../llvm/include/llvm/Transforms/Scalar.h          |  3 +-
 .../llvm/include/llvm/Transforms/Scalar/LICM.h     | 20 ++++--
 .../llvm/include/llvm/Transforms/Utils/LoopUtils.h |  9 ++-
 .../llvm/Transforms/Utils/SimplifyCFGOptions.h     |  5 ++
 .../llvm-project/llvm/lib/Analysis/InlineCost.cpp  | 13 +++-
 .../llvm-project/llvm/lib/CodeGen/MachineSink.cpp  | 12 ++++
 .../llvm-project/llvm/lib/MC/WasmObjectWriter.cpp  | 62 ++++++++++------
 .../llvm-project/llvm/lib/Passes/PassBuilder.cpp   |  2 +
 .../llvm/lib/Passes/PassBuilderPipelines.cpp       | 82 +++++++++++++++-------
 .../llvm-project/llvm/lib/Passes/PassRegistry.def  |  1 +
 .../lib/Target/AArch64/AArch64TargetMachine.cpp    |  1 +
 .../lib/Target/Hexagon/HexagonISelLoweringHVX.cpp  |  8 +--
 .../lib/Target/Hexagon/HexagonTargetMachine.cpp    |  1 +
 .../llvm/lib/Target/Mips/MipsISelLowering.cpp      | 13 ++--
 .../llvm/lib/Transforms/IPO/Inliner.cpp            | 45 ++++++++++--
 .../llvm/lib/Transforms/IPO/OpenMPOpt.cpp          | 38 +++++-----
 .../llvm/lib/Transforms/IPO/PassManagerBuilder.cpp | 55 ++++++++++-----
 .../llvm/lib/Transforms/Scalar/LICM.cpp            | 71 ++++++++++---------
 .../llvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp |  9 +++
 .../llvm/lib/Transforms/Utils/SimplifyCFG.cpp      |  4 +-
 lib/clang/include/VCSVersion.inc                   |  6 +-
 lib/clang/include/lld/Common/Version.inc           |  2 +-
 lib/clang/include/llvm/Support/VCSRevision.h       |  2 +-
 31 files changed, 387 insertions(+), 165 deletions(-)

diff --cc lib/clang/include/VCSVersion.inc
index 073becaaedab,000000000000..f5ca305f872e
mode 100644,000000..100644
--- a/lib/clang/include/VCSVersion.inc
+++ b/lib/clang/include/VCSVersion.inc
@@@ -1,10 -1,0 +1,10 @@@
 +// $FreeBSD$
 +
- #define LLVM_REVISION "llvmorg-14.0.0-rc2-12-g09546e1b5103"
++#define LLVM_REVISION "llvmorg-14.0.0-rc4-2-gadd3ab7f4c8a"
 +#define LLVM_REPOSITORY "https://github.com/llvm/llvm-project.git"
 +
- #define CLANG_REVISION "llvmorg-14.0.0-rc2-12-g09546e1b5103"
++#define CLANG_REVISION "llvmorg-14.0.0-rc4-2-gadd3ab7f4c8a"
 +#define CLANG_REPOSITORY "https://github.com/llvm/llvm-project.git"
 +
- #define LLDB_REVISION "llvmorg-14.0.0-rc2-12-g09546e1b5103"
++#define LLDB_REVISION "llvmorg-14.0.0-rc4-2-gadd3ab7f4c8a"
 +#define LLDB_REPOSITORY "https://github.com/llvm/llvm-project.git"
diff --cc lib/clang/include/lld/Common/Version.inc
index 10526b338fbc,000000000000..29771a0900ff
mode 100644,000000..100644
--- a/lib/clang/include/lld/Common/Version.inc
+++ b/lib/clang/include/lld/Common/Version.inc
@@@ -1,4 -1,0 +1,4 @@@
 +// Local identifier in __FreeBSD_version style
 +#define LLD_FREEBSD_VERSION 1400003
 +
- #define LLD_VERSION_STRING "14.0.0 (FreeBSD llvmorg-14.0.0-rc2-12-g09546e1b5103-" __XSTRING(LLD_FREEBSD_VERSION) ")"
++#define LLD_VERSION_STRING "14.0.0 (FreeBSD llvmorg-14.0.0-rc4-2-gadd3ab7f4c8a-" __XSTRING(LLD_FREEBSD_VERSION) ")"
diff --cc lib/clang/include/llvm/Support/VCSRevision.h
index 7444d5650fab,000000000000..fd42c33018a7
mode 100644,000000..100644
--- a/lib/clang/include/llvm/Support/VCSRevision.h
+++ b/lib/clang/include/llvm/Support/VCSRevision.h
@@@ -1,3 -1,0 +1,3 @@@
 +/* $FreeBSD$ */
- #define LLVM_REVISION "llvmorg-14.0.0-rc2-12-g09546e1b5103"
++#define LLVM_REVISION "llvmorg-14.0.0-rc4-2-gadd3ab7f4c8a"
 +#define LLVM_REPOSITORY "https://github.com/llvm/llvm-project.git"