HomePhabricator

[SimplifyCFG] Tail-merging all blocks with `ret` terminator

Authored by lebedev.ri on Jun 24 2021, 3:15 AM.

Description

[SimplifyCFG] Tail-merging all blocks with ret terminator

Based ontop of D104598, which is a NFCI-ish refactoring.
Here, a restriction, that only empty blocks can be merged, is lifted.

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D104597

Details

Committed
lebedev.riJun 24 2021, 3:15 AM
Reviewer
rnk
Differential Revision
D104597: [SimplifyCFG] Tail-merging all blocks with `ret` terminator
Parents
rGcba4b104a9c1: [NFC][AArch64] Un-autogenerate swifterror.ll tests
Branches
Unknown
Tags
Unknown