SuccessChanges

Summary

  1. [clangd] Fix a tsan failure. (details)
  2. [VPlan] Add VPReductionSC to VPUser::classof, unify VPValue IDs. (details)
  3. [clangd] Extract common file-caching logic from ConfigProvider. (details)
  4. [gn build] Port d95db1693cb (details)
  5. [SVE][CodeGen] Add a DAG combine to extend mscatter indices (details)
  6. DetectDeadLanes.cpp - remove unused headers. NFCI. (details)
  7. SemaExpr.cpp - use castAs<> instead of getAs<> as we dereference the pointer directly. NFCI. (details)
  8. CGCall.cpp - use castAs<> instead of getAs<> as we dereference the pointer directly. NFCI. (details)
  9. TargetInfo.cpp - use castAs<> instead of getAs<> as we dereference the pointer directly. NFCI. (details)
  10. SemaExpr.cpp - use castAs<> instead of getAs<> as we dereference the pointer directly. NFCI. (details)
  11. [ARM][AArch64] Adding Neoverse N2 CPU support (details)
  12. [clangd] Use TimePoint<> instead of system_clock::time_point, it does matter after all. (details)
  13. [libc++] P1645 constexpr for <numeric> (details)
  14. [llvm-readelf/obj] - Stop using `reportError` when dumping notes. (details)
  15. Fix a typo in the documentation to unbreak the sphinx builder. (details)
Commit 0cb38699a09d859dd40da0e4216b6066c63035f6 by hokein.wu
[clangd] Fix a tsan failure.

Tracer must be set up before calling any clangd-specific functions.
The file was modifiedclang-tools-extra/clangd/unittests/RenameTests.cpp
Commit ad5b83ddcf45372f61b9602038006a2ec58dab4a by flo
[VPlan] Add VPReductionSC to VPUser::classof, unify VPValue IDs.

This is a follow-up to 00a66011366c7b037d6680e6015524a41b761c34 to make
isa<VPReductionRecipe> work and unifies the VPValue ID names, by making
sure they all consistently start with VPV*.
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.h
The file was modifiedllvm/unittests/Transforms/Vectorize/VPlanTest.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/VPlanValue.h
Commit d95db1693cbf80b9de58a94b50178fddd62c3e15 by sam.mccall
[clangd] Extract common file-caching logic from ConfigProvider.

The plan is to use this to use this for .clang-format, .clang-tidy, and
compile_commands.json. (Currently the former two are reparsed every
time, and the latter is cached forever and changes are never seen).

Differential Revision: https://reviews.llvm.org/D88172
The file was addedclang-tools-extra/clangd/unittests/support/FileCacheTests.cpp
The file was addedclang-tools-extra/clangd/support/FileCache.cpp
The file was addedclang-tools-extra/clangd/support/FileCache.h
The file was modifiedclang-tools-extra/clangd/ConfigProvider.h
The file was modifiedclang-tools-extra/clangd/support/CMakeLists.txt
The file was modifiedclang-tools-extra/clangd/unittests/ConfigProviderTests.cpp
The file was modifiedclang-tools-extra/clangd/ConfigProvider.cpp
Commit 1c3451c665f9deacb55a4bf38c038096fc93d094 by llvmgnsyncbot
[gn build] Port d95db1693cb
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clangd/support/BUILD.gn
Commit 603d40da9d532ab4706e32c07aba339e180ed865 by kerry.mclaughlin
[SVE][CodeGen] Add a DAG combine to extend mscatter indices

This patch adds a target-specific DAG combine for mscatter to promote indices
with element types i8 or i16 before legalisation, plus various tests with illegal types.

Reviewed By: sdesmalen

Differential Revision: https://reviews.llvm.org/D90945
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was addedllvm/test/CodeGen/AArch64/sve-masked-scatter-legalise.ll
Commit 7e7106d10425369e61a1cbe5b131b7aad57f700f by llvm-dev
DetectDeadLanes.cpp - remove unused headers. NFCI.
The file was modifiedllvm/lib/CodeGen/DetectDeadLanes.cpp
Commit 6d56823116820962984cdd535cbed1191be696c9 by llvm-dev
SemaExpr.cpp - use castAs<> instead of getAs<> as we dereference the pointer directly. NFCI.

castAs<> will assert the correct cast type instead of just returning null, which we then try to dereference immediately.
The file was modifiedclang/lib/Sema/SemaExpr.cpp
Commit eb7ea5aa1ac6030b7bc94c5f2fb42de675cd392f by llvm-dev
CGCall.cpp - use castAs<> instead of getAs<> as we dereference the pointer directly. NFCI.

castAs<> will assert the correct cast type instead of just returning null, which we then try to dereference immediately in the setUsedBits call.
The file was modifiedclang/lib/CodeGen/CGCall.cpp
Commit 9d996c01aad5371ccf3790ce937b1cc85d1b07ab by llvm-dev
TargetInfo.cpp - use castAs<> instead of getAs<> as we dereference the pointer directly. NFCI.

castAs<> will assert the correct cast type instead of just returning null, which we then try to dereference immediately.
The file was modifiedclang/lib/CodeGen/TargetInfo.cpp
Commit 88bb2656708050bdb012c9046b3e30f3975f9949 by llvm-dev
SemaExpr.cpp - use castAs<> instead of getAs<> as we dereference the pointer directly. NFCI.

castAs<> will assert the correct cast type instead of just returning null, which we then try to dereference immediately.
The file was modifiedclang/lib/Sema/SemaExpr.cpp
Commit 2b6691894ab671706051a6d7ef54571546c20d3b by mark.murray
[ARM][AArch64] Adding Neoverse N2 CPU support

Add support for the Neoverse N2 CPU to the ARM and AArch64 backends.

Differential Revision: https://reviews.llvm.org/D91695
The file was modifiedllvm/test/MC/Disassembler/AArch64/armv8.3a-rcpc.txt
The file was modifiedllvm/lib/Target/AArch64/AArch64.td
The file was modifiedllvm/lib/Target/ARM/ARMSubtarget.h
The file was modifiedllvm/lib/Target/AArch64/AArch64Subtarget.cpp
The file was modifiedllvm/test/MC/ARM/armv8.2a-dotprod-a32.s
The file was modifiedllvm/test/CodeGen/AArch64/cpus.ll
The file was modifiedllvm/test/MC/AArch64/armv8.2a-dotprod.s
The file was modifiedllvm/lib/Target/ARM/ARMSubtarget.cpp
The file was modifiedllvm/include/llvm/Support/AArch64TargetParser.def
The file was modifiedllvm/lib/Support/Host.cpp
The file was modifiedllvm/lib/Target/ARM/ARM.td
The file was modifiedllvm/include/llvm/Support/ARMTargetParser.def
The file was modifiedclang/test/Driver/arm-cortex-cpus.c
The file was modifiedllvm/unittests/Support/TargetParserTest.cpp
The file was modifiedllvm/test/CodeGen/AArch64/neon-dot-product.ll
The file was modifiedllvm/test/MC/ARM/armv8.2a-dotprod-t32.s
The file was modifiedclang/test/Driver/aarch64-cpus.c
The file was modifiedllvm/test/MC/AArch64/armv8.3a-rcpc.s
The file was modifiedllvm/test/MC/AArch64/armv8.5a-ssbs.s
The file was modifiedllvm/test/CodeGen/AArch64/remat.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64Subtarget.h
Commit a38d13ed3635bfdd35226e8d8d0661a42bcd35c6 by sam.mccall
[clangd] Use TimePoint<> instead of system_clock::time_point, it does matter after all.
The file was modifiedclang-tools-extra/clangd/support/FileCache.h
Commit eb9b063539c34d0d4dd14e8516eeb77bb8b9e4bd by koraq
[libc++] P1645 constexpr for <numeric>

Implements P1645: constexpr for <numeric> algorithms

Reviewed By: ldionne, #libc

Differential Revision: https://reviews.llvm.org/D90569
The file was modifiedlibcxx/test/std/numerics/numeric.ops/inclusive.scan/inclusive_scan_op.pass.cpp
The file was modifiedlibcxx/test/std/numerics/numeric.ops/inner.product/inner_product_comp.pass.cpp
The file was modifiedlibcxx/test/std/numerics/numeric.ops/inclusive.scan/inclusive_scan_op_init.pass.cpp
The file was modifiedlibcxx/test/std/numerics/numeric.ops/numeric.iota/iota.pass.cpp
The file was modifiedlibcxx/test/std/numerics/numeric.ops/partial.sum/partial_sum.pass.cpp
The file was modifiedlibcxx/test/std/numerics/numeric.ops/accumulate/accumulate.pass.cpp
The file was modifiedlibcxx/test/std/numerics/numeric.ops/transform.inclusive.scan/transform_inclusive_scan_bop_uop.pass.cpp
The file was modifiedlibcxx/test/std/numerics/numeric.ops/transform.inclusive.scan/transform_inclusive_scan_bop_uop_init.pass.cpp
The file was modifiedlibcxx/test/std/numerics/numeric.ops/transform.reduce/transform_reduce_iter_iter_init_bop_uop.pass.cpp
The file was modifiedlibcxx/utils/generate_feature_test_macro_components.py
The file was modifiedlibcxx/docs/FeatureTestMacroTable.rst
The file was modifiedlibcxx/test/std/numerics/numeric.ops/exclusive.scan/exclusive_scan_init_op.pass.cpp
The file was modifiedlibcxx/test/std/numerics/numeric.ops/adjacent.difference/adjacent_difference_op.pass.cpp
The file was modifiedlibcxx/www/cxx2a_status.html
The file was modifiedlibcxx/test/std/numerics/numeric.ops/inner.product/inner_product.pass.cpp
The file was modifiedlibcxx/test/std/numerics/numeric.ops/reduce/reduce_init.pass.cpp
The file was modifiedlibcxx/test/std/numerics/numeric.ops/partial.sum/partial_sum_op.pass.cpp
The file was modifiedlibcxx/test/std/numerics/numeric.ops/reduce/reduce_init_op.pass.cpp
The file was modifiedlibcxx/test/std/numerics/numeric.ops/transform.exclusive.scan/transform_exclusive_scan_init_bop_uop.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/numeric.version.pass.cpp
The file was modifiedlibcxx/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp
The file was modifiedlibcxx/test/std/numerics/numeric.ops/exclusive.scan/exclusive_scan.pass.cpp
The file was modifiedlibcxx/test/std/numerics/numeric.ops/transform.reduce/transform_reduce_iter_iter_iter_init_op_op.pass.cpp
The file was modifiedlibcxx/include/version
The file was modifiedlibcxx/test/std/numerics/numeric.ops/reduce/reduce.pass.cpp
The file was modifiedlibcxx/test/std/numerics/numeric.ops/transform.reduce/transform_reduce_iter_iter_iter_init.pass.cpp
The file was modifiedlibcxx/test/std/numerics/numeric.ops/accumulate/accumulate_op.pass.cpp
The file was modifiedlibcxx/test/std/numerics/numeric.ops/inclusive.scan/inclusive_scan.pass.cpp
The file was modifiedlibcxx/test/std/numerics/numeric.ops/adjacent.difference/adjacent_difference.pass.cpp
The file was modifiedlibcxx/include/numeric
Commit ce322fb0b8973134f9e0f8f38e99f7051d24acb8 by grimar
[llvm-readelf/obj] - Stop using `reportError` when dumping notes.

This starts using `reportUniqueWarnings` instead of `reportError`
in the code that is responsible for dumping notes.

Differential revision: https://reviews.llvm.org/D92021
The file was modifiedllvm/test/tools/llvm-readobj/ELF/gnu-notes.test
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
Commit ed242da0ffa28493d8a5ee6b80ecbe2441ca48a7 by aaron
Fix a typo in the documentation to unbreak the sphinx builder.
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/readability-identifier-naming.rst