[Mlir-commits] [mlir] [mlir][tosa] Add integer type conversion pass (PR #232853)

Luke Hutton llvmlistbot at llvm.org
Fri Oct 23 04:13:06 PDT 2026


================
@@ -357,6 +358,8 @@ def enable_llc(llc_executable):
         append_path=True,
     )
 
+config.available_features.add("host-byteorder-" + sys.byteorder + "-endian")
----------------
lhutton1 wrote:

I'm not very familiar with LIT, so would appreciate someone else taking a look here. Seems useful in general though and would be good to update other instances such as https://github.com/llvm/llvm-project/blob/fe5ace607b587df1d46174846c40e3afe2c0a4a3/mlir/test/Dialect/Tosa/tosa-layerwise-constant-fold-dense-resource.mlir#L5-L4

https://github.com/llvm/llvm-project/pull/232853


More information about the Mlir-commits mailing list