[all-commits] [llvm/llvm-project] 57eda9: [MLIR][GPU] Add constant propagator for gpu.launch op

Uday Bondhugula via All-commits all-commits at lists.llvm.org
Sat Sep 18 00:37:06 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 57eda9beccfebddc2a5eccc488de85285d0ed76e
      https://github.com/llvm/llvm-project/commit/57eda9beccfebddc2a5eccc488de85285d0ed76e
  Author: Uday Bondhugula <uday at polymagelabs.com>
  Date:   2021-09-18 (Sat, 18 Sep 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/GPU/GPUOps.td
    M mlir/lib/Dialect/GPU/IR/GPUDialect.cpp
    M mlir/test/Dialect/GPU/canonicalize.mlir

  Log Message:
  -----------
  [MLIR][GPU] Add constant propagator for gpu.launch op

Add a constant propagator for gpu.launch op in cases where the
grid/thread IDs can be trivially determined to take a single constant
value of zero.

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




More information about the All-commits mailing list