[all-commits] [llvm/llvm-project] cbd475: [mlir][mlprogram] Add `mlprogram-pipeline-globals`...

Rob Suderman via All-commits all-commits at lists.llvm.org
Mon Sep 18 17:11:56 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cbd475040f8952cfc55b9e13dd5ce6c4f6434cd3
      https://github.com/llvm/llvm-project/commit/cbd475040f8952cfc55b9e13dd5ce6c4f6434cd3
  Author: Rob Suderman <suderman at google.com>
  Date:   2023-09-18 (Mon, 18 Sep 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/MLProgram/CMakeLists.txt
    A mlir/include/mlir/Dialect/MLProgram/Transforms/CMakeLists.txt
    A mlir/include/mlir/Dialect/MLProgram/Transforms/Passes.h
    A mlir/include/mlir/Dialect/MLProgram/Transforms/Passes.td
    M mlir/include/mlir/InitAllPasses.h
    M mlir/lib/Dialect/MLProgram/CMakeLists.txt
    M mlir/lib/Dialect/MLProgram/IR/MLProgramOps.cpp
    A mlir/lib/Dialect/MLProgram/Transforms/CMakeLists.txt
    A mlir/lib/Dialect/MLProgram/Transforms/PipelineGlobalOps.cpp
    A mlir/test/Dialect/MLProgram/pipeline-globals.mlir

  Log Message:
  -----------
  [mlir][mlprogram] Add `mlprogram-pipeline-globals` optimization pass

Added pass optimizes MLProgram global operations by reducing to only
the minimal load/store operations for global tensors. This avoids
unnecessary global operations throughout a program and potentially
improves operation gusion.

Reviewed By: jpienaar

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




More information about the All-commits mailing list