diff options
| author | Luke Hutton <luke.hutton@arm.com> | 2025-10-24 15:48:06 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-24 15:48:06 +0100 |
| commit | 986e0feb1d688409236832d9dac65fc900c2bf51 (patch) | |
| tree | 616d7cced685ef217a1804681eb04f192aaa67a7 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
| parent | 3af73460bcf996862fb5626cb95b89194e77d9bd (diff) | |
| download | llvm-986e0feb1d688409236832d9dac65fc900c2bf51.zip llvm-986e0feb1d688409236832d9dac65fc900c2bf51.tar.gz llvm-986e0feb1d688409236832d9dac65fc900c2bf51.tar.bz2 | |
[mlir][tosa] Add support for cast_from/to_block_scaled (#163436)
This commit adds support for the cast_from/to_block_scaled operations
from the ext-mxfp extension. This includes:
- Operation definition in TosaOps.td
- Micro-scaling supported types definition
- Shape inference and verifiers
- Validation pass checks to ensure usage is only valid when the target
environment includes ext-mxfp and at least v1.1.draft of the
specification.
Note: currently it excludes support for mxint8. This will be added in a
later commit.
Note: this commit adds support as defined in the spec in
https://github.com/arm/tosa-specification/commit/063846a75b9687ab01e58cb3538472bffb3a03b0.
EXT_MXFP extension is considered experimental and subject to breaking
change.
Co-authored-by: Tat Wai Chong <tatwai.chong@arm.com>
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions
