diff options
| author | Aiden Grossman <aidengrossman@google.com> | 2025-10-30 15:40:05 +0000 |
|---|---|---|
| committer | Aiden Grossman <aidengrossman@google.com> | 2025-10-30 15:40:05 +0000 |
| commit | 23de60b719e5e4cc128c42c187d7d26201ced57e (patch) | |
| tree | 1ad7cab7731169ee4ecad6b11e46ff8a71b94f45 /mlir/lib/ExecutionEngine/ExecutionEngine.cpp | |
| parent | 1b2f3728e537f008cfb6b03bd603ea309194f453 (diff) | |
| parent | d09b50596d27d48d0a0cbf9bfe5f121e85de7313 (diff) | |
[𝘀𝗽𝗿] changes introduced through rebaseusers/boomanaiden154/main.msan-make-test-work-with-internal-shell
Created using spr 1.3.7
[skip ci]
Diffstat (limited to 'mlir/lib/ExecutionEngine/ExecutionEngine.cpp')
| -rw-r--r-- | mlir/lib/ExecutionEngine/ExecutionEngine.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mlir/lib/ExecutionEngine/ExecutionEngine.cpp b/mlir/lib/ExecutionEngine/ExecutionEngine.cpp index 52162a43aeae..2255633c746b 100644 --- a/mlir/lib/ExecutionEngine/ExecutionEngine.cpp +++ b/mlir/lib/ExecutionEngine/ExecutionEngine.cpp @@ -239,6 +239,8 @@ ExecutionEngine::create(Operation *m, const ExecutionEngineOptions &options, // Remember all entry-points if object dumping is enabled. if (options.enableObjectDump) { for (auto funcOp : m->getRegion(0).getOps<LLVM::LLVMFuncOp>()) { + if (funcOp.getBlocks().empty()) + continue; StringRef funcName = funcOp.getSymName(); engine->functionNames.push_back(funcName.str()); } |
