SuccessChanges

Changes from Git (git http://labmaster3.local/git/llvm-zorg.git)

Summary

  1. [sanitizer] Switch to patched QEMU (details)
  2. [sanitizer] Fix QEMU checkout (details)
Commit 6e3e7926bcf8e4d83d83d9072990ddc33e02bb11 by Vitaly Buka
[sanitizer] Switch to patched QEMU
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_qemu.sh
Commit b423773c90d5046a6f9eef0e6ed48a1a377282e4 by Vitaly Buka
[sanitizer] Fix QEMU checkout
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_qemu.sh

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. [AArch64][GlobalISel] Legalize oversize G_EXTRACT_VECTOR_ELT sources. (details)
  2. [LoopNest][LoopFlatten] Change LoopFlattenPass to LoopNest pass (details)
  3. [LoopNest][LoopFlatten] Change LoopFlattenPass to LoopNest pass (details)
  4. [MLIR][SPIRV] Use getAsmResultName(...) hook for ConstantOp. (details)
  5. Revert "[LoopNest][LoopFlatten] Change LoopFlattenPass to LoopNest pass" (details)
  6. Revert "[LoopNest][LoopFlatten] Change LoopFlattenPass to LoopNest pass" (details)
  7. [ConstantFolding] Fix -Wunused-variable warning (NFC) (details)
  8. [clang] [MinGW] Fix gcc version detection/picking (details)
  9. Revert "[scudo] Check if MADV_DONTNEED zeroes memory" (details)
  10. [NFC][scudo] Re-enable check in the test (details)
  11. [cmake][scudo] Add missing headers (details)
  12. [WebAssembly][CodeGen] IR support for WebAssembly local variables (details)
  13. [AMDGPU] Precommit test (details)
  14. [AMDGPU] Fix function calls with flat scratch (details)
  15. Revert "[LAA] Support pointer phis in loop by analyzing each incoming pointer." (details)
  16. [NFC][Transforms][Utils] remove useless variable in CloneBasicBlock (details)
  17. ARM: support mandatory tail calls for tailcc & swifttailcc (details)
  18. SwiftTailCC: teach verifier musttail rules applicable to this CC. (details)
  19. Revert "[WebAssembly][CodeGen] IR support for WebAssembly local variables" (details)
  20. [mlir] Don't elide the last op if there is no terminator (details)
  21. SwiftAsync: add Clang attribute to apply the LLVM `swiftasync` one. (details)
  22. [RISCV] Add tests for fixed vector conversions between fp to/from i1 (details)
  23. [RISCV][NFC] Merge identical RV32 and RV64 test checks (details)
  24. Fix "enumerator 'llvm::TargetStackID::WasmLocal' in switch of enum 'llvm::TargetStackID::Value' is not handled" MSVC warnings. NFCI. (details)
  25. [x86] add test for extend of legal vector compare; NFC (details)
  26. [Matrix] Move C++ matrix cast checks to TryStaticCast. (details)
  27. [gn build] (semi-manually) port bd04d78d649b (details)
  28. [clang] NFC: Replace std::pair by a struct in InitHeaderSearch (details)
  29. [AArch64] Add additional vector load scalarization tests for D103077. (details)
  30. [LLD][COFF] Reduce the maximum size of the GHASH table (details)
  31. [libc++] Add all indirect callable concepts and projected (details)
  32. [gn build] Port 58b29a4efc22 (details)
  33. [gn] Make ubsan errors fatal, as in cmake (details)
  34. [IR] Make TypeFinder aware of DIArgList values (details)
  35. [LoopNest][LoopFlatten] Change LoopFlattenPass to LoopNest pass (details)
  36. Revert "Fix "enumerator 'llvm::TargetStackID::WasmLocal' in switch of enum 'llvm::TargetStackID::Value' is not handled" MSVC warnings. NFCI." (details)
  37. [clang][Parse] Add parsing support for C++ attributes on using-declarations (details)
Commit 59a4ee97288b1297bb98edd7f24fecd5e9c57170 by Amara Emerson
[AArch64][GlobalISel] Legalize oversize G_EXTRACT_VECTOR_ELT sources.

Also changes the fewerElements helper to use the lookthrough constant helper
instead of m_ICst, since m_ICst doesn't look through extends.

Differential Revision: https://reviews.llvm.org/D103227
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/arm64-fallback.ll
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-extract-vector-elt.mir
Commit 7952ddb21fb7e086d5a6f97767f235d2f6ae2176 by eopxd
[LoopNest][LoopFlatten] Change LoopFlattenPass to LoopNest pass

This patch changes LoopFlattenPass from FunctionPass to LoopNestPass.

Utilize LoopNest and let function 'Flatten' generate information from it.

Reviewed By: Whitney

Differential Revision: https://reviews.llvm.org/D102904
The file was modifiedllvm/include/llvm/Transforms/Scalar/LoopFlatten.h
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopFlatten.cpp
The file was modifiedllvm/lib/Passes/PassRegistry.def
Commit ffc4d3e06855550a8bd2a691f6d05828d5bf4ddf by eopxd
[LoopNest][LoopFlatten] Change LoopFlattenPass to LoopNest pass

This patch changes LoopFlattenPass from FunctionPass to LoopNestPass.

Utilize LoopNest and let function 'Flatten' generate information from it.

Reviewed By: Whitney

Differential Revision: https://reviews.llvm.org/D102904
The file was modifiedllvm/include/llvm/Transforms/Scalar/LoopFlatten.h
The file was modifiedllvm/lib/Passes/PassRegistry.def
The file was modifiedllvm/lib/Transforms/Scalar/LoopFlatten.cpp
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
Commit e493abcf55a35812d15e16477958baa4bdc92707 by kareem.ergawy
[MLIR][SPIRV] Use getAsmResultName(...) hook for ConstantOp.

Implements better naming for results of `spv.Constant` ops by making it
inherit from OpAsmOpInterface and implementing the associated
getAsmResultName(...) hook.

Reviewed By: antiagainst

Differential Revision: https://reviews.llvm.org/D103152
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVOps.h
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVStructureOps.td
The file was modifiedmlir/test/Dialect/SPIRV/IR/memory-ops.mlir
The file was addedmlir/test/Dialect/SPIRV/IR/asm-op-interface.mlir
The file was modifiedmlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp
Commit 7e06cf8f1ba2263b52f91f96aca01ff033d96cd9 by eopxd
Revert "[LoopNest][LoopFlatten] Change LoopFlattenPass to LoopNest pass"

This reverts commit ffc4d3e06855550a8bd2a691f6d05828d5bf4ddf.
The file was modifiedllvm/include/llvm/Transforms/Scalar/LoopFlatten.h
The file was modifiedllvm/lib/Transforms/Scalar/LoopFlatten.cpp
The file was modifiedllvm/lib/Passes/PassRegistry.def
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
Commit e96d6f4821bf3fa11760da7950055571117ab25e by eopxd
Revert "[LoopNest][LoopFlatten] Change LoopFlattenPass to LoopNest pass"

This reverts commit 7952ddb21fb7e086d5a6f97767f235d2f6ae2176.

Differential Revision: https://reviews.llvm.org/D103302
The file was modifiedllvm/include/llvm/Transforms/Scalar/LoopFlatten.h
The file was modifiedllvm/lib/Passes/PassRegistry.def
The file was modifiedllvm/lib/Transforms/Scalar/LoopFlatten.cpp
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
Commit f2264ebb087272d49e2216476a62f3208ba5a1ea by nullptr.cpp
[ConstantFolding] Fix -Wunused-variable warning (NFC)

GCC warning:
```
/llvm-project/llvm/lib/Analysis/ConstantFolding.cpp: In function ‘llvm::Constant* llvm::ConstantFoldLoadFromConstPtr(llvm::Constant*, llvm::Type*, const llvm::DataLayout&)’:
/llvm-project/llvm/lib/Analysis/ConstantFolding.cpp:713:19: warning: unused variable ‘SimplifiedGEP’ [-Wunused-variable]
  713 |         if (auto *SimplifiedGEP = dyn_cast<GEPOperator>(Simplified)) {
      |                   ^~~~~~~~~~~~~
```
The file was modifiedllvm/lib/Analysis/ConstantFolding.cpp
Commit f59cd8a4a606643e7248cecc239e0d229feb3320 by martin
[clang] [MinGW] Fix gcc version detection/picking

Actually compare each version to the version of the last chosen one.

There's no guarantee that the added test case does showcase the
previous issue (it depends on the order that directory entries
are returned when iterating), but with the issue fixed it should behave
deterministically in any case.

Also improve the match patterns in the mingw-sysroot.cpp test a bit.

Differential Revision: https://reviews.llvm.org/D102873
The file was modifiedclang/lib/Driver/ToolChains/MinGW.cpp
The file was addedclang/test/Driver/Inputs/mingw_ubuntu_posix_tree/usr/lib/gcc/x86_64-w64-mingw32/10.2-posix/include/c++/x86_64-w64-mingw32/.keep
The file was modifiedclang/test/Driver/mingw-sysroot.cpp
The file was addedclang/test/Driver/Inputs/mingw_ubuntu_posix_tree/usr/lib/gcc/x86_64-w64-mingw32/10.2-posix/include-fixed/.keep
The file was modifiedclang/test/Driver/mingw.cpp
The file was addedclang/test/Driver/Inputs/mingw_ubuntu_posix_tree/usr/lib/gcc/x86_64-w64-mingw32/10.2-posix/include/c++/backward/.keep
Commit 4458e8c4b42f3ebd44f909ffc0836224b7141d2e by Vitaly Buka
Revert "[scudo] Check if MADV_DONTNEED zeroes memory"

This reverts commit d423509b8036c29bbf94dab192d12097555ce0f8.

We are going to use patched QEMU.
The file was modifiedcompiler-rt/lib/scudo/standalone/linux.cpp
Commit a6e5a4b464bebb60f4fdfc27700aa37bbfa3fc54 by Vitaly Buka
[NFC][scudo] Re-enable check in the test

It should pass with patched QEMU.
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/common_test.cpp
Commit bd04d78d649bec9b0e10c42d7dcf48af38c3b8f4 by Vitaly Buka
[cmake][scudo] Add missing headers
The file was modifiedcompiler-rt/lib/scudo/standalone/CMakeLists.txt
Commit 00ecf18979e3326b3afee8af3dc701c53ffdc93f by wingo
[WebAssembly][CodeGen] IR support for WebAssembly local variables

This patch adds TargetStackID::WasmLocal.  This stack holds locations of
values that are only addressable by name -- not via a pointer to memory.
For the WebAssembly target, these objects are lowered to WebAssembly
local variables, which are managed by the WebAssembly run-time and are
not addressable by linear memory.

For the WebAssembly target IR indicates that an AllocaInst should be put
on TargetStackID::WasmLocal by putting it in the non-integral address
space WASM_ADDRESS_SPACE_WASM_VAR, with value 1.  SROA will mostly lift
these allocations to SSA locals, but any alloca that reaches instruction
selection (usually in non-optimized builds) will be assigned the new
TargetStackID there.  Loads and stores to those values are transformed
to new WebAssemblyISD::LOCAL_GET / WebAssemblyISD::LOCAL_SET nodes,
which then lower to the type-specific LOCAL_GET_I32 etc instructions via
tablegen patterns.

Differential Revision: https://reviews.llvm.org/D101140
The file was modifiedllvm/include/llvm/CodeGen/TargetFrameLowering.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
The file was addedllvm/test/CodeGen/WebAssembly/ir-locals.ll
The file was modifiedllvm/include/llvm/CodeGen/MIRYamlMapping.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.td
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/WebAssemblyISD.def
The file was addedllvm/test/CodeGen/WebAssembly/ir-locals-stackid.ll
Commit 6133b60a27fe0b89a96d5e10f28b2d9fd68d668f by sebastian.neubauer
[AMDGPU] Precommit test

Add scratch run to gfx-callable-argument-types.ll.
The file was modifiedllvm/test/CodeGen/AMDGPU/gfx-callable-argument-types.ll
Commit 690f5b7a0128a210093e9b217932743ad35b5c5a by sebastian.neubauer
[AMDGPU] Fix function calls with flat scratch

When flat scratch is used, the stack pointer needs to be added when
writing arguments to the stack.
For buffer instructions, this is done in SelectMUBUFScratchOffen
and SelectMUBUFScratchOffset.

Move that to call argument lowering, like it is done in GlobalISel.

Differential Revision: https://reviews.llvm.org/D103166
The file was modifiedllvm/test/CodeGen/AMDGPU/non-entry-alloca.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/callee-special-input-vgprs-packed.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/callee-special-input-vgprs.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/gfx-callable-argument-types.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
Commit ec1f6f7e3f92d806d0f7e4d687173a150102ec5d by flo
Revert "[LAA] Support pointer phis in loop by analyzing each incoming pointer."

This reverts commit 1ed7f8ede564c3b11da4fdca30c36ccbff422576.

This change can cause loop-distribute to crash in some cases. Revert
until I have more time to wrap up a fix.

See  PR50296, PR5028 and D102266.
The file was modifiedllvm/lib/Analysis/LoopAccessAnalysis.cpp
The file was modifiedllvm/test/Analysis/LoopAccessAnalysis/pointer-phis.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/vectorize-pointer-phis.ll
Commit 66ff1cbd71d21620bd303371ec989000d9e882b0 by dongaxis
[NFC][Transforms][Utils] remove useless variable in CloneBasicBlock
The file was modifiedllvm/lib/Transforms/Utils/CloneFunction.cpp
Commit d88f96dff3f192fc0c1bf57f7810b95a709b3591 by Tim Northover
ARM: support mandatory tail calls for tailcc & swifttailcc

This adds support for callee-pop conventions to the ARM backend so that it can
ensure a call marked "tail" is actually a tail call.
The file was modifiedllvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.h
The file was addedllvm/test/CodeGen/ARM/swifttailcc-fastisel.ll
The file was addedllvm/test/CodeGen/ARM/swifttailcc-call.ll
The file was addedllvm/test/CodeGen/ARM/fastcc-tailcall.ll
The file was modifiedllvm/lib/Target/ARM/ARMMachineFunctionInfo.h
The file was addedllvm/test/CodeGen/ARM/tailcc-call.ll
The file was modifiedllvm/lib/Target/ARM/ARMFrameLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMCallingConv.td
The file was modifiedllvm/test/CodeGen/ARM/v8m-tail-call.ll
The file was modifiedllvm/lib/Target/ARM/ARMFastISel.cpp
The file was modifiedllvm/test/CodeGen/ARM/dbg-tcreturn.ll
The file was modifiedllvm/lib/Target/ARM/ARMSubtarget.cpp
The file was modifiedllvm/test/CodeGen/ARM/peephole-callee-save-regalloc.mir
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp
The file was modifiedllvm/lib/Target/ARM/ARMInstrInfo.td
Commit 9ff2eb1ea596a52ad2b5cfab826548c3af0a1e6e by Tim Northover
SwiftTailCC: teach verifier musttail rules applicable to this CC.

SwiftTailCC has a different set of requirements than the C calling convention
for a tail call. The exact argument sequence doesn't have to match, but fewer
ABI-affecting attributes are allowed.

Also make sure the musttail diagnostic triggers if a musttail call isn't
actually a tail call.
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was addedllvm/test/Verifier/tailcc-musttail.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was addedllvm/test/Verifier/swifttailcc-musttail-valid.ll
The file was addedllvm/test/CodeGen/X86/tailcc-notail.ll
The file was modifiedllvm/test/CodeGen/AArch64/swifttail-call.ll
The file was modifiedllvm/docs/LangRef.rst
The file was addedllvm/test/CodeGen/ARM/tailcc-notail.ll
The file was modifiedllvm/lib/IR/Verifier.cpp
The file was addedllvm/test/Verifier/swifttailcc-musttail.ll
The file was addedllvm/test/CodeGen/AArch64/tailcc-notail.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/tailcall-swifttailcc.ll
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 removedllvm/test/CodeGen/WebAssembly/ir-locals.ll
The file was modifiedllvm/lib/Target/WebAssembly/Utils/WebAssemblyUtilities.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.td
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
The file was removedllvm/test/CodeGen/WebAssembly/ir-locals-stackid.ll
The file was modifiedllvm/lib/Target/WebAssembly/Utils/WebAssemblyUtilities.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetFrameLowering.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISD.def
The file was modifiedllvm/include/llvm/CodeGen/MIRYamlMapping.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
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/TestOps.td
The file was modifiedmlir/test/lib/Dialect/Test/TestDialect.cpp
The file was modifiedmlir/lib/IR/AsmPrinter.cpp
The file was modifiedmlir/test/IR/region.mlir
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/lib/Sema/SemaType.cpp
The file was modifiedclang/include/clang/AST/Attr.h
The file was modifiedclang/lib/AST/ItaniumMangle.cpp
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp
The file was modifiedclang/include/clang/Basic/AttrDocs.td
The file was modifiedclang/test/CodeGen/arm-swiftcall.c
The file was modifiedclang/lib/AST/TypePrinter.cpp
The file was modifiedclang/lib/CodeGen/CGCall.cpp
The file was modifiedclang/test/Sema/attr-swiftcall.c
The file was modifiedclang/include/clang/Basic/Attr.td
The file was modifiedclang/test/Misc/pragma-attribute-supported-attributes-list.test
The file was modifiedclang/include/clang/Basic/Specifiers.h
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/RISCV/RISCVFrameLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIFrameLowering.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/indirect_concepts.h
The file was addedlibcxx/test/std/iterators/iterator.requirements/indirectcallable/projected/projected.compile.pass.cpp
The file was addedlibcxx/include/__iterator/projected.h
The file was addedlibcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_unary_predicate.compile.pass.cpp
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_equivalence_relation.compile.pass.cpp
The file was addedlibcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirectly_unary_invocable.compile.pass.cpp
The file was modifiedlibcxx/include/CMakeLists.txt
The file was addedlibcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_result_t.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_binary_predicate.compile.pass.cpp
The file was modifiedlibcxx/include/__iterator/concepts.h
The file was addedlibcxx/test/support/indirectly_readable.h
The file was modifiedlibcxx/include/iterator
The file was addedlibcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirect_strict_weak_order.compile.pass.cpp
Commit 0c4f76c9421a9a72a9c86321628abcb31881ae94 by llvmgnsyncbot
[gn build] Port 58b29a4efc22
The file was modifiedllvm/utils/gn/secondary/libcxx/include/BUILD.gn
Commit 4c6e2774d8273ecf8b23f376066249fee5e6f9f6 by rnk
[gn] Make ubsan errors fatal, as in cmake

Apparently ubsan errors are non-fatal by default. If you introduce UB
into LLVM and run the tests, if errors are not fatal, the test will
still produce the expected output and the tests will pass. In order to
make ubsan errors show up as test failures, they have to be made fatal.
Pass the -fno-sanitize-recover=all flag to make it so.

Differential Revision: https://reviews.llvm.org/D103298
The file was modifiedllvm/utils/gn/build/BUILD.gn
Commit b6e1fb7e32535cd299656372bd40a2597899b022 by david.stenberg
[IR] Make TypeFinder aware of DIArgList values

TypeFinder did not find types under DIArgList. This resulted in a case
of invalid IR after GlobalOpt removed a global that was the only
non-DIArgList use of a struct type.

  error: use of undefined type named 'struct.S'
    call void @llvm.dbg.value(
      metadata !DIArgList([1 x %struct.S]* undef, i64 %idxprom),
      metadata !24, metadata !DIExpression([...]))

Reviewed By: jmorse

Differential Revision: https://reviews.llvm.org/D103306
The file was modifiedllvm/lib/IR/TypeFinder.cpp
The file was addedllvm/test/Transforms/GlobalOpt/deadglobal-diarglist-use.ll
Commit fa488ea864ab448b8294b65df27d24458c149458 by eopxd
[LoopNest][LoopFlatten] Change LoopFlattenPass to LoopNest pass

This patch changes LoopFlattenPass from FunctionPass to LoopNestPass.

Utilize LoopNest and let function 'Flatten' generate information from it.

Reviewed By: Whitney

Differential Revision: https://reviews.llvm.org/D102904
The file was modifiedllvm/lib/Transforms/Scalar/LoopFlatten.cpp
The file was modifiedllvm/include/llvm/Transforms/Scalar/LoopFlatten.h
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
The file was modifiedllvm/lib/Passes/PassRegistry.def
Commit e0c826543706527ff1ec978ac8817fafcbcbbeaa by nemanja.i.ibm
Revert "Fix "enumerator 'llvm::TargetStackID::WasmLocal' in switch of enum 'llvm::TargetStackID::Value' is not handled" MSVC warnings. NFCI."

Since ca5f07f8c4bc96d16ed1992b810aa3897df157f2 already reverted
the cause for this warning, this commit now causes warnings about
a default label in a switch that covers the enum.

This reverts commit cf2eeb114c59cfc3a80133e96c585188fa16cc98.
The file was modifiedllvm/lib/Target/RISCV/RISCVFrameLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIFrameLowering.cpp
Commit dc672999a9b12a156991891dc400308b52d569ba by Louis Dionne
[clang][Parse] Add parsing support for C++ attributes on using-declarations

Differential Revision: https://reviews.llvm.org/D91630
The file was modifiedclang/lib/Parse/ParseDeclCXX.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/include/clang/Basic/Features.def
The file was addedclang/test/SemaCXX/cxx11-attributes-on-using-declaration.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticParseKinds.td
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/include/clang/Parse/Parser.h
The file was modifiedclang/test/Parser/cxx0x-attributes.cpp
The file was modifiedclang/lib/Parse/ParseDecl.cpp
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/docs/LanguageExtensions.rst