From 3ebda6d1a89555a142ac04faab36c279353e95ae Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Mon, 27 Nov 2023 06:04:57 +0900 Subject: [PATCH 1/2] Fill 17.x/ReleaseNotes with my works --- llvm/docs/ReleaseNotes.rst | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/llvm/docs/ReleaseNotes.rst b/llvm/docs/ReleaseNotes.rst index f08a5d8a65d1..c30c69f5fd09 100644 --- a/llvm/docs/ReleaseNotes.rst +++ b/llvm/docs/ReleaseNotes.rst @@ -95,15 +95,45 @@ Changes to LLVM infrastructure `RFC `_ for more details. +* ``ValueTypes.td`` is made richer to represent attributes for + ``MVT``. + +* ``Intrinsics.td`` is able to emit definitions of + ``TypeSig``. ``IntrinsicEmitter`` doesn't depend on + ``MachineValueTypes.h`` anymore. + +* ``llvm/CodeGen/MachineValueType.h`` is moved from ``llvm/Support``. + It uses values defined in ``ValueTypes.td``. + Changes to building LLVM ------------------------ +* ``llvm-min-tblgen`` is internally introduced to build LLVM public + headers. Note that ``llvm-tblgen`` depends on `GenVT.inc` that is + generated by ``llvm-min-tblgen``. Specify the external + ``llvm-tblgen`` for ``LLVM_TABLEGEN`` when you use prebuilt tablegen + tools, since ``llvm-tblgen`` is built as the superset of + ``llvm-min-tblgen``. + Changes to TableGen ------------------- * Named arguments are supported. Arguments can be specified in the form of ``name=value``. +* Each tablegen backend can declare itself as self-contained with + ``llvm::TableGen::Emitter`` as the registry. You don't need to + append entries and options to ``TableGen.cpp``. For now, It is + applied only to ``llvm-tblgen``. + +* The new bang operator ``!range(m, n)`` is introduced. + +* A list subscript ``list_var[i]`` accepts not only immutable values + but also expressions. + +* A list slice ``list_foo[list_bar]`` accepts ``list`` + expressions. + Changes to Optimizations ---------------------------------------- From 2fc4e0c8cab6116c7d90692b7251edb0cb261488 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Tue, 28 Nov 2023 17:49:01 +0900 Subject: [PATCH 2/2] Update ReleaseNotes.rst --- llvm/docs/ReleaseNotes.rst | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/llvm/docs/ReleaseNotes.rst b/llvm/docs/ReleaseNotes.rst index c30c69f5fd09..2d4a51985780 100644 --- a/llvm/docs/ReleaseNotes.rst +++ b/llvm/docs/ReleaseNotes.rst @@ -98,22 +98,23 @@ Changes to LLVM infrastructure * ``ValueTypes.td`` is made richer to represent attributes for ``MVT``. -* ``Intrinsics.td`` is able to emit definitions of - ``TypeSig``. ``IntrinsicEmitter`` doesn't depend on - ``MachineValueTypes.h`` anymore. +* ``IntrinsicEmitter`` no longer depends on ``MachineValueTypes.h``. -* ``llvm/CodeGen/MachineValueType.h`` is moved from ``llvm/Support``. +* ``Intrinsics.td`` is able to emit definitions of ``TypeSig``. + +* ``MachineValueType.h`` is moved from ``llvm/Support`` to ``llvm/CodeGen``. It uses values defined in ``ValueTypes.td``. Changes to building LLVM ------------------------ -* ``llvm-min-tblgen`` is internally introduced to build LLVM public - headers. Note that ``llvm-tblgen`` depends on `GenVT.inc` that is - generated by ``llvm-min-tblgen``. Specify the external - ``llvm-tblgen`` for ``LLVM_TABLEGEN`` when you use prebuilt tablegen - tools, since ``llvm-tblgen`` is built as the superset of - ``llvm-min-tblgen``. +* ``llvm-min-tblgen`` is introduced as a minimal subset of + ``llvm-tblgen``, whose purpose is to generate fragments of public + LLVM headers during LLVM builds. Building ``llvm-tblgen`` now + depends on ``GenVT.inc``, which is produced by + ``llvm-min-tblgen``. ``llvm-min-tblgen`` is an internal LLVM tool + which is not distributed. Users that rely on prebuilt tablegen tools + should use ``llvm-tblgen`` and ignore ``llvm-min-tblgen``. Changes to TableGen ------------------- @@ -122,8 +123,8 @@ Changes to TableGen ``name=value``. * Each tablegen backend can declare itself as self-contained with - ``llvm::TableGen::Emitter`` as the registry. You don't need to - append entries and options to ``TableGen.cpp``. For now, It is + ``llvm::TableGen::Emitter`` as the registry. Users don't need to + append entries and options to ``TableGen.cpp``. For now, it is applied only to ``llvm-tblgen``. * The new bang operator ``!range(m, n)`` is introduced.