[all-commits] [llvm/llvm-project] 8b9f8d: [mlir][matchers] Add m_Op(StringRef) and m_Attr ma...

Devajith via All-commits all-commits at lists.llvm.org
Tue Apr 11 14:16:41 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8b9f8db501cf9299f3bab5fb669d5f231b3a1aaa
      https://github.com/llvm/llvm-project/commit/8b9f8db501cf9299f3bab5fb669d5f231b3a1aaa
  Author: Devajith V S <devajithvs at gmail.com>
  Date:   2023-04-11 (Tue, 11 Apr 2023)

  Changed paths:
    M mlir/include/mlir/IR/Matchers.h
    M mlir/test/IR/test-matchers.mlir
    M mlir/test/lib/IR/TestMatchers.cpp

  Log Message:
  -----------
  [mlir][matchers] Add m_Op(StringRef) and m_Attr matchers

This patch introduces support for m_Op with a StringRef argument and m_Attr matchers. These matchers will be very useful for mlir-query that is being developed currently.

Submitting this patch separately to reduce the final patch size and make it easier to upstream mlir-query.

Reviewed By: rriddle

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




More information about the All-commits mailing list