[all-commits] [llvm/llvm-project] 7668e5: [mlir][spirv] Fix spv.CompositeConstruct assembly ...

Lei Zhang via All-commits all-commits at lists.llvm.org
Wed Jul 27 16:21:25 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7668e58210776a15d5e74d91223e6ca541ba9ba8
      https://github.com/llvm/llvm-project/commit/7668e58210776a15d5e74d91223e6ca541ba9ba8
  Author: Lei Zhang <antiagainst at google.com>
  Date:   2022-07-27 (Wed, 27 Jul 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVCompositeOps.td
    M mlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp
    M mlir/test/Conversion/MathToSPIRV/math-to-core-spirv.mlir
    M mlir/test/Conversion/VectorToSPIRV/vector-to-spirv.mlir
    M mlir/test/Dialect/SPIRV/IR/composite-ops.mlir
    M mlir/test/Dialect/SPIRV/Transforms/rewrite-inserts.mlir
    M mlir/test/Target/SPIRV/composite-op.mlir
    M mlir/test/Target/SPIRV/debug.mlir

  Log Message:
  -----------
  [mlir][spirv] Fix spv.CompositeConstruct assembly and validation

This commit fixes spv.CompositeConstruct to assembly to list
operand types to enable vector construction out of smaller vectors.
Validation is also fixed to properly check the cases for vector
construction.

Reviewed By: ThomasRaoux

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




More information about the All-commits mailing list