[all-commits] [llvm/llvm-project] 66a357: [mlir] Unique property constraints where possible ...

Krzysztof Drewniak via All-commits all-commits at lists.llvm.org
Fri May 30 14:22:12 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 66a357f2a4526986547ce6a5b01374b7ff928f62
      https://github.com/llvm/llvm-project/commit/66a357f2a4526986547ce6a5b01374b7ff928f62
  Author: Krzysztof Drewniak <krzysdrewniak at gmail.com>
  Date:   2025-05-30 (Fri, 30 May 2025)

  Changed paths:
    M mlir/include/mlir/TableGen/CodeGenHelpers.h
    M mlir/include/mlir/TableGen/Property.h
    M mlir/lib/TableGen/CodeGenHelpers.cpp
    M mlir/lib/TableGen/Property.cpp
    M mlir/test/mlir-tblgen/op-properties-predicates.td
    M mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp

  Log Message:
  -----------
  [mlir] Unique property constraints where possible (#140849)

Now that `Property` is a `PropConstraint`, hook it up to the same
constraint-uniquing machinery that other types of constraints use. This
will primarily save on code size for types, like enums, that have
inherent constraints which are shared across many operations.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list