[llvm] [mlir] [TOSA] Add Tosa_Shape type and ConstShapeOp (PR #122547)

Luke Hutton via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 14 04:06:50 PST 2025


================
@@ -1689,12 +1689,16 @@ def Tosa_TileOp : Tosa_InferShapedTypeOp<"tile"> {
 
   let arguments = (ins
     Tosa_Tensor:$input1,
-    DenseI64ArrayAttr:$multiples);
+    Tosa_Shape:$multiples);
----------------
lhutton1 wrote:

Out of curiosity, is the plan to convert other attributes to `Tosa_Shape` in subsequent PR's? (I'm thinking of operations like shape in `reshape`)

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


More information about the llvm-commits mailing list