[mlir] properly fix concurrent transform interpreter pass base
The original implementation of the transform interpreter pass base was cloning the entire transform IR in presence of PDL-related operations to avoid concurrency issues when running the pass with the same transform IR on multiple operations of the payload IR. The root cause of those issues is the `transform.pdl_match` operation that was moving the PDL pattern definition operation into a new module, consumed by the PDL interpreter and leading to a race. Clone the pattern operation instead. This avoids the race as well as the cost for transform IR that doesn't use PDL. Depends on D142729. Reviewed By: nicolasvasilache Differential Revision: https://reviews.llvm.org/D142962
Loading
Please sign in to comment