[all-commits] [llvm/llvm-project] 12f55c: [MLIR][GPU] Add canonicalizer for gpu.memcpy

Arnab Dutta via All-commits all-commits at lists.llvm.org
Tue Apr 19 05:25:05 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 12f55cac69d8978d1c433756a8b2114bf9ed1e1b
  Author: Arnab Dutta <arnab at polymagelabs.com>
  Date:   2022-04-19 (Tue, 19 Apr 2022)

  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 canonicalizer for gpu.memcpy

Fold away gpu.memcpy op when only uses of dest are
the memcpy op in question, its allocation and deallocation

Reviewed By: bondhugula

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

More information about the All-commits mailing list