diff options
author | TatWai Chong <tatwai.chong@arm.com> | 2025-03-19 08:57:22 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-19 08:57:22 -0700 |
commit | 1456eabca80d57ebd38b46e49ef3d25aace198ae (patch) | |
tree | 018db316d300d979116299f3fb6541a358d8e3a5 /clang/lib/CodeGen/ModuleBuilder.cpp | |
parent | a5b3d3a03f3291b1b62c7c25bc40b494660421cb (diff) | |
download | llvm-1456eabca80d57ebd38b46e49ef3d25aace198ae.zip llvm-1456eabca80d57ebd38b46e49ef3d25aace198ae.tar.gz llvm-1456eabca80d57ebd38b46e49ef3d25aace198ae.tar.bz2 |
[mlir][tosa] Finalize profile-based validation for TOSA v1.0 (#131208)
- When the operand type of an operation changes to a profile-dependent
type, the compliance metadata must be updated. Update compliance check
for the following:
- CONV2D, CONV3D, DEPTHWISE_CONV2D, and TRANSPOSE_CONV2D, as zero points
have changed to variable inputs.
- PAD, because pad_const has been changed to a variable input.
- GATHER and SCATTER, as indices has changed to index_t.
- Add an int16 extension check for CONCAT.
- Add a compliance check for COND_IF, WHILE_LOOP, VARIABLE,
VARIABLE_READ, and VARIABLE_WRITE.
- Correct the profile requirements for IDENTITY, TABLE, MATMUL and
LOGICAL-like operations.
- Remove unnecessary checks for non-v1.0 operations.
- Add condition requirements (anyOf and allOf) to the type mode of
metadata for modes that have multiple profile/extension considerations.
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions