[llvm] [SjLjEHPrepare] Fix callsite problem (PR #67264)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 24 05:42:20 PDT 2023


================
@@ -442,9 +442,19 @@ bool SjLjEHPrepare::setupEntryBlockAndCallSites(Function &F) {
   for (BasicBlock &BB : F) {
     if (&BB == &F.front())
       continue;
-    for (Instruction &I : BB)
-      if (I.mayThrow())
-        insertCallSiteStore(&I, -1);
+    for (Instruction &I : BB) {
+      // Partially revert b61fd7f modifications.  Stop using "I.mayThrow()"
----------------
arsenm wrote:

Don't refer to past revert, explain what this is 

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


More information about the llvm-commits mailing list