[all-commits] [llvm/llvm-project] 12831b: [mlir][Linalg] NFC - Cleanup internal transform AP...

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Mon Sep 19 04:21:23 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 12831be96cdc152e6b07e74e3841da3d9a7a93ab
      https://github.com/llvm/llvm-project/commit/12831be96cdc152e6b07e74e3841da3d9a7a93ab
  Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
  Date:   2022-09-19 (Mon, 19 Sep 2022)

  Changed paths:
    M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp

  Log Message:
  -----------
  [mlir][Linalg] NFC - Cleanup internal transform APIs and produce better messages on failure to apply.


  Commit: ecd9dc0499880f2a89e4e03e9ffd3b368fe7e7ff
      https://github.com/llvm/llvm-project/commit/ecd9dc0499880f2a89e4e03e9ffd3b368fe7e7ff
  Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
  Date:   2022-09-19 (Mon, 19 Sep 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Transform/IR/TransformOps.td
    M mlir/lib/Dialect/Transform/IR/TransformOps.cpp
    M mlir/test/Dialect/Transform/test-interpreter.mlir

  Log Message:
  -----------
  [mlir][Transform] Add a new navigation op to retrieve the producer of an operand

Given an opOperand uniquely determined by the operation `%op` and the operand number `num`,
the `transform.get_producer_of_operand %op[num]` returns the handle to the unique operation
that produced the SSA value used as opOperand.

The transform fails if the operand is a block argument.

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


Compare: https://github.com/llvm/llvm-project/compare/92e9bddc49b6...ecd9dc049988


More information about the All-commits mailing list