[all-commits] [llvm/llvm-project] f69a9f: [mlir][ODS] Add support for passing properties to ...

Markus Böck via All-commits all-commits at lists.llvm.org
Sun Jul 16 23:50:09 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f69a9f3974ea6d6f556783dfbe202a06d6d3398b
  Author: Markus Böck <markus.bock+llvm at nextsilicon.com>
  Date:   2023-07-17 (Mon, 17 Jul 2023)

  Changed paths:
    M mlir/test/IR/properties.mlir
    M mlir/test/lib/Dialect/Test/TestDialect.cpp
    M mlir/test/lib/Dialect/Test/TestOps.td
    M mlir/test/mlir-tblgen/op-format-invalid.td
    M mlir/tools/mlir-tblgen/OpFormatGen.cpp

  Log Message:
  [mlir][ODS] Add support for passing properties to `ref` in `custom`

This is essentially a follow up to https://reviews.llvm.org/D155072

This adds support for also passing properties as `ref` parameter to `custom`. This requires the property to have been bound previously and will error otherwise. This makes it possible for an implementation of `custom` to take previously parsed data into account, creating nice context-dependent grammars :-)

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

More information about the All-commits mailing list