[all-commits] [llvm/llvm-project] 70de50: [BPI] Use BasicBlock::isEHPad() to check exception...
Enna1 via All-commits
all-commits at lists.llvm.org
Mon Jun 17 05:17:04 PDT 2024
Branch: refs/heads/users/Enna1/BPI-use-isEHPad
Home: https://github.com/llvm/llvm-project
Commit: 70de50502959800622f0b0009ca74dc95084038b
https://github.com/llvm/llvm-project/commit/70de50502959800622f0b0009ca74dc95084038b
Author: xumingjie.enna1 <xumingjie.enna1 at bytedance.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M llvm/lib/Analysis/BranchProbabilityInfo.cpp
Log Message:
-----------
[BPI] Use BasicBlock::isEHPad() to check exception handling block.
There is no need to iterate all predecessors of current block, check if
current block is the invoke unwind destination of any predcessor.
We can directly call `BasicBlock::isEHPad()` to check if current block
is a exception handling block.
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