[Mlir-commits] [mlir] [mlir][fix] Add callback functions for ModuleToObject (PR #116916)
Mehdi Amini
llvmlistbot at llvm.org
Wed Nov 20 03:40:53 PST 2024
================
@@ -153,3 +155,91 @@ TEST_F(MLIRTargetLLVM, SKIP_WITHOUT_NATIVE(TargetAttrAPI)) {
// `serializeToObject`.
ASSERT_TRUE(properties.contains("serialize_attr"));
}
+
+// Test callback function invoked with initial LLVM IR
+TEST_F(MLIRTargetLLVM, SKIP_WITHOUT_NATIVE(CallbackInvokedWithInitialLLVMIR)) {
+ MLIRContext context(registry);
+ context.loadAllAvailableDialects();
----------------
joker-eph wrote:
That line should not be needed.
https://github.com/llvm/llvm-project/pull/116916
More information about the Mlir-commits
mailing list