HomePhabricator

[MLIR] Set alignment in AllocOp of normalizeMemref()

Authored by imaihal on Wed, Jul 22, 12:03 AM.

Description

[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