[Mlir-commits] [mlir] [mlir][tosa] Allow i64 accumulators (PR #228427)
Michael Platings
llvmlistbot at llvm.org
Fri Oct 2 09:57:07 PDT 2026
================
@@ -0,0 +1,9 @@
+// RUN: mlir-opt %s --verify-each | FileCheck %s
+
+// Allow i64 accumulators to facilitate incremental lowerings to/from TOSA.
+// CHECK-LABEL: func.func @conv2d_i64
+// CHECK: acc_type(i64)
+func.func @conv2d_i64(%input: tensor<1x1x1x1xi16>, %weight: tensor<1x1x1x1xi8>, %bias: tensor<1xi64>, %izp: tensor<1xi16>, %wzp: tensor<1xi8>) -> tensor<1x1x1x1xi64> {
----------------
mplatings wrote:
done
https://github.com/llvm/llvm-project/pull/228427
More information about the Mlir-commits
mailing list