summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2017-02-14 21:02:24 +0000
committerReid Kleckner <rnk@google.com>2017-02-14 21:02:24 +0000
commita622fc9bdf5f8674d29fc8d54907f9038eca8584 (patch)
tree59708f7fee5e30ec29e338c2b33d5d312daaed67 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
parent398c5f57f946c4ea4156fc88508dc095f01826b7 (diff)
downloadbcm5719-llvm-a622fc9bdf5f8674d29fc8d54907f9038eca8584.tar.gz
bcm5719-llvm-a622fc9bdf5f8674d29fc8d54907f9038eca8584.zip
[BranchFolding] Tail common all identical unreachable blocks
Summary: Blocks ending in unreachable are typically cold because they end the program or throw an exception, so merging them with other identical blocks is usually profitable because it reduces the size of cold code. MachineBlockPlacement generally does not arrange to fall through to such blocks, so commoning these blocks will not introduce additional unconditional branches. Reviewers: hans, iteratee, haicheng Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D29153 llvm-svn: 295105
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud