[all-commits] [llvm/llvm-project] 59a640: [mlir] improve the error message in expensive tran...

ftynse via All-commits all-commits at lists.llvm.org
Tue Sep 13 07:59:11 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 59a640a3813f28705751f000e1172067955c0585
      https://github.com/llvm/llvm-project/commit/59a640a3813f28705751f000e1172067955c0585
  Author: Alex Zinenko <zinenko at google.com>
  Date:   2022-09-13 (Tue, 13 Sep 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Transform/IR/TransformInterfaces.h
    M mlir/lib/Dialect/Transform/IR/TransformInterfaces.cpp
    M mlir/test/Dialect/Transform/expensive-checks.mlir

  Log Message:
  -----------
  [mlir] improve the error message in expensive transform checks

Include the transform op being applied when reporting it using an invalidated
handle. This was missing previously and made it harder for the user to
understand where the handle is being used, especially if the transform script
included some sort of iteration.

Reviewed By: guraypp

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




More information about the All-commits mailing list