diff options
author | Jerry-Ge <jerry.ge@arm.com> | 2025-01-14 13:41:08 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-14 13:41:08 -0800 |
commit | f09db6a3af971ab7d9bbc7ba574a8dc0c10b2940 (patch) | |
tree | 4a2a531a2f4030504f177d8127f1c4dbba8f9144 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 31249e27f0f8be16e80b2b574c1f2ce70853ed31 (diff) | |
download | llvm-f09db6a3af971ab7d9bbc7ba574a8dc0c10b2940.zip llvm-f09db6a3af971ab7d9bbc7ba574a8dc0c10b2940.tar.gz llvm-f09db6a3af971ab7d9bbc7ba574a8dc0c10b2940.tar.bz2 |
[TOSA] Add Tosa_Shape type and ConstShapeOp (#122547)
Adds:
1. tosa shape type to Tosa dialect e.g., !tosa.shape<4> is a type for
rank-4 shape values (size-4 array of index values)
2. const_shape operator
3. trait TosaShapeOperator, added to tosa shape operators, and a
verifier that all operands and results of operator are tosa shapes
4. trait TosaResolvableShapeOperands, added to all tosa operators, and a
verifier that every tosa shape operand is produced by a tosa shape
operator (indicated by trait TosaShapeOperator)
5. trait TosaShapeOperatorWithSameRanks, added to
Tosa_ElementwiseShapeOp and a verifier that all operands and result
shapes have same ranks
5. changed TileOp's multiples from attribute to input, of !tosa.shape
type.
6. add folder for tosa ConstShape operator
This patch was originally authored by Tai Ly <tai.ly@arm.com>
Signed-off-by: Jerry Ge <Jerry.Ge@arm.com>
Signed-off-by: Tai Ly <tai.ly@arm.com>
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions