[all-commits] [llvm/llvm-project] 55f878: [mlir][pdl] Add a new !pdl.range<> type

River Riddle via All-commits all-commits at lists.llvm.org
Wed Mar 3 15:55:41 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 55f878bad96421489dbe7ec8cec239acc02a899b
      https://github.com/llvm/llvm-project/commit/55f878bad96421489dbe7ec8cec239acc02a899b
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2021-03-03 (Wed, 03 Mar 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/PDL/IR/PDLOps.td
    M mlir/include/mlir/Dialect/PDL/IR/PDLTypes.h
    M mlir/include/mlir/Dialect/PDL/IR/PDLTypes.td
    M mlir/include/mlir/Dialect/PDLInterp/IR/PDLInterpOps.td
    M mlir/lib/Dialect/PDL/IR/CMakeLists.txt
    M mlir/lib/Dialect/PDL/IR/PDL.cpp
    A mlir/lib/Dialect/PDL/IR/PDLTypes.cpp
    A mlir/test/Dialect/PDL/invalid-types.mlir

  Log Message:
  -----------
  [mlir][pdl] Add a new !pdl.range<> type

This type represents a range of positional values. It will be used in followup revisions to add support for variadic constructs to PDL, such as operand and result ranges.

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


  Commit: e07c968a6da0c280b58e065d17698a30a3a91eab
      https://github.com/llvm/llvm-project/commit/e07c968a6da0c280b58e065d17698a30a3a91eab
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2021-03-03 (Wed, 03 Mar 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/PDL/IR/PDLDialect.td
    M mlir/include/mlir/Dialect/PDL/IR/PDLOps.td
    M mlir/lib/Conversion/PDLToPDLInterp/PredicateTree.cpp
    M mlir/lib/Dialect/PDL/IR/PDL.cpp
    M mlir/test/Conversion/PDLToPDLInterp/pdl-to-pdl-interp-matcher.mlir
    M mlir/test/Conversion/PDLToPDLInterp/pdl-to-pdl-interp-rewriter.mlir
    M mlir/test/Dialect/PDL/invalid.mlir
    M mlir/test/Dialect/PDL/ops.mlir

  Log Message:
  -----------
  [mlir][pdl][NFC] Rename InputOp to OperandOp

This better matches the actual IR concept that is being modeled, and is consistent with how the rest of PDL is structured.

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


Compare: https://github.com/llvm/llvm-project/compare/03f668613c44...e07c968a6da0


More information about the All-commits mailing list