git: 69ade1e033e4 - main - Merge llvm-project release/13.x llvmorg-13.0.0-rc2-43-gf56129fe78d5

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Sat, 13 Nov 2021 20:56:39 UTC
The branch main has been updated by dim:

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

commit 69ade1e033e478ec426cafc0ec2104d672de294a
Merge: 6e75b2fbf9a0 f9ef3ff6e2ee
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2021-09-09 20:15:13 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2021-11-13 20:45:49 +0000

    Merge llvm-project release/13.x llvmorg-13.0.0-rc2-43-gf56129fe78d5
    
    This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
    openmp to llvmorg-13.0.0-rc2-43-gf56129fe78d5.
    
    PR:             258209
    MFC after:      2 weeks

 contrib/llvm-project/clang/lib/AST/ASTContext.cpp  |   8 +
 .../llvm-project/clang/lib/Basic/Targets/M68k.cpp  |   4 +-
 .../clang/lib/Basic/Targets/OSTargets.h            |   5 +
 contrib/llvm-project/clang/lib/Driver/Driver.cpp   |   1 -
 .../clang/lib/Driver/ToolChains/AMDGPU.cpp         |  35 +++
 .../clang/lib/Driver/ToolChains/AMDGPU.h           |   5 +
 .../clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp   |  32 ++-
 .../clang/lib/Driver/ToolChains/AMDGPUOpenMP.h     |  14 +-
 .../clang/lib/Driver/ToolChains/Clang.cpp          |   3 +-
 .../clang/lib/Driver/ToolChains/CommonArgs.cpp     |   3 +-
 .../clang/lib/Driver/ToolChains/HIP.cpp            |  33 +--
 .../clang/lib/Driver/ToolChains/OpenBSD.cpp        |   7 +
 .../lib/Headers/__clang_cuda_device_functions.h    | 276 +++++++++++++--------
 .../clang/lib/Headers/__clang_hip_cmath.h          | 188 ++++++++------
 .../clang/lib/Headers/__clang_hip_math.h           |  50 +++-
 .../__clang_openmp_device_functions.h              |  32 ++-
 .../clang/lib/Headers/openmp_wrappers/cmath        |  54 ++++
 .../clang/lib/Headers/openmp_wrappers/math.h       |  10 +
 .../clang/lib/Sema/SemaTemplateInstantiateDecl.cpp |   2 +-
 .../llvm-project/clang/lib/Sema/TreeTransform.h    |   2 +-
 .../clang/lib/Serialization/ASTReader.cpp          |   2 +
 .../compiler-rt/lib/profile/InstrProfilingFile.c   |  19 +-
 .../lib/profile/InstrProfilingPlatformFuchsia.c    |   5 +-
 .../lib/profile/InstrProfilingPlatformLinux.c      |  11 +-
 contrib/llvm-project/libcxx/include/cwctype        |   2 +
 contrib/llvm-project/libcxx/include/string         |  19 ++
 contrib/llvm-project/libcxx/include/vector         |  20 ++
 contrib/llvm-project/libcxx/include/wctype.h       |  10 +
 .../llvm-project/libunwind/src/Unwind-EHABI.cpp    |   2 +
 .../llvm/include/llvm/Analysis/LazyCallGraph.h     |   2 +-
 .../llvm/include/llvm/Analysis/LoopInfo.h          |   2 +-
 .../llvm/include/llvm/Analysis/LoopNestAnalysis.h  |   2 +-
 .../include/llvm/Analysis/TargetTransformInfo.h    |   1 -
 .../llvm/include/llvm/CodeGen/MachineFunction.h    |   2 +-
 .../llvm-project/llvm/include/llvm/IR/Function.h   |   3 +-
 contrib/llvm-project/llvm/include/llvm/IR/Module.h |   6 +-
 .../llvm/lib/Analysis/ScalarEvolution.cpp          |   2 +-
 .../llvm/lib/Analysis/TargetTransformInfo.cpp      |   1 -
 .../lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp    |   5 +-
 .../llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h |   8 +-
 .../llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp     |  31 +--
 .../llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h       |   3 -
 .../llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp      |   9 +-
 .../llvm/lib/CodeGen/HardwareLoops.cpp             |   5 +-
 .../llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp  |   3 +-
 .../CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp  |   7 +-
 .../CodeGen/SelectionDAG/SelectionDAGBuilder.cpp   |   6 +-
 .../lib/CodeGen/SelectionDAG/TargetLowering.cpp    |   7 +-
 .../llvm-project/llvm/lib/Linker/LinkModules.cpp   |  22 +-
 .../llvm-project/llvm/lib/Passes/PassBuilder.cpp   |   5 +-
 .../lib/Target/AArch64/AArch64ISelLowering.cpp     |   2 +
 .../llvm/lib/Target/AArch64/SMEInstrFormats.td     |   2 +-
 .../lib/Target/M68k/AsmParser/M68kAsmParser.cpp    |  28 +--
 .../llvm/lib/Target/M68k/M68kTargetMachine.cpp     |  12 +-
 .../llvm/lib/Target/RISCV/RISCVInstrInfo.cpp       |   2 +-
 .../lib/Target/WebAssembly/WebAssemblyFastISel.cpp |  20 +-
 .../lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp    |  21 ++
 .../Transforms/Scalar/AlignmentFromAssumptions.cpp |   4 +
 .../lib/Transforms/Scalar/LoopIdiomRecognize.cpp   |   5 +
 .../llvm/tools/llvm-cov/CoverageExporterLcov.cpp   |   2 +-
 .../llvm/tools/llvm-objdump/llvm-objdump.cpp       |   9 +-
 lib/clang/include/VCSVersion.inc                   |   8 +-
 lib/clang/include/llvm/Support/VCSRevision.h       |   2 +-
 63 files changed, 752 insertions(+), 351 deletions(-)

diff --cc lib/clang/include/VCSVersion.inc
index fe349d30ca5d,000000000000..0371e33a2a2f
mode 100644,000000..100644
--- a/lib/clang/include/VCSVersion.inc
+++ b/lib/clang/include/VCSVersion.inc
@@@ -1,14 -1,0 +1,14 @@@
 +// $FreeBSD$
 +
- #define LLVM_REVISION "llvmorg-13.0.0-rc1-97-g23ba3732246a"
++#define LLVM_REVISION "llvmorg-13.0.0-rc2-43-gf56129fe78d5"
 +#define LLVM_REPOSITORY "git@github.com:llvm/llvm-project.git"
 +
- #define CLANG_REVISION "llvmorg-13.0.0-rc1-97-g23ba3732246a"
++#define CLANG_REVISION "llvmorg-13.0.0-rc2-43-gf56129fe78d5"
 +#define CLANG_REPOSITORY "git@github.com:llvm/llvm-project.git"
 +
 +// <Upstream revision at import>-<Local identifier in __FreeBSD_version style>
- #define LLD_REVISION "llvmorg-13.0.0-rc1-97-g23ba3732246a-1400002"
++#define LLD_REVISION "llvmorg-13.0.0-rc2-43-gf56129fe78d5-1400002"
 +#define LLD_REPOSITORY "FreeBSD"
 +
- #define LLDB_REVISION "llvmorg-13.0.0-rc1-97-g23ba3732246a"
++#define LLDB_REVISION "llvmorg-13.0.0-rc2-43-gf56129fe78d5"
 +#define LLDB_REPOSITORY "git@github.com:llvm/llvm-project.git"
diff --cc lib/clang/include/llvm/Support/VCSRevision.h
index 1257fe7db9e9,000000000000..ef7b3966a338
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-13.0.0-rc1-97-g23ba3732246a"
++#define LLVM_REVISION "llvmorg-13.0.0-rc2-43-gf56129fe78d5"
 +#define LLVM_REPOSITORY "git@github.com:llvm/llvm-project.git"