SuccessChanges

Summary

  1. [EarlyCSE] Common gc.relocate calls. (details)
  2. [mlir] Introduce CallOp converter for buffer placement (details)
  3. [LV] Make sure the MaxVF is a power-of-2 by rounding down. (details)
  4. [Sema] Fix -Wunused-variable in CreateBuiltinMatrixSubscriptExpr (NFC). (details)
  5. TextAPIWriter.h - reduce MemoryBuffer.h include to forward declarations. NFC. (details)
  6. TextAPIReader.h - reduce MemoryBuffer.h include to forward declaration. NFC. (details)
  7. [mlir] post-commit review fixes (details)
  8. Add missing MemoryBuffer.h include (details)
Commit 3c626c714c9d1521b57ff07b1211f9d21cbeceef by dantrushin
[EarlyCSE] Common gc.relocate calls.

gc.relocate intrinsic is special in that its second and third operands
are not real values, but indices into relocate's parent statepoint list
of GC pointers.
To be CSE'd, they need special handling in `isEqual()` and `getHashCode()`.

Reviewed By: reames
Differential Revision: https://reviews.llvm.org/D80445
The file was addedllvm/test/Transforms/EarlyCSE/gc_relocate.ll
The file was modifiedllvm/lib/Transforms/Scalar/EarlyCSE.cpp
Commit 3f6a35e3ffd49e063bb12464513b3847c535c242 by ehsan.nadjaran_toosi
[mlir] Introduce CallOp converter for buffer placement

Add BufferAssignmentCallOpConverter as a pattern rewriter for Buffer
Placement. It matches the signature of the caller operation with the callee
after rewriting the callee with FunctionAndBlockSignatureConverter.

Differential Revision: https://reviews.llvm.org/D80785
The file was modifiedmlir/lib/Transforms/BufferPlacement.cpp
The file was modifiedmlir/test/lib/Transforms/TestBufferPlacement.cpp
The file was modifiedmlir/include/mlir/Transforms/BufferPlacement.h
The file was modifiedmlir/test/Transforms/buffer-placement-preparation.mlir
Commit b446ec56a2987ba02dc2c80d42100be4a4689215 by flo
[LV] Make sure the MaxVF is a power-of-2 by rounding down.

LV currently only supports power of 2 vectorization factors, which has
been made explicit with the assertion added in
840450549c9199150cbdee29acef756c19660ca1.

However, if the widest type is not a power-of-2 the computed MaxVF won't
be a power-of-2 either. This patch updates computeFeasibleMaxVF to
ensure the returned value is a power-of-2 by rounding down to the
nearest power-of-2.

Fixes PR46139.

Reviewers: Ayal, gilr, rengolin

Reviewed By: Ayal

Differential Revision: https://reviews.llvm.org/D80870
The file was addedllvm/test/Transforms/LoopVectorize/X86/fp80-widest-type.ll
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit a6a42df506ca93df69725f732c396050060f026f by flo
[Sema] Fix -Wunused-variable in CreateBuiltinMatrixSubscriptExpr (NFC).
The file was modifiedclang/lib/Sema/SemaExpr.cpp
Commit f322f1a9ed65bb55528e8b8066572831ca26fe57 by llvm-dev
TextAPIWriter.h - reduce MemoryBuffer.h include to forward declarations. NFC.
The file was modifiedllvm/include/llvm/TextAPI/MachO/TextAPIWriter.h
Commit c1e855479e4a2ca1f968360622d3b5c8100b97f5 by llvm-dev
TextAPIReader.h - reduce MemoryBuffer.h include to forward declaration. NFC.
The file was modifiedllvm/include/llvm/TextAPI/MachO/TextAPIReader.h
Commit 195d8571b9e296e7894d51cf59b7aeed42eaa2d2 by zinenko
[mlir] post-commit review fixes

This fixes several post-commit nits from D79688 and D80135, namely
typos, debug output and control flow inversion.
The file was modifiedmlir/lib/Dialect/GPU/Transforms/MemoryPromotion.cpp
The file was modifiedmlir/lib/Dialect/SCF/SCF.cpp
The file was modifiedmlir/lib/Transforms/DialectConversion.cpp
Commit c5b9fa1ccced3b4b20901f78c693a1a84aff372b by llvm-dev
Add missing MemoryBuffer.h include
The file was modifiedllvm/unittests/TextAPI/TextStubHelpers.h