[all-commits] [llvm/llvm-project] a8f819: [mlir:Async] Remove async operations if it is stat...

Eugene Zhulenev via All-commits all-commits at lists.llvm.org
Tue Jun 29 09:26:42 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a8f819c6d85e1990954d8846dac769bb789d2ba9
      https://github.com/llvm/llvm-project/commit/a8f819c6d85e1990954d8846dac769bb789d2ba9
  Author: Eugene Zhulenev <ezhulenev at google.com>
  Date:   2021-06-29 (Tue, 29 Jun 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Async/IR/Async.h
    M mlir/include/mlir/Dialect/Async/IR/AsyncOps.td
    M mlir/lib/Dialect/Async/IR/Async.cpp
    M mlir/lib/Dialect/Async/Transforms/AsyncParallelFor.cpp
    M mlir/test/Dialect/Async/async-parallel-for-async-dispatch.mlir
    A mlir/test/Dialect/Async/async-parallel-for-canonicalize.mlir

  Log Message:
  -----------
  [mlir:Async] Remove async operations if it is statically known that the parallel operation has a single compute block

Depends On D104850

Add a test that verifies that canonicalization removes all async overheads if it is statically known that the scf.parallel operation will be computed using a single block.

Reviewed By: herhut

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




More information about the All-commits mailing list