summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>2017-03-01 20:29:34 +0000
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>2017-03-01 20:29:34 +0000
commitb223cfabcc6b905d9c062f65395ea8c114684574 (patch)
treefe1fae779ad3322bcd3ecf7d0d3fbb31230ce56a /llvm/lib/CodeGen/CodeGen.cpp
parent96b2530f52caa732af43b26e6d467dd15df9ffdf (diff)
downloadbcm5719-llvm-b223cfabcc6b905d9c062f65395ea8c114684574.tar.gz
bcm5719-llvm-b223cfabcc6b905d9c062f65395ea8c114684574.zip
Improve scheduling with branch coalescing
This patch adds a MachineSSA pass that coalesces blocks that branch on the same condition. Committing on behalf of Lei Huang. Differential Revision: https://reviews.llvm.org/D28249 llvm-svn: 296670
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
-rw-r--r--llvm/lib/CodeGen/CodeGen.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/CodeGen.cpp b/llvm/lib/CodeGen/CodeGen.cpp
index da4d7c992b0..b70c2b08ee0 100644
--- a/llvm/lib/CodeGen/CodeGen.cpp
+++ b/llvm/lib/CodeGen/CodeGen.cpp
@@ -21,6 +21,7 @@ using namespace llvm;
/// initializeCodeGen - Initialize all passes linked into the CodeGen library.
void llvm::initializeCodeGen(PassRegistry &Registry) {
initializeAtomicExpandPass(Registry);
+ initializeBranchCoalescingPass(Registry);
initializeBranchFolderPassPass(Registry);
initializeBranchRelaxationPass(Registry);
initializeCodeGenPreparePass(Registry);
OpenPOWER on IntegriCloud