[all-commits] [llvm/llvm-project] 81e792: [mlir] m_Constant()

lorenzo chelini via All-commits all-commits at lists.llvm.org
Mon Jan 13 08:22:19 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 81e7922e83cf9782a39f4072e20eab8ab1e99828
      https://github.com/llvm/llvm-project/commit/81e7922e83cf9782a39f4072e20eab8ab1e99828
  Author: Lorenzo Chelini <l.chelini at icloud.com>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

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

  Log Message:
  -----------
  [mlir] m_Constant()

Summary: Introduce m_Constant() which allows matching a constant operation without forcing the user also to capture the attribute value.

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




More information about the All-commits mailing list