SuccessChanges

Summary

  1. [ARM] Reorder some logic (details)
  2. [clang-format] [NFC] Fix spelling mistake in the documentation (details)
  3. [SLP] fix formatting; NFC (details)
  4. Add section with details about DAGs. (details)
  5. [OPENMP]Do not allow threadprivates as base for array-like reduction. (details)
  6. [DSE] Add another test cases with loop carried dependence. (details)
  7. [mlir] Model StringRef in C API (details)
  8. [Partial Inliner] Compute intrinsic cost through TTI (details)
  9. Enable inlining for Linalg dialect (details)
Commit 3ce9ec0cfa9e3690df8a345636d6fa3e385610c3 by sam.parker
[ARM] Reorder some logic

Re-order some checks in ValidateMVEInst.
The file was modifiedllvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
Commit 4dd9c709ef1b59f0ec8e71100c624ec946b95fe2 by mydeveloperday
[clang-format] [NFC] Fix spelling mistake in the documentation

Ensure ClangFormatStyleOptions.rst can be regenerated from Format.h

Patch By: YangZhihui

Reviewed By: MyDeveloperDay

Differential Revision: https://reviews.llvm.org/D87352
The file was modifiedclang/include/clang/Format/Format.h
The file was modifiedclang/docs/ClangFormatStyleOptions.rst
Commit 24238f09edb98b0f460aa41139874ae5d4e5cd8d by spatel
[SLP] fix formatting; NFC

Also move variable declarations closer to usage and add code comments.
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Commit 82687cf47b24a509ecd78e02fbc5666ba667ff4b by paul
Add section with details about DAGs.
The file was modifiedllvm/docs/TableGen/ProgRef.rst
Commit 4341c6618decb4014a167bc83aeeed49ab49b34f by a.bataev
[OPENMP]Do not allow threadprivates as base for array-like reduction.

The base must be shared between the threads, threadprivates are not
allowed to be bases for array-like reductions.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D85762
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/test/OpenMP/parallel_reduction_messages.cpp
Commit cb9528a0420e01caf7f3dc8288a11258fcf1425d by flo
[DSE] Add another test cases with loop carried dependence.
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/multiblock-loop-carried-dependence.ll
Commit 855ec517a300daee6acb48474b6d3304c0914c60 by zinenko
[mlir] Model StringRef in C API

Numerous MLIR functions return instances of `StringRef` to refer to a
non-owning fragment of a string (usually owned by the context). This is a
relatively simple class that is defined in LLVM. Provide a simple wrapper in
the MLIR C API that contains the pointer and length of the string fragment and
use it for Standard attribute functions that return StringRef instead of the
previous, callback-based mechanism.

Reviewed By: stellaraccident

Differential Revision: https://reviews.llvm.org/D87677
The file was addedmlir/include/mlir-c/Support.h
The file was addedmlir/include/mlir/CAPI/Support.h
The file was modifiedmlir/docs/CAPI.md
The file was modifiedmlir/test/CAPI/ir.c
The file was modifiedmlir/lib/CAPI/IR/StandardAttributes.cpp
The file was modifiedmlir/include/mlir-c/StandardAttributes.h
The file was addedmlir/lib/CAPI/IR/Support.cpp
The file was modifiedmlir/lib/Bindings/Python/IRModules.cpp
The file was modifiedmlir/lib/CAPI/IR/CMakeLists.txt
Commit 01e2b394ee16502440dbbb5440502a1e2aaf1477 by flo
[Partial Inliner] Compute intrinsic cost through TTI

https://bugs.llvm.org/show_bug.cgi?id=45932

assert(OutlinedFunctionCost >= Cloner.OutlinedRegionCost && "Outlined function cost should be no less than the outlined region") getting triggered in computeBBInlineCost.

Intrinsics like "assume" are considered regular function calls while computing costs.
This patch enables computeBBInlineCost to queries TTI for intrinsic call cost.

Reviewed By: fhahn

Differential Revision: https://reviews.llvm.org/D87132
The file was addedllvm/test/Transforms/PartialInlining/intrinsic-call-cost.ll
The file was modifiedllvm/lib/Transforms/IPO/PartialInlining.cpp
Commit 8c0dc1e38b6c1a2d35c66ac4b0c1ccd616dd1685 by ntv
Enable inlining for Linalg dialect

Enable inlining for Linalg dialect.

Differential Revision: https://reviews.llvm.org/D87567
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgTypes.cpp
The file was addedmlir/test/Dialect/Linalg/inlining.mlir