[llvm] [llubi] Implements common library functions (PR #190147)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 9 10:58:20 PDT 2026


================
@@ -873,13 +887,14 @@ class InstExecutor : public InstVisitor<InstExecutor, void>,
     // TODO: track volatile stores
     // TODO: handle metadata
     store(Ptr, SI.getAlign(), Val, SI.getValueOperand()->getType());
-    if (Status)
-      Status &= Handler.onInstructionExecuted(SI, AnyValue());
+    if (!hasProgramExited())
+      if (!Handler.onInstructionExecuted(SI, AnyValue()))
----------------
dtcxzyw wrote:

```suggestion
    if (!hasProgramExited() && !Handler.onInstructionExecuted(SI, AnyValue()))
```

https://github.com/llvm/llvm-project/pull/190147


More information about the llvm-commits mailing list