[all-commits] [llvm/llvm-project] 6e3292: [mlir][OpFormatGen] Refactor `type_ref` into a mor...

River Riddle via All-commits all-commits at lists.llvm.org
Tue Feb 9 14:42:03 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e3292b0b718a4fec524796e3899a4df5e7ccfb7
      https://github.com/llvm/llvm-project/commit/6e3292b0b718a4fec524796e3899a4df5e7ccfb7
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2021-02-09 (Tue, 09 Feb 2021)

  Changed paths:
    M mlir/docs/OpDefinitions.md
    M mlir/test/lib/Dialect/Test/TestDialect.cpp
    M mlir/test/lib/Dialect/Test/TestOps.td
    M mlir/test/mlir-tblgen/op-format-spec.td
    M mlir/test/mlir-tblgen/op-format.mlir
    M mlir/tools/mlir-tblgen/OpFormatGen.cpp

  Log Message:
  -----------
  [mlir][OpFormatGen] Refactor `type_ref` into a more general `ref` directive

This allows for referencing nearly every component of an operation from within a custom directive.

It also fixes a bug with the current type_ref implementation, PR48478

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




More information about the All-commits mailing list