summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachinePostDominators.cpp
diff options
context:
space:
mode:
authorHaicheng Wu <haicheng@codeaurora.org>2016-06-06 18:36:07 +0000
committerHaicheng Wu <haicheng@codeaurora.org>2016-06-06 18:36:07 +0000
commit77ea344786abf9e96805641868dcd04f59e452ad (patch)
tree96f50fe9c68d111b705d16a6fa9b04bbc72380cd /llvm/lib/CodeGen/MachinePostDominators.cpp
parente038aae25a97cb1721e2c35e28cd543675569029 (diff)
downloadbcm5719-llvm-77ea344786abf9e96805641868dcd04f59e452ad.tar.gz
bcm5719-llvm-77ea344786abf9e96805641868dcd04f59e452ad.zip
[MBP] Reduce code size by running tail merging in MBP.
The code layout that TailMerging (inside BranchFolding) works on is not the final layout optimized based on the branch probability. Generally, after BlockPlacement, many new merging opportunities emerge. This patch calls Tail Merging after MBP and calls MBP again if Tail Merging merges anything. Differential Revision: http://reviews.llvm.org/D20276 llvm-svn: 271925
Diffstat (limited to 'llvm/lib/CodeGen/MachinePostDominators.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud