summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPC.h
diff options
context:
space:
mode:
authorLei Huang <lei@ca.ibm.com>2017-08-23 19:25:04 +0000
committerLei Huang <lei@ca.ibm.com>2017-08-23 19:25:04 +0000
commit0cb591fc4c5a5c8cf561e8f2b01e88941936578e (patch)
treee543037f2852ed9954fa7bdcbaac0791b895495d /llvm/lib/Target/PowerPC/PPC.h
parent7dbd1fd73b3a356ce75b4b9a9da7dc83dd760744 (diff)
downloadbcm5719-llvm-0cb591fc4c5a5c8cf561e8f2b01e88941936578e.tar.gz
bcm5719-llvm-0cb591fc4c5a5c8cf561e8f2b01e88941936578e.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. Differential Revision : https: // reviews.llvm.org/D32776 llvm-svn: 311588
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPC.h')
-rw-r--r--llvm/lib/Target/PowerPC/PPC.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPC.h b/llvm/lib/Target/PowerPC/PPC.h
index ad92ac8ce12..40790011f9b 100644
--- a/llvm/lib/Target/PowerPC/PPC.h
+++ b/llvm/lib/Target/PowerPC/PPC.h
@@ -41,6 +41,7 @@ namespace llvm {
FunctionPass *createPPCVSXSwapRemovalPass();
FunctionPass *createPPCMIPeepholePass();
FunctionPass *createPPCBranchSelectionPass();
+ FunctionPass *createPPCBranchCoalescingPass();
FunctionPass *createPPCQPXLoadSplatPass();
FunctionPass *createPPCISelDag(PPCTargetMachine &TM, CodeGenOpt::Level OL);
FunctionPass *createPPCTLSDynamicCallPass();
OpenPOWER on IntegriCloud