[all-commits] [llvm/llvm-project] 54691a: [MLIR] Add affine.load fold hook on global constan...

Uday Bondhugula via All-commits all-commits at lists.llvm.org
Thu Mar 17 10:59:56 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 54691a58db55cb4ca3ced4ede93bca23eb4bd3c6
      https://github.com/llvm/llvm-project/commit/54691a58db55cb4ca3ced4ede93bca23eb4bd3c6
  Author: Uday Bondhugula <uday at polymagelabs.com>
  Date:   2022-03-17 (Thu, 17 Mar 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
    M mlir/lib/Dialect/Affine/IR/AffineOps.cpp
    M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
    M mlir/test/Dialect/Affine/canonicalize.mlir

  Log Message:
  -----------
  [MLIR] Add affine.load fold hook on global constant memrefs

Fold affine.load ops on global constant memrefs when indices are all
constant.

Reviewed By: ayzhuang

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




More information about the All-commits mailing list