[mlir:Async] Convert assertions to async errors only inside async functions
authorEugene Zhulenev <ezhulenev@google.com>
Thu, 27 May 2021 19:42:59 +0000 (12:42 -0700)
committerEugene Zhulenev <ezhulenev@google.com>
Thu, 27 May 2021 19:49:00 +0000 (12:49 -0700)
commit8f23fac4da254e8cd2a3160a4fa029613a284ebe
treee9676b20fd3b90d610d91dbfa90e1e02eb3539cc
parent32bacb74107e45cdcedaf3bb2be11bd6e3015390
[mlir:Async] Convert assertions to async errors only inside async functions

Differential Revision: https://reviews.llvm.org/D103278
mlir/lib/Dialect/Async/Transforms/AsyncToAsyncRuntime.cpp