SuccessChanges

Summary

  1. [ThinLTOCodeGenerator] Add support for index-based WPD (details)
  2. [Arm][libsanitizer] Fix arm libsanitizer failure with bleeding edge (details)
  3. SystemInitializerCommon fix compilation on linux (details)
  4. [AArch64][SVE] Add SPLAT_VECTOR ISD Node (details)
  5. [ThinLTOCodeGenerator] Add support for index-based WPD (details)
  6. [clangd] Report declaration references in findExplicitReferences. (details)
Commit eb34c3e8a4a8311a4df5f13b217275e7c1985dc8 by eleviant
[ThinLTOCodeGenerator] Add support for index-based WPD
Differential revision: https://reviews.llvm.org/D68950
llvm-svn: 375219
The file was addedllvm/test/ThinLTO/X86/devirt_promote_legacy.ll
The file was modifiedllvm/lib/LTO/ThinLTOCodeGenerator.cpp
Commit 9c155985f17fd369bbba311b714fb6c01c17d66e by sjoerd.meijer
[Arm][libsanitizer] Fix arm libsanitizer failure with bleeding edge
glibc
Glibc has recently introduced changed to the mode field in ipc_perm in
commit 2f959dfe849e0646e27403f2e4091536496ac0f0. For Arm this means that
the mode field no longer has the same size.
This causes an assert failure against libsanitizer's internal copy of
ipc_perm. Since this change can't be easily detected I am adding arm to
the list of targets that are excluded from this check.
Patch by: Tamar Christina
Differential Revision: https://reviews.llvm.org/D69104
llvm-svn: 375220
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
Commit 0c304917740228968d2daf1a414e7ec3f94cd171 by pavel
SystemInitializerCommon fix compilation on linux
C++ defines two overloads of std::iscntrl. One in <cctype> and one in
<locale>. On linux we seem to include both which makes the std::erase_if
call ambiguous.
Wrap std::iscntrl call in a lambda to ensure regular overload
resolution.
llvm-svn: 375221
The file was modifiedlldb/source/Initialization/SystemInitializerCommon.cpp
Commit 84da2596f96d388e9cd21d16e64687bca68f436a by graham.hunter
[AArch64][SVE] Add SPLAT_VECTOR ISD Node
Adds a new ISD node to replicate a scalar value across all elements of a
vector. This is needed for scalable vectors, since BUILD_VECTOR cannot
be used.
Fixes up default type legalization for scalable vectors after the new
MVT type ranges were introduced.
At present I only use this node for scalable vectors. A DAGCombine has
been added to transform a BUILD_VECTOR into a SPLAT_VECTOR if all
elements are the same, but only if the default operation action of
Expand has been overridden by the target.
I've only added result promotion legalization for scalable vector
i8/i16/i32/i64 types in AArch64 for now.
Reviewers: t.p.northover, javed.absar, greened, cameron.mcinally,
jmolloy
Reviewed By: jmolloy
Differential Revision: https://reviews.llvm.org/D47775
llvm-svn: 375222
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.h
The file was addedllvm/test/CodeGen/AArch64/sve-vector-splat.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
The file was modifiedllvm/include/llvm/CodeGen/ISDOpcodes.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
The file was modifiedllvm/lib/CodeGen/TargetLoweringBase.cpp
The file was modifiedllvm/lib/Target/AArch64/SVEInstrFormats.td
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
Commit bc887a8d4a379625f9abf3d53cfa56fb1d26e78d by eleviant
[ThinLTOCodeGenerator] Add support for index-based WPD
This is clang part of the patch. It adds -flto-unit flag for thin LTO
builds on Mac and PS4
Differential revision: https://reviews.llvm.org/D68950
llvm-svn: 375224
The file was modifiedclang/test/Driver/lto-unit.c
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
Commit 65f61c0030c5c375852f27ff6dd21e6a078e2420 by hokein
[clangd] Report declaration references in findExplicitReferences.
Reviewers: ilya-biryukov
Subscribers: MaskRay, jkorous, arphaman, kadircet, usaxena95,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68977
llvm-svn: 375226
The file was modifiedclang-tools-extra/clangd/FindTarget.h
The file was modifiedclang-tools-extra/clangd/AST.h
The file was modifiedclang-tools-extra/clangd/XRefs.cpp
The file was modifiedclang-tools-extra/clangd/FindTarget.cpp
The file was modifiedclang-tools-extra/clangd/unittests/XRefsTests.cpp
The file was modifiedclang-tools-extra/clangd/AST.cpp
The file was modifiedclang-tools-extra/clangd/unittests/FindTargetTests.cpp