[PATCH] D113081: [LowerSwitch] Delete all new dead blocks accurately
Chuanqi Xu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 3 23:11:51 PDT 2021
ChuanqiXu added a comment.
If the newly added blocks are dead, they should be deleted by later DCE passes in one shot, am I right?
I think it is good to eliminate dead blocks if we could make it cheaply. But if we need to calculate reachable definitions by DT in a loop, it looks a little bit expensive.
I mean this patch may cause the compile time increases but wouldn't change the code generated finally.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113081/new/
https://reviews.llvm.org/D113081
More information about the llvm-commits
mailing list