[all-commits] [llvm/llvm-project] b8186b: [mlir][ods] Unique attribute, successor, region co...

Jeff Niu via All-commits all-commits at lists.llvm.org
Thu Nov 11 17:04:20 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b8186b313c5926bf67155311987d976c7cde7a1a
      https://github.com/llvm/llvm-project/commit/b8186b313c5926bf67155311987d976c7cde7a1a
  Author: Mogball <jeffniu22 at gmail.com>
  Date:   2021-11-12 (Fri, 12 Nov 2021)

  Changed paths:
    M mlir/include/mlir/TableGen/Attribute.h
    M mlir/include/mlir/TableGen/CodeGenHelpers.h
    M mlir/include/mlir/TableGen/Constraint.h
    M mlir/include/mlir/TableGen/Predicate.h
    M mlir/include/mlir/TableGen/Type.h
    M mlir/lib/TableGen/Attribute.cpp
    M mlir/lib/TableGen/Constraint.cpp
    M mlir/lib/TableGen/Type.cpp
    A mlir/test/mlir-tblgen/constraint-unique.td
    M mlir/test/mlir-tblgen/predicate.td
    M mlir/test/mlir-tblgen/rewriter-static-matcher.td
    M mlir/tools/mlir-tblgen/CodeGenHelpers.cpp
    M mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
    M mlir/tools/mlir-tblgen/RewriterGen.cpp

  Log Message:
  -----------
  [mlir][ods] Unique attribute, successor, region constraints

With `-Os` turned on, results in 2-5% binary size reduction
(depends on the original binary). Without it, the binary size
is essentially unchanged.

Depends on D113128

Differential Revision: https://reviews.llvm.org/D113331




More information about the All-commits mailing list