HomePhabricator

[MergeICmps] Simplify the code.

Authored by courbet on May 15 2019, 6:04 AM.

Description

[MergeICmps] Simplify the code.

Instead of patching the original blocks, we now generate new blocks and
delete the old blocks. This results in simpler code with a less twisted
control flow (see the change in entry-block-shuffled.ll).

This will make https://reviews.llvm.org/D60318 simpler by making it more
obvious where control flow created and deleted.

Reviewers: gchatelet

Subscribers: hiraditya, llvm-commits, spatel

Tags: #llvm

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

llvm-svn: 360771

Details

Committed
courbetMay 15 2019, 6:04 AM
Differential Revision
D61736: [MergeICmps] Simplify the code.
Parents
rG2dd6a0c0c384: Revert rL360675 : [APFloat] APFloat::Storage::Storage - fix use after move
Branches
Unknown
Tags
Unknown