[Mlir-commits] [mlir] [MLIR] Testing arith-to-emitc conversions using opaque types (PR #137936)
Simon Camphausen
llvmlistbot at llvm.org
Fri May 2 06:46:33 PDT 2025
================
@@ -30,9 +30,42 @@ namespace {
struct ConvertArithToEmitC
: public impl::ConvertArithToEmitCBase<ConvertArithToEmitC> {
void runOnOperation() override;
+
+ /// Applies conversion to opaque types for f80 and i80 types, both unsupported
+ /// in emitc. Used to test the pass with opaque types.
+ void populateOpaqueTypeConversions(TypeConverter &converter);
};
} // namespace
+void ConvertArithToEmitC::populateOpaqueTypeConversions(
----------------
simon-camp wrote:
I don't understand why these types should be unconditionally legalized, and why only for bitwidth 80?
https://github.com/llvm/llvm-project/pull/137936
More information about the Mlir-commits
mailing list