HomePhabricator

[mlir:Async] Add the size parameter to the async.group

Authored by ezhulenev on Jun 23 2021, 6:24 AM.

Description

[mlir:Async] Add the size parameter to the async.group

Specify the !async.group size (the number of tokens that will be added to it) at construction time. async.await_all operation can potentially race with async.execute operations that keep updating the group, for this reason it is required to know upfront how many tokens will be added to the group.

Reviewed By: ftynse, herhut

Differential Revision: https://reviews.llvm.org/D104780

Details

Committed
ezhulenevJun 25 2021, 10:26 AM
Reviewer
ftynse
Differential Revision
D104780: [mlir:Async] Add the size parameter to the async.group
Parents
rG2cd23eb24382: [instcombine] Fold overflow check using umulo to comparison
Branches
Unknown
Tags
Unknown