Changes

Summary

  1. [ARM] Fix restoring stack for varargs with SEH split frame pointer push (details)
  2. [clang] [MSVC] Enable unwind tables for ARM (details)
  3. [Driver] Add multiarch path for RISC-V (details)
  4. [mlir][SCF] Add bufferization hook for scf.foreach_thread and terminator. (details)
  5. Revert "[SLP]Improve shuffles cost estimation where possible." (details)
  6. [clang-tidy] `bugprone-use-after-move`: Fix handling of moves in lambda captures (details)
  7. [clang][sema] Remove unused paramter from VerifyBitField (details)
  8. [NFC] Format CGBuilder.h (details)
  9. [DAGCombine] Handle promotion of shift with both operands the same (details)
  10. [mlir][OpenMP] Add memory_order clause tests (details)
  11. [flang][test-suite] Document need for NO_STOP_MESSAGE environment variable. NFC (details)
  12. [cmake] Fix typo in CrossCompile.cmake (details)
  13. [libc++] Fix conjunction/disjunction and mark a few LWG issues as complete (details)
  14. [clang-tidy] Add missing close quote in release notes. (details)
  15. [gn build] Port a29a1a33ac7b (details)
  16. [docs] Fix RST code-block syntax in HowToSetUpLLVMStyleRTTI.rst (details)
Commit 40c937cba239db817b53d47c4525a751a8c488a0 by martin
[ARM] Fix restoring stack for varargs with SEH split frame pointer push

Previously, the "add sp, #12" ended up inserted after "bx lr".

Differential Revision: https://reviews.llvm.org/D126872
The file was modifiedllvm/lib/Target/ARM/ARMFrameLowering.cpp
The file was modifiedllvm/test/CodeGen/ARM/Windows/wineh-framepointer.ll
Commit e8402d5de82ace9399498570a6a2d5cf64463af3 by martin
[clang] [MSVC] Enable unwind tables for ARM

The backend now can generate working unwind information for this
target.

Improve the existing windows-exceptions.cpp testcase to check for
the state of unwind tables on all MSVC architectures.

Differential Revision: https://reviews.llvm.org/D126862
The file was modifiedclang/test/Driver/windows-exceptions.cpp
The file was modifiedclang/lib/Driver/ToolChains/MSVC.cpp
Commit 0d2186373f73995cfcc45f445024fbc9841c99d6 by hahnjo
[Driver] Add multiarch path for RISC-V

This is required to find headers on the Debian port for RISC-V.

Differential Revision: https://reviews.llvm.org/D126672
The file was modifiedclang/lib/Driver/ToolChains/Linux.cpp
Commit 72de7588cc8bf54b48f66e649f621ec182435e1a by nicolas.vasilache
[mlir][SCF] Add bufferization hook for scf.foreach_thread and terminator.

`scf.foreach_thread` results alias with the underlying `scf.foreach_thread.parallel_insert_slice` destination operands
and they bufferize to equivalent buffers in the absence of other conflicts.
`scf.foreach_thread.parallel_insert_slice` conflict detection is similar to `tensor.insert_slice` conflict detection.

Reviewed By: springerm

Differential Revision: https://reviews.llvm.org/D126769
The file was modifiedmlir/include/mlir/Dialect/SCF/SCFOps.td
The file was modifiedmlir/lib/Dialect/SCF/Transforms/BufferizableOpInterfaceImpl.cpp
The file was modifiedmlir/lib/Dialect/SCF/SCF.cpp
The file was modifiedmlir/test/Dialect/SCF/one-shot-bufferize.mlir
Commit df0f30dc36c1703ad1fbefda90d74ca40f207077 by i
Revert "[SLP]Improve shuffles cost estimation where possible."

This reverts commit 9980c9971892378ea82475e000de8df210a58e69.

Caused assertion failures: https://reviews.llvm.org/D115462#3555350
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
The file was modifiedllvm/test/Transforms/SLPVectorizer/AArch64/accelerate-vector-functions.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/load-merge.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/malformed_phis.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/alternate-int-inseltpoison.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/resched.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/AArch64/accelerate-vector-functions-inseltpoison.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/load-merge-inseltpoison.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/PR39774.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/alternate-int.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/AArch64/tsc-s116.ll
Commit 8b90b2539048a581052a4b0d7628ffba0cd582a9 by mboehme
[clang-tidy] `bugprone-use-after-move`: Fix handling of moves in lambda captures

Previously, we were treating a move in the lambda capture as if it happened
within the body of the lambda, not within the function that defines the lambda.

This fixes the same bug as https://reviews.llvm.org/D119165 (which it appears
may have been abandoned by the author?) but does so more simply.

Reviewed By: njames93

Differential Revision: https://reviews.llvm.org/D126780
The file was modifiedclang-tools-extra/clang-tidy/bugprone/UseAfterMoveCheck.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-use-after-move.cpp
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst
Commit a459d1eb2c779516652b3e6863cc3973d9bfbbef by tbaeder
[clang][sema] Remove unused paramter from VerifyBitField

The ZeroWidth paramter is unused in every call site of VerifyBitField.
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
Commit c698189696d33e7304d94cd4212bd81818ea81a0 by gchatelet
[NFC] Format CGBuilder.h
The file was modifiedclang/lib/CodeGen/CGBuilder.h
Commit ad742cf85da105c9374aa24764b30f5ff668e361 by npopov
[DAGCombine] Handle promotion of shift with both operands the same

When promoting a shift, make sure we only fetch the second operand
after promoting the first. Load promotion may replace users of the
old load, and we don't want to be left with a dangling reference to
the old load instruction.

The crashing test case is from https://reviews.llvm.org/D126689#3553212.

Differential Revision: https://reviews.llvm.org/D126886
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was addedllvm/test/CodeGen/X86/promote-sra-by-itself.ll
Commit f5d29c15bf8f70bcab6a697e7c1cbc04607bee95 by Shraiysh.Vaishay
[mlir][OpenMP] Add memory_order clause tests

This patch adds tests for memory_order clause for atomic update and
capture operations. This patch also adds a check for making sure that
the operations inside and omp.atomic.capture region do not specify the
memory_order clause.

Reviewed By: kiranchandramohan, peixin

Differential Revision: https://reviews.llvm.org/D126195
The file was modifiedmlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
The file was modifiedmlir/test/Dialect/OpenMP/invalid.mlir
The file was modifiedmlir/test/Dialect/OpenMP/ops.mlir
Commit 7ce8c59b383a372d8fd4c44ab3b0dfbcd568d757 by diana.picus
[flang][test-suite] Document need for NO_STOP_MESSAGE environment variable. NFC

When running the llvm-test-suite with flang, we get a lot of failures
because of the output of the `STOP` statement. We can workaround them by
setting `NO_STOP_MESSAGE=1` in the environment. This patch adds a few
words about it to the docs about the Fortran part of the llvm-test-suite.

See also https://reviews.llvm.org/D126360
The file was modifiedflang/docs/FortranLLVMTestSuite.md
Commit f31797f9f1b48f2746e36724d248f6c2d8b9e276 by hahnjo
[cmake] Fix typo in CrossCompile.cmake
The file was modifiedllvm/cmake/modules/CrossCompile.cmake
Commit a29a1a33ac7b567031e5995cc0f17784a1c4be7a by nikolasklauser
[libc++] Fix conjunction/disjunction and mark a few LWG issues as complete

Fixes #54803
Fixes #53133

Reviewed By: ldionne, #libc

Spies: libcxx-commits, mgorny

Differential Revision: https://reviews.llvm.org/D125221
The file was modifiedlibcxx/docs/Status/Cxx17Issues.csv
The file was addedlibcxx/test/std/utilities/meta/meta.logical/conjunction.compile.pass.cpp
The file was modifiedlibcxx/include/CMakeLists.txt
The file was removedlibcxx/test/std/utilities/meta/meta.logical/conjunction.pass.cpp
The file was addedlibcxx/include/__type_traits/disjunction.h
The file was modifiedlibcxx/include/type_traits
The file was modifiedlibcxx/test/libcxx/private_headers.verify.cpp
The file was addedlibcxx/test/std/utilities/meta/meta.logical/disjunction.compile.pass.cpp
The file was addedlibcxx/include/__type_traits/conjunction.h
The file was modifiedlibcxx/include/module.modulemap
The file was removedlibcxx/test/std/utilities/meta/meta.logical/disjunction.pass.cpp
Commit b50542f21e95800ca1d49b50bddd8e91e0f256fc by mboehme
[clang-tidy] Add missing close quote in release notes.

Sorry for the breakage.
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst
Commit 1523e8bb192804df336a308364887e9ad1bef087 by llvmgnsyncbot
[gn build] Port a29a1a33ac7b
The file was modifiedllvm/utils/gn/secondary/libcxx/include/BUILD.gn
Commit 8b18572ea7ca7733d8140cb1947079b8704d37db by kristof.beyls
[docs] Fix RST code-block syntax in HowToSetUpLLVMStyleRTTI.rst
The file was modifiedllvm/docs/HowToSetUpLLVMStyleRTTI.rst