Changes

Summary

  1. Revert "[WebAssembly][CodeGen] IR support for WebAssembly local variables" (details)
  2. [mlir] Don't elide the last op if there is no terminator (details)
  3. SwiftAsync: add Clang attribute to apply the LLVM `swiftasync` one. (details)
  4. [RISCV] Add tests for fixed vector conversions between fp to/from i1 (details)
  5. [RISCV][NFC] Merge identical RV32 and RV64 test checks (details)
  6. Fix "enumerator 'llvm::TargetStackID::WasmLocal' in switch of enum 'llvm::TargetStackID::Value' is not handled" MSVC warnings. NFCI. (details)
  7. [x86] add test for extend of legal vector compare; NFC (details)
  8. [Matrix] Move C++ matrix cast checks to TryStaticCast. (details)
  9. [gn build] (semi-manually) port bd04d78d649b (details)
  10. [clang] NFC: Replace std::pair by a struct in InitHeaderSearch (details)
  11. [AArch64] Add additional vector load scalarization tests for D103077. (details)
  12. [LLD][COFF] Reduce the maximum size of the GHASH table (details)
  13. [libc++] Add all indirect callable concepts and projected (details)
Commit ca5f07f8c4bc96d16ed1992b810aa3897df157f2 by wingo
Revert "[WebAssembly][CodeGen] IR support for WebAssembly local variables"

This reverts commit 00ecf18979e3326b3afee8af3dc701c53ffdc93f, as it
broke the AMDGPU build.  Will reland later with a fix.
The file was modifiedllvm/include/llvm/CodeGen/TargetFrameLowering.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.td
The file was modifiedllvm/include/llvm/CodeGen/MIRYamlMapping.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISD.def
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/WebAssembly/Utils/WebAssemblyUtilities.h
The file was modifiedllvm/lib/Target/WebAssembly/Utils/WebAssemblyUtilities.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
The file was removedllvm/test/CodeGen/WebAssembly/ir-locals.ll
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.cpp
The file was removedllvm/test/CodeGen/WebAssembly/ir-locals-stackid.ll
Commit 4694097dab72cc8caed8b93b82c87de686e81df6 by antiagainst
[mlir] Don't elide the last op if there is no terminator

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D103264
The file was modifiedmlir/test/lib/Dialect/Test/TestDialect.cpp
The file was modifiedmlir/test/lib/Dialect/Test/TestOps.td
The file was modifiedmlir/test/IR/region.mlir
The file was modifiedmlir/lib/IR/AsmPrinter.cpp
Commit e94fada045fe88787a414e3307412c1cc3a1b259 by Tim Northover
SwiftAsync: add Clang attribute to apply the LLVM `swiftasync` one.

Expected to be used by Swift runtime developers.
The file was modifiedclang/include/clang/AST/Attr.h
The file was modifiedclang/lib/CodeGen/CGCall.cpp
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was modifiedclang/test/CodeGen/arm-swiftcall.c
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp
The file was modifiedclang/include/clang/Basic/Attr.td
The file was modifiedclang/lib/AST/ItaniumMangle.cpp
The file was modifiedclang/include/clang/Basic/AttrDocs.td
The file was modifiedclang/test/Sema/attr-swiftcall.c
The file was modifiedclang/test/Misc/pragma-attribute-supported-attributes-list.test
The file was modifiedclang/include/clang/Basic/Specifiers.h
The file was modifiedclang/lib/AST/TypePrinter.cpp
Commit f3afd0d193d2869933559f6d1a876b6c5707d1a9 by fraser
[RISCV] Add tests for fixed vector conversions between fp to/from i1

These fixed-length versions don't crash unlike the corresponding
scalable ones, but the code generation is scalarized. An imminent patch
will support scalable-vector conversions and improve the codegen for
these fixed-length conversions.
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp2i.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-i2fp.ll
Commit 3f5ae36833e28f29785a3485315556e957f6a5c7 by fraser
[RISCV][NFC] Merge identical RV32 and RV64 test checks
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vfptoi-sdnode.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vitofp-sdnode.ll
Commit cf2eeb114c59cfc3a80133e96c585188fa16cc98 by llvm-dev
Fix "enumerator 'llvm::TargetStackID::WasmLocal' in switch of enum 'llvm::TargetStackID::Value' is not handled" MSVC warnings. NFCI.
The file was modifiedllvm/lib/Target/AMDGPU/SIFrameLowering.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVFrameLowering.cpp
Commit 49b2f8328f363b8c989f8139c2ab2063f26363ea by spatel
[x86] add test for extend of legal vector compare; NFC

Additional test coverage for D103280.
The file was modifiedllvm/test/CodeGen/X86/sext-vsetcc.ll
Commit 5bccdde070d29fb83aec69c498285b4c8914f8d1 by flo
[Matrix] Move C++ matrix cast checks to TryStaticCast.

At the moment, the matrix support in CheckCXXCStyleCast (added in
D101696) breaks function-style constructor calls that take a
single matrix value, because it is treated as matrix cast.

Instead, unify the C++ matrix cast handling by moving the logic to
TryStaticCast and only handle the case where both types are matrix
types. Otherwise, fall back to the generic mis-match detection.

Suggested by @rjmccall

Reviewed By: SaurabhJha

Differential Revision: https://reviews.llvm.org/D103163
The file was modifiedclang/test/CodeGenCXX/matrix-casts.cpp
The file was modifiedclang/lib/Sema/SemaCast.cpp
The file was modifiedclang/test/SemaCXX/matrix-casts.cpp
Commit 6915a55824d1204f51f329d3bbd7a425a93150bc by thakis
[gn build] (semi-manually) port bd04d78d649b
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/scudo/standalone/BUILD.gn
Commit b76df3235cd05d11baea67ae684f9f1fd883b76d by Jan Svoboda
[clang] NFC: Replace std::pair by a struct in InitHeaderSearch

This patch replaces a `std::pair` by a proper struct in `InitHeaderSearch`. This will be useful in a follow-up: D102923.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D102924
The file was modifiedclang/lib/Frontend/InitHeaderSearch.cpp
Commit a773b2e430a830852c7b8ae3690ed44950c51c63 by flo
[AArch64] Add additional vector load scalarization tests for D103077.
The file was modifiedllvm/test/CodeGen/AArch64/arm64-indexed-vector-ldst.ll
Commit 2b9b9652ce27467283ae90a767af57d838a2465b by alexandre.ganea
[LLD][COFF] Reduce the maximum size of the GHASH table

Before this patch, the maximum size of the GHASH table was 2^31 buckets. However we were storing the bucket index into a TypeIndex which has an input limit of (2^31)-4095 indices, see this link. Any value above that limit will improperly set the TypeIndex's high bit, which is interpreted as DecoratedItemIdMask. This used to cause bad indices on extraction when calling TypeIndex::toArrayIndex().

Differential Revision: https://reviews.llvm.org/D103297
The file was modifiedlld/COFF/DebugTypes.cpp
Commit 58b29a4efc2212802f205e1614d58fa3c337105c by Louis Dionne
[libc++] Add all indirect callable concepts and projected

Differential Revision: https://reviews.llvm.org/D101277
The file was addedlibcxx/include/__iterator/projected.h
The file was addedlibcxx/include/__iterator/indirect_concepts.h
The file was addedlibcxx/test/std/iterators/iterator.requirements/indirectcallable/projected/projected.compile.pass.cpp
The file was addedlibcxx/test/std/iterators/iterator.requirements/iterator.concepts/iterator.concept.readable/iter_common_reference_t.compile.pass.cpp
The file was addedlibcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_equivalence_relation.compile.pass.cpp
The file was modifiedlibcxx/include/iterator
The file was addedlibcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_binary_predicate.compile.pass.cpp
The file was modifiedlibcxx/include/CMakeLists.txt
The file was addedlibcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirectly_regular_unary_invocable.compile.pass.cpp
The file was addedlibcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_result_t.compile.pass.cpp
The file was addedlibcxx/test/support/indirectly_readable.h
The file was addedlibcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_strict_weak_order.compile.pass.cpp
The file was addedlibcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirectly_unary_invocable.compile.pass.cpp
The file was addedlibcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_unary_predicate.compile.pass.cpp
The file was modifiedlibcxx/include/__iterator/concepts.h