[llvm] [SjLjEHPrepare] Fix callsite problem (PR #67264)
Kazushi Marukawa via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 26 18:46:54 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()"
----------------
kaz7 wrote:
I've updated in-source comments.
https://github.com/llvm/llvm-project/pull/67264
More information about the llvm-commits
mailing list