summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorQuentin Colombet <qcolombet@apple.com>2017-06-02 22:46:26 +0000
committerQuentin Colombet <qcolombet@apple.com>2017-06-02 22:46:26 +0000
commitebbaed6d3ceb749272d947fdb23016b3f6266756 (patch)
treedfbee37af0634879ff045ed693ea4bddeab2f0f1 /llvm/lib/CodeGen/CodeGen.cpp
parent0e86bfb5bb3d81d69a0c56d24ff6231ca3a2bc79 (diff)
downloadbcm5719-llvm-ebbaed6d3ceb749272d947fdb23016b3f6266756.tar.gz
bcm5719-llvm-ebbaed6d3ceb749272d947fdb23016b3f6266756.zip
[RABasic] Properly initialize the pass
Use the initializeXXX method to initialize the RABasic pass in the pipeline. This enables us to take advantage of the .mir infrastructure. llvm-svn: 304602
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 4d30c6574b1..256a0c95d36 100644
--- a/llvm/lib/CodeGen/CodeGen.cpp
+++ b/llvm/lib/CodeGen/CodeGen.cpp
@@ -77,6 +77,7 @@ void llvm::initializeCodeGen(PassRegistry &Registry) {
initializePostRASchedulerPass(Registry);
initializePreISelIntrinsicLoweringLegacyPassPass(Registry);
initializeProcessImplicitDefsPass(Registry);
+ initializeRABasicPass(Registry);
initializeRAGreedyPass(Registry);
initializeRegisterCoalescerPass(Registry);
initializeRenameIndependentSubregsPass(Registry);
OpenPOWER on IntegriCloud