[PATCH] D148514: [BranchFolding] Remove redundant conditional branch.
Denis Antrushin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 18 02:34:45 PDT 2023
dantrushin added a comment.
Would be nice to have few dedicated tests. All existing test changes are noisy
================
Comment at: llvm/lib/CodeGen/BranchFolding.cpp:1682
+ // it will never be taken, so we can eliminate it
+ // until MBB has address taken or target of an exception handling.
+ if (CurTBB && IsBranchOnlyBlock(MBB) &&
----------------
until -> unless ?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D148514/new/
https://reviews.llvm.org/D148514
More information about the llvm-commits
mailing list