[Mlir-commits] [mlir] 151b58d - [mlir] Fix unit tests after LLVM commit 8b1771bd9f3.
Lang Hames
llvmlistbot at llvm.org
Mon Mar 27 19:39:14 PDT 2023
Author: Lang Hames
Date: 2023-03-27T19:38:21-07:00
New Revision: 151b58d80272d9e4b4bdc2f1bbc9682a52e52206
URL: https://github.com/llvm/llvm-project/commit/151b58d80272d9e4b4bdc2f1bbc9682a52e52206
DIFF: https://github.com/llvm/llvm-project/commit/151b58d80272d9e4b4bdc2f1bbc9682a52e52206.diff
LOG: [mlir] Fix unit tests after LLVM commit 8b1771bd9f3.
Added:
Modified:
mlir/unittests/ExecutionEngine/Invoke.cpp
Removed:
################################################################################
diff --git a/mlir/unittests/ExecutionEngine/Invoke.cpp b/mlir/unittests/ExecutionEngine/Invoke.cpp
index e726d93b8831a..87413afb35ba9 100644
--- a/mlir/unittests/ExecutionEngine/Invoke.cpp
+++ b/mlir/unittests/ExecutionEngine/Invoke.cpp
@@ -283,7 +283,8 @@ TEST(NativeMemRefJit, MAYBE_JITCallback) {
jit->registerSymbols([&](llvm::orc::MangleAndInterner interner) {
llvm::orc::SymbolMap symbolMap;
symbolMap[interner("_mlir_ciface_callback")] =
- llvm::JITEvaluatedSymbol::fromPointer(memrefMultiply);
+ { llvm::orc::ExecutorAddr::fromPtr(memrefMultiply),
+ llvm::JITSymbolFlags::Exported };
return symbolMap;
});
More information about the Mlir-commits
mailing list