[mlir] Fix bug in use of rewiter for AtomicRMWOp.
The legalization did not forward the listener which prevents dynamic legalization and prevents rollbacks. This handled that and then changed the associated pass to support all other std ops to support partial conversion. Previously, this lowering was failing, but due to the initial bug, the op's modifications were not reverted, and thus the pattern matching succeeded. Differential Revision: https://reviews.llvm.org/D91079
Loading
Please sign in to comment