diff options
author | TatWai Chong <tatwai.chong@arm.com> | 2025-03-03 18:26:49 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-03 18:26:49 -0800 |
commit | 956e56fa6d3d62e1ef1a27bdc9f6be3c0544b9c7 (patch) | |
tree | 41a302978e771b7c4d2d4674690cf58aa716676a /llvm/lib/CodeGen/SplitKit.cpp | |
parent | 2ca085505996ca16cc79090dbc66d06ac46ed262 (diff) | |
download | llvm-956e56fa6d3d62e1ef1a27bdc9f6be3c0544b9c7.zip llvm-956e56fa6d3d62e1ef1a27bdc9f6be3c0544b9c7.tar.gz llvm-956e56fa6d3d62e1ef1a27bdc9f6be3c0544b9c7.tar.bz2 |
[mlir][tosa] Add several level checks (#129580) (#129613)
Add the following types of level check to consolidate the level validity
- Complete rank level checks for operations.
- Add MAX_LOG2_SIZE level check: The maximum value is 63 when the
level is set to "none" and 31 when the level is set to "8K".
- Add MAX_TENSOR_LIST_SIZE level check : The maximum value is 256
when the level is set to "none" and 64 when the level is set to "8K".
- TOSA 1.0 spec does not allow operations with dynamic shapes, so an
error should be raised instead.
Co-authored-by: Tai Ly <tai.ly@arm.com>
Diffstat (limited to 'llvm/lib/CodeGen/SplitKit.cpp')
0 files changed, 0 insertions, 0 deletions