SuccessChanges

Summary

  1. [SVE] Remove reliance on TypeSize comparison operators in unit tests (details)
  2. [SVE][CodeGen] Replace use of TypeSize comparison operator in CreateStackTemporary (details)
  3. [X86] Remove period from end of error message in assembler (details)
  4. [mlir] Expose Value hierarchy to Python bindings (details)
  5. [mlir] Use the correct base class for Attributes in Python bindings (details)
  6. [mlir] Fix copy-pasted docstrings in Python bindings (details)
  7. [X86] Add clang release notes for HRESET and minor change for llvm release notes. (NFC) (details)
Commit f5815105d2762d68000996bff9041216cd7b732e by david.sherwood
[SVE] Remove reliance on TypeSize comparison operators in unit tests

The EXPECT_XY comparison functions all rely upon using the existing
TypeSize comparison operators, which we are deprecating in favour
of isKnownXY. I've changed all such cases to compare either the known
minimum size or the fixed size.

Differential Revision: https://reviews.llvm.org/D89531
The file was modifiedllvm/unittests/CodeGen/ScalableVectorMVTsTest.cpp (diff)
The file was modifiedllvm/unittests/IR/VectorTypesTest.cpp (diff)
Commit 5b17b323a6179d60c58d5048e0679fbbe6782290 by david.sherwood
[SVE][CodeGen] Replace use of TypeSize comparison operator in CreateStackTemporary

We were previously relying upon the TypeSize comparison operators to
obtain the maximum size of two types, however use of such operators is
being deprecated in favour of making the caller aware that it could
be dealing with scalable vector types. I have changed the code to assert
that the two types have the same scalable property and thus we can
simply take the maximum of the known minimum sizes instead.

Differential Revision: https://reviews.llvm.org/D88563
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp (diff)
Commit d4d0b41a822bacffa42ecea3c0f4c6980463dd31 by craig.topper
[X86] Remove period from end of error message in assembler

Addresses post-commit feedback from D89837.
The file was modifiedllvm/lib/Target/X86/AsmParser/X86AsmParser.cpp (diff)
The file was modifiedllvm/test/MC/X86/encoder-fail.s (diff)
Commit 580915d6a2970022d5b7e05d4587de0fd7126c31 by zinenko
[mlir] Expose Value hierarchy to Python bindings

Values are ubiquitous in the IR, in particular block argument and operation
results are Values. Define Python classes for BlockArgument, OpResult and their
common ancestor Value. Define pseudo-container classes for lists of block
arguments and operation results, and use these containers to access the
corresponding values in blocks and operations.

Differential Revision: https://reviews.llvm.org/D89778
The file was modifiedmlir/lib/CAPI/IR/IR.cpp (diff)
The file was modifiedmlir/lib/Bindings/Python/IRModules.h (diff)
The file was modifiedmlir/include/mlir-c/IR.h (diff)
The file was modifiedmlir/lib/Bindings/Python/IRModules.cpp (diff)
The file was modifiedmlir/test/Bindings/Python/ir_operation.py (diff)
Commit 31782cd2199b808cda6733d6448e1314e2c8ec96 by zinenko
[mlir] Use the correct base class for Attributes in Python bindings

The pybind class typedef for concrete attribute classes was erroneously
deriving all of them from PyAttribute instead of the provided base class. This
has not been triggering any error because only one level of the hierarchy is
currently exposed.

Differential Revision: https://reviews.llvm.org/D89779
The file was modifiedmlir/lib/Bindings/Python/IRModules.cpp (diff)
Commit f6f27115e622f2cc6b20579e9d7d84c2304091a1 by zinenko
[mlir] Fix copy-pasted docstrings in Python bindings

Docstrings for `__str__` method in many classes was recycling the constant
string defined for `Type`, without being types themselves. Use proper
docstrings instead. Since they are succint, use string literals instead of
top-level constants to avoid further mistakes.

Differential Revision: https://reviews.llvm.org/D89780
The file was modifiedmlir/lib/Bindings/Python/IRModules.cpp (diff)
Commit e32036b9732fd1ec4794fef48ec79a268aa8cbce by pengfei.wang
[X86] Add clang release notes for HRESET and minor change for llvm release notes. (NFC)
The file was modifiedllvm/docs/ReleaseNotes.rst (diff)
The file was modifiedclang/docs/ReleaseNotes.rst (diff)