[PATCH] D131824: Split EH code by default
Archit Saxena via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 15 17:17:15 PDT 2022
iamarchit123 added inline comments.
================
Comment at: llvm/lib/CodeGen/MachineFunctionSplitter.cpp:213
+ if (SplitAllEHCode)
+ setDescendantEHBlocksCold(LandingPads, &MF.front());
// We only split out eh pads if all of them are cold.
----------------
snehasish wrote:
> Can we use MachineDominatorTree::getDescendants here instead?
Hi Snehashish,
What about blocks that may not be dominated by single EH pad but by two EH pads? Like reachable from both EH1 and EH2. Won't we miss those blocks?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131824/new/
https://reviews.llvm.org/D131824
More information about the llvm-commits
mailing list