[all-commits] [llvm/llvm-project] 7f44a7: [MLIR] Set alignment in AllocOp of normalizeMemref()

Haruki Imai via All-commits all-commits at lists.llvm.org
Wed Jul 22 00:08:35 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f44a7130b9220cfd52e5c52eb1b7641c4ae7e95
      https://github.com/llvm/llvm-project/commit/7f44a7130b9220cfd52e5c52eb1b7641c4ae7e95
  Author: Haruki Imai <imaihal at jp.ibm.com>
  Date:   2020-07-22 (Wed, 22 Jul 2020)

  Changed paths:
    M mlir/lib/Transforms/Utils/Utils.cpp
    M mlir/test/Transforms/memref-normalize.mlir

  Log Message:
  -----------
  [MLIR] Set alignment in AllocOp of normalizeMemref()

AllocOp is updated in normalizeMemref(AllocOp allocOp), but, when the
AllocOp has `alignment` attribute, it was ignored and updated AllocOp
does not have `alignment` attribute. This patch fixes it.

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




More information about the All-commits mailing list