diff options
author | Tai Ly <tai.ly@arm.com> | 2025-06-03 11:41:33 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-03 17:41:33 +0100 |
commit | 04b63ac1ab23d875b2ff4dc3da72d20a48d9d29d (patch) | |
tree | 8b77654d0b7cb126f28d6bb7a73b0bb096156c83 /llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp | |
parent | 4d42c8e1843e07b88e6bbb79438aa515fbb535de (diff) | |
download | llvm-04b63ac1ab23d875b2ff4dc3da72d20a48d9d29d.zip llvm-04b63ac1ab23d875b2ff4dc3da72d20a48d9d29d.tar.gz llvm-04b63ac1ab23d875b2ff4dc3da72d20a48d9d29d.tar.bz2 |
[tosa] Change VariableOp to align with spec (#142240)
This fixes Tosa VariableOp to align with spec 1.0
- add var_shape attribute to store shape of variable type
- change type attribute to store element type of variable type
- add a builder so previous construction calls still work
- fix up level check of rank to be on variable type instead of initial
value which is optional
- add level check of size for variable type
- add lit tests for variable op's without initial values
- add lit test for variable op with fixed rank but unknown dimension
- add invalid lit test for variable op with unranked type
Signed-off-by: Tai Ly <tai.ly@arm.com>
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp')
0 files changed, 0 insertions, 0 deletions