[Mlir-commits] [mlir] [mlir][spirv] Add support for VectorAnyINTEL capability (PR #68034)

Lei Zhang llvmlistbot at llvm.org
Sat Oct 28 22:33:02 PDT 2023


================
@@ -4146,7 +4146,12 @@ def SPIRV_Int32 : TypeAlias<I32, "Int32">;
 def SPIRV_Float32 : TypeAlias<F32, "Float32">;
 def SPIRV_Float : FloatOfWidths<[16, 32, 64]>;
 def SPIRV_Float16or32 : FloatOfWidths<[16, 32]>;
-def SPIRV_Vector : VectorOfLengthAndType<[2, 3, 4, 8, 16],
+// Remove the vector size restriction.
----------------
antiagainst wrote:

This "Remove the vector size restriction." sentense does not need to be in the comment--it's the goal of this patch; but not a proper doc of `SPIRV_Vector`.

https://github.com/llvm/llvm-project/pull/68034


More information about the Mlir-commits mailing list