HomePhabricator

[mlir] Add alignment attribute to LLVM memory ops and use in vector.transfer

Authored by nicolasvasilache on Jul 13 2020, 8:04 AM.

Description

[mlir] Add alignment attribute to LLVM memory ops and use in vector.transfer

Summary: The native alignment may generally not be used when lowering a vector.transfer to the underlying load/store operation. This revision fixes the unmasked load/store alignment to match that of the masked path.

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