HomePhabricator

[mlir] Make GpuAsyncRegion pass depend on async dialect.

Authored by csigg on Jan 11 2021, 4:56 AM.

Description

[mlir] Make GpuAsyncRegion pass depend on async dialect.

Do not cache gpu.async.token type so that the pass can be created before the GPU dialect is registered.

Reviewed By: ftynse

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

Details