[Mlir-commits] [mlir] [mlir][tosa] Add integer type conversion pass (PR #232853)
Luke Hutton
llvmlistbot at llvm.org
Fri Oct 30 03:46:42 PDT 2026
================
@@ -0,0 +1,132 @@
+// REQUIRES: host-byteorder-little-endian
+// RUN: mlir-opt -split-input-file -tosa-convert-integer-types-bitwidth='bitwidth-mappings=3:4,4:8,8:4,13:16,16:1,24:32,40:24,48:64,56:48,65:128,128:65' -mlir-print-op-generic %s | FileCheck %s
+// RUN: mlir-opt -split-input-file -tosa-convert-integer-types-bitwidth='bitwidth-mappings=128:65,65:128,56:48,48:64,40:24,24:32,16:1,13:16,8:4,4:8,3:4' -mlir-print-op-generic %s | FileCheck %s
----------------
lhutton1 wrote:
I'm trying to understand the use-case for narrowing values e.g. 8:4?
https://github.com/llvm/llvm-project/pull/232853
More information about the Mlir-commits
mailing list