[Mlir-commits] [mlir] [mlir][tosa] Add integer type conversion pass (PR #232853)
Michael Platings
llvmlistbot at llvm.org
Fri Oct 30 05:10:49 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
----------------
mplatings wrote:
8:4 was just a contrived example. Plausibly you might want to narrow i48 to i32. But this ability is removed now.
https://github.com/llvm/llvm-project/pull/232853
More information about the Mlir-commits
mailing list