[Mlir-commits] [mlir] [mlir][tosa] Support `DenseResourceElementsAttr` in TOSA transpose folders (PR #124532)
Suraj Sudhir
llvmlistbot at llvm.org
Mon Jan 27 08:47:44 PST 2025
================
@@ -204,6 +230,35 @@ DenseElementsAttr transpose(ElementsAttr attr, ShapedType inputType,
if (auto data = attr.tryGetValues<APFloat>())
return transposeType(*data, inputType, outputType, permValues);
+ // Handle DenseResourceElementsAttr
----------------
sjarus wrote:
Not a blocking request but maybe this is suitable for an llvm::TypeSwitch ?
https://github.com/llvm/llvm-project/pull/124532
More information about the Mlir-commits
mailing list