[Mlir-commits] [mlir] [mlir][tosa] Support `DenseResourceElementsAttr` in TOSA transpose folders (PR #124532)
Georgios Pinitas
llvmlistbot at llvm.org
Mon Jan 27 09:07:08 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
----------------
GeorgeARM wrote:
Looking at this seems that is not much cleaner to use `llvm::TypeSwitch`. Hence probably will keep it like this.
https://github.com/llvm/llvm-project/pull/124532
More information about the Mlir-commits
mailing list