[mlir] Async: create async.group inside the scf.if branch
authorEugene Zhulenev <ezhulenev@google.com>
Wed, 16 Feb 2022 18:40:28 +0000 (10:40 -0800)
committerEugene Zhulenev <ezhulenev@google.com>
Wed, 16 Feb 2022 22:47:04 +0000 (14:47 -0800)
commitb171583ae7d187164b40e8dcd90b9aa2f34c06a2
treebac6d76f288f0cd3a5424f74bebe24e2e79f386d
parentdabbab6861512453aa8f864ef863d31c1d57aa3e
[mlir] Async: create async.group inside the scf.if branch

Reviewed By: cota

Differential Revision: https://reviews.llvm.org/D119959
mlir/lib/Dialect/Async/Transforms/AsyncParallelFor.cpp
mlir/test/Dialect/Async/async-parallel-for-async-dispatch.mlir