summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/Local.cpp
diff options
context:
space:
mode:
authorClement Courbet <courbet@google.com>2019-05-15 13:04:24 +0000
committerClement Courbet <courbet@google.com>2019-05-15 13:04:24 +0000
commit157ae639fa646c59ad6cb2c39a389264d5cb3e6a (patch)
treeeafdbe550805630438d465ac1efe35dc8791f385 /llvm/lib/Transforms/Utils/Local.cpp
parent2dd6a0c0c3841af24a6bb7e5025b26df92759c4a (diff)
downloadbcm5719-llvm-157ae639fa646c59ad6cb2c39a389264d5cb3e6a.tar.gz
bcm5719-llvm-157ae639fa646c59ad6cb2c39a389264d5cb3e6a.zip
[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
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud