[Mlir-commits] [mlir] [mlir][spirv] Expand support for TOSA Extended Instruction Set (00100… (PR #176908)

Jakub Kuderski llvmlistbot at llvm.org
Tue Jan 20 05:59:02 PST 2026


================
@@ -855,7 +862,9 @@ static void emitAttributeDeserialization(const Attribute &attr,
        << formatv("{0}.push_back(opBuilder.getNamedAttr(\"{1}\", "
                   "TypeAttr::get(getType({2}[{3}++]))));\n",
                   attrList, attrName, words, wordIndex);
-  } else if (attr.getAttrDefName() == "SPIRV_TensorArmAxisAttr") {
+  } else if (attr.getAttrDefName() == "SPIRV_TensorArmAxisAttr" ||
+             attr.getAttrDefName() == "SPIRV_BoolConstAttr" ||
+             attr.getAttrDefName().contains("TensorArm")) {
----------------
kuhar wrote:

The last check subsumes the first one, no?

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


More information about the Mlir-commits mailing list