[mlir] drop debug tags after TransformInterpreterPassBase
authorAlex Zinenko <zinenko@google.com>
Wed, 31 May 2023 08:45:05 +0000 (08:45 +0000)
committerAlex Zinenko <zinenko@google.com>
Wed, 31 May 2023 09:14:59 +0000 (09:14 +0000)
commit8d7e90c3b5d22e31c6af25c2f95b8047038590c4
tree34c32aa754a455862dab0fe527b7d349ec5830e2
parentd8c18e422baa637b0208833be4a4b4ce4b06f212
[mlir] drop debug tags after TransformInterpreterPassBase

The pass attaches attributes to operations for repro generation
purposes, but never removes them. This is not desirable when the pass
actually succeeds.

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D151791
mlir/lib/Dialect/Transform/Transforms/TransformInterpreterPassBase.cpp
mlir/test/Dialect/Transform/test-repro-dump.mlir [new file with mode: 0644]