[mlir] Use rewriting infrastructure in AsyncToLLVM
authorTres Popp <tpopp@google.com>
Fri, 4 Dec 2020 21:13:14 +0000 (22:13 +0100)
committerTres Popp <tpopp@google.com>
Tue, 8 Dec 2020 16:30:01 +0000 (17:30 +0100)
commit111ae220a3bff944e10a0760ce344630f4efc40d
treeb5399ded45e38b981a5f8baf1ba298427e94553a
parentc0428b3c0c1f3b78d39ceaf909908800fb7aabe3
[mlir] Use rewriting infrastructure in AsyncToLLVM

This is needed so a listener hears all changes during the dialect
conversion to allow correct rollbacks upon failure.

Differential Revision: https://reviews.llvm.org/D92685
mlir/lib/Conversion/AsyncToLLVM/AsyncToLLVM.cpp