[all-commits] [llvm/llvm-project] 9f622b: [mlir][spirv] Add more vector conversion patterns

Lei Zhang via All-commits all-commits at lists.llvm.org
Fri Feb 5 06:11:37 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9f622b3d5d6aa21ca28a3a06a27434cedec98fc9
      https://github.com/llvm/llvm-project/commit/9f622b3d5d6aa21ca28a3a06a27434cedec98fc9
  Author: Lei Zhang <antiagainst at google.com>
  Date:   2021-02-05 (Fri, 05 Feb 2021)

  Changed paths:
    M mlir/lib/Conversion/VectorToSPIRV/VectorToSPIRV.cpp
    M mlir/lib/Dialect/SPIRV/Transforms/SPIRVConversion.cpp
    M mlir/test/Conversion/StandardToSPIRV/std-ops-to-spirv.mlir
    M mlir/test/Conversion/StandardToSPIRV/std-types-to-spirv.mlir
    M mlir/test/Conversion/VectorToSPIRV/simple.mlir

  Log Message:
  -----------
  [mlir][spirv] Add more vector conversion patterns

This patch introduces a few more straightforward patterns
to convert vector ops operating on 1-4 element vectors
to their corresponding SPIR-V counterparts.

This patch also enables converting vector<1xT> to T.

Reviewed By: ThomasRaoux

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




More information about the All-commits mailing list