[all-commits] [llvm/llvm-project] 2db262: [MLIR] Fix mlirExecutionEngineLookup throwing asse...
Edgar via All-commits
all-commits at lists.llvm.org
Sat Feb 15 03:21:42 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2db262886f0c06c079e1b2808c4c14c16f8861b5
https://github.com/llvm/llvm-project/commit/2db262886f0c06c079e1b2808c4c14c16f8861b5
Author: Edgar <git at edgarluque.com>
Date: 2025-02-15 (Sat, 15 Feb 2025)
Changed paths:
M mlir/lib/CAPI/ExecutionEngine/ExecutionEngine.cpp
Log Message:
-----------
[MLIR] Fix mlirExecutionEngineLookup throwing assert on lookup fail (#123924)
Apparently trying to lookup a function pointer using the C api
`mlirExecutionEngineLookup` will throw an assert instead of just
returning a nullptr on builds with asserts.
The docs itself says it returns a nullptr when no function is found so
it should be sensible to not throw an assert in this case.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list