[all-commits] [llvm/llvm-project] a57def: [mlir][vector] generalized masked l/s and compress...

Aart Bik via All-commits all-commits at lists.llvm.org
Fri Jan 8 14:05:13 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a57def30f53990aafc3f64b9b7a0f60916cc7f61
      https://github.com/llvm/llvm-project/commit/a57def30f53990aafc3f64b9b7a0f60916cc7f61
  Author: Aart Bik <ajcbik at google.com>
  Date:   2021-01-08 (Fri, 08 Jan 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Vector/VectorOps.td
    M mlir/integration_test/Dialect/Vector/CPU/test-compress.mlir
    M mlir/integration_test/Dialect/Vector/CPU/test-expand.mlir
    M mlir/integration_test/Dialect/Vector/CPU/test-maskedload.mlir
    M mlir/integration_test/Dialect/Vector/CPU/test-maskedstore.mlir
    M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
    M mlir/lib/Dialect/Vector/VectorOps.cpp
    M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
    M mlir/test/Dialect/Vector/invalid.mlir
    M mlir/test/Dialect/Vector/ops.mlir
    M mlir/test/Dialect/Vector/vector-mem-transforms.mlir
    M mlir/test/Dialect/Vector/vector-transforms.mlir
    M mlir/test/lib/Transforms/TestVectorTransforms.cpp

  Log Message:
  -----------
  [mlir][vector] generalized masked l/s and compressed l/s with indices

Adding the ability to index the base address brings these operations closer
to the transfer read and write semantics (with lowering advantages), ensures
more consistent use in vector MLIR code (easier to read), and reduces the
amount of code duplication to lower memrefs into base addresses considerably
(making codegen less error-prone).

Reviewed By: ThomasRaoux

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




More information about the All-commits mailing list