summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorLei Huang <lei@ca.ibm.com>2017-09-12 18:39:11 +0000
committerLei Huang <lei@ca.ibm.com>2017-09-12 18:39:11 +0000
commit34e6621724133d1ac5fcf937794b867b80ff42e2 (patch)
treeaf93b8d825cf022483725161094d14b0b328e00e /llvm/lib/CodeGen/CodeGen.cpp
parent99b3265496e364ebc90c524761fd5bac1be26cc1 (diff)
downloadbcm5719-llvm-34e6621724133d1ac5fcf937794b867b80ff42e2.tar.gz
bcm5719-llvm-34e6621724133d1ac5fcf937794b867b80ff42e2.zip
Update branch coalescing to be a PowerPC specific pass
Implementing this pass as a PowerPC specific pass. Branch coalescing utilizes the analyzeBranch method which currently does not include any implicit operands. This is not an issue on PPC but must be handled on other targets. Pass is currently off by default. Enabled via -enable-ppc-branch-coalesce. Differential Revision : https: // reviews.llvm.org/D32776 llvm-svn: 313061
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
-rw-r--r--llvm/lib/CodeGen/CodeGen.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/CodeGen.cpp b/llvm/lib/CodeGen/CodeGen.cpp
index 75f62ba4719..f4ccb4889d3 100644
--- a/llvm/lib/CodeGen/CodeGen.cpp
+++ b/llvm/lib/CodeGen/CodeGen.cpp
@@ -21,7 +21,6 @@ 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