[all-commits] [llvm/llvm-project] ef7cbc: [mlir][spirv][tosa] Add remaining TOSA 1.0 SPIR-V ...
Davide Grohmann via All-commits
all-commits at lists.llvm.org
Mon Jun 1 08:29:24 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ef7cbc5f9c408a1c505fc5aa4e1920fb8c0ed9c0
https://github.com/llvm/llvm-project/commit/ef7cbc5f9c408a1c505fc5aa4e1920fb8c0ed9c0
Author: Davide Grohmann <davide.grohmann at arm.com>
Date: 2026-06-01 (Mon, 01 Jun 2026)
Changed paths:
M mlir/lib/Conversion/TosaToSPIRVTosa/TosaToSPIRVTosaOps.cpp
M mlir/test/Conversion/TosaToSPIRVTosa/tosa-to-spirv.mlir
Log Message:
-----------
[mlir][spirv][tosa] Add remaining TOSA 1.0 SPIR-V TOSA ops (#200383)
Add conversion patterns for additional TOSA 1.0 operations targeting the
SPIR-V TOSA extended instruction set.
This covers pooling and convolution ops, FFT/RFFT, matmul, concat, pad,
rescale, const, const_shape, and identity. Concat is split into
conservative chunks to avoid producing SPIR-V instructions with too many
operands.
Add a multi-result conversion pattern for FFT/RFFT and share the
convolution replacement logic for conv2d, conv3d, and depthwise_conv2d
while keeping transpose_conv2d explicit because it has different
attributes.
Also share constant attribute conversion for const and const_shape,
including integer element type conversions such as index to i32, i4 to
i8, and i48 to i64, and preserve the empty const_shape edge case.
Add conversion tests for the newly covered operations.
Signed-off-by: Davide Grohmann <davide.grohmann at arm.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list