[Mlir-commits] [mlir] [mlir][spirv] Add support for SPV_ARM_tensors (PR #144667)
Jakub Kuderski
llvmlistbot at llvm.org
Wed Jun 18 09:18:33 PDT 2025
================
@@ -1238,6 +1241,55 @@ spirv::Deserializer::processMatrixType(ArrayRef<uint32_t> operands) {
return success();
}
+LogicalResult
+spirv::Deserializer::processTensorARMType(ArrayRef<uint32_t> operands) {
+ unsigned size = operands.size();
+ if (size < 2 || size > 4) {
+ return emitError(unknownLoc, "OpTypeTensorARM must have 2-4 operands "
+ "(result_id, element_type, (rank), (shape))")
+ << size;
+ }
+ Type elementTy = getType(operands[1]);
+ if (!elementTy) {
+ return emitError(unknownLoc,
+ "OpTypeTensorARM references undefined element type.")
----------------
kuhar wrote:
I don't think we want to print the `.` before the operand?
https://github.com/llvm/llvm-project/pull/144667
More information about the Mlir-commits
mailing list