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

Arnab Dutta via All-commits all-commits at lists.llvm.org
Sat May 14 06:32:02 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 16219f8c94a225bf71a249cea8f0fdf3696c4b3c
      https://github.com/llvm/llvm-project/commit/16219f8c94a225bf71a249cea8f0fdf3696c4b3c
  Author: Arnab Dutta <arnab at polymagelabs.com>
  Date:   2022-05-14 (Sat, 14 May 2022)

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

  Log Message:
  -----------
  [MLIR][GPU] Add canonicalizer for gpu.memcpy

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

Reviewed By: bondhugula, csigg

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




More information about the All-commits mailing list