[all-commits] [llvm/llvm-project] cc5f53: [mlir][ODS] Reuse property storage in generated bu...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Thu Sep 24 01:24:12 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cc5f53a2a7585b013f872b859f019d601a754307
      https://github.com/llvm/llvm-project/commit/cc5f53a2a7585b013f872b859f019d601a754307
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2026-09-24 (Thu, 24 Sep 2026)

  Changed paths:
    M mlir/test/mlir-tblgen/op-attribute.td
    M mlir/test/mlir-tblgen/op-decl-and-defs.td
    M mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp

  Log Message:
  -----------
  [mlir][ODS] Reuse property storage in generated builders (NFC) (#226061)

Retrieve operation properties once in each generated builder that writes
them, then use the same reference for segment sizes, properties, and
attributes. This improved MLIR build time by avoiding repeated storage
lookup, e.g. cuts OpenMPDialect.cpp compiler instructions by 1.2%.

Assisted-by: Codex



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