[all-commits] [llvm/llvm-project] 39ee9f: [mlir] Fixed alignment attribute of alloc constant...

Haruki Imai via All-commits all-commits at lists.llvm.org
Wed Apr 7 12:29:17 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 39ee9fd8c1c2424f76260f62ac223e3aa1760612
      https://github.com/llvm/llvm-project/commit/39ee9fd8c1c2424f76260f62ac223e3aa1760612
  Author: Haruki Imai <imaihal at jp.ibm.com>
  Date:   2021-04-07 (Wed, 07 Apr 2021)

  Changed paths:
    M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
    M mlir/test/Transforms/canonicalize.mlir

  Log Message:
  -----------
  [mlir] Fixed alignment attribute of alloc constant folding.

When allocLikeOp is updated in alloc constant folding,
alighnment attribute was ignored. This patch fixes it.

Signed-off-by: Haruki Imai <imaihal at jp.ibm.com>

Reviewed By: mehdi_amini

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




More information about the All-commits mailing list