[all-commits] [llvm/llvm-project] de6c82: [MLIR][PDL] Generalize result type verification

Stanislav Funiak via All-commits all-commits at lists.llvm.org
Mon Jan 3 18:42:39 PST 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: de6c82d6fdb9a80b50a415bcc0fa9518fa964d40
  Author: Stanislav Funiak <stano at cerebras.net>
  Date:   2022-01-04 (Tue, 04 Jan 2022)

  Changed paths:
    M mlir/lib/Dialect/PDL/IR/PDL.cpp
    M mlir/test/Dialect/PDL/ops.mlir

  Log Message:
  [MLIR][PDL] Generalize result type verification

Presently the result type verification checks if the type is used by a `pdl::OperationOp` inside the matcher. This is unnecessarily restrictive; the type could come from a `pdl::OperandOp or `pdl::OperandsOp` and still be inferrable.

Reviewed By: rriddle, Mogball

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

More information about the All-commits mailing list