[all-commits] [llvm/llvm-project] d138c8: [mlir] Forward arguments of `pair` in `SubElement...

Hideto Ueno via All-commits all-commits at lists.llvm.org
Wed Jul 12 22:08:00 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d138c8914822a3e2c3277ba30caf2215632134b6
      https://github.com/llvm/llvm-project/commit/d138c8914822a3e2c3277ba30caf2215632134b6
  Author: Hideto Ueno <uenoku.tokotoko at gmail.com>
  Date:   2023-07-12 (Wed, 12 Jul 2023)

  Changed paths:
    M mlir/include/mlir/IR/AttrTypeSubElements.h

  Log Message:
  -----------
   [mlir] Forward arguments of `pair` in `SubElementInterface::replaceImmediateSubElementsImpl`

`SubElementInterface::replaceImmediateSubElementsImpl` specializes tuples so that
arguments are forwarded to type getter. However currently pairs are not supported even though
an example in documents uses a pair as a key type. This patch adds support for pairs as well.

Reviewed By: Mogball

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




More information about the All-commits mailing list