[all-commits] [llvm/llvm-project] affbc0: [mlir] Add alignment attribute to LLVM memory ops ...

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Mon Jul 13 14:38:31 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: affbc0cd1cc87826c2636f8903d85c911aef75ff
      https://github.com/llvm/llvm-project/commit/affbc0cd1cc87826c2636f8903d85c911aef75ff
  Author: Nicolas Vasilache <ntv at google.com>
  Date:   2020-07-13 (Mon, 13 Jul 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
    M mlir/integration_test/Dialect/Vector/CPU/test-transfer-read.mlir
    M mlir/integration_test/Dialect/Vector/CPU/test-transfer-write.mlir
    M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
    M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir

  Log Message:
  -----------
  [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




More information about the All-commits mailing list