[all-commits] [llvm/llvm-project] bb2506: [mlir-tblgen] Add DagNode StaticMatcher.

ChiaHungDuan via All-commits all-commits at lists.llvm.org
Mon Sep 20 16:40:30 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bb2506061b06e9786b5eb9c458f52f9ba7e52a73
      https://github.com/llvm/llvm-project/commit/bb2506061b06e9786b5eb9c458f52f9ba7e52a73
  Author: Chia-hung Duan <chiahungduan at google.com>
  Date:   2021-09-20 (Mon, 20 Sep 2021)

  Changed paths:
    M mlir/include/mlir/TableGen/Pattern.h
    M mlir/lib/TableGen/Pattern.cpp
    A mlir/test/mlir-tblgen/rewriter-static-matcher.td
    M mlir/tools/mlir-tblgen/RewriterGen.cpp

  Log Message:
  -----------
  [mlir-tblgen] Add DagNode StaticMatcher.

Some patterns may share the common DAG structures. Generate a static
function to do the match logic to reduce the binary size.

Reviewed By: jpienaar

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




More information about the All-commits mailing list