summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2018-01-19 06:46:10 +0000
committerMatthias Braun <matze@braunis.de>2018-01-19 06:46:10 +0000
commit4a7c8e7aa2e9845652703141b240f9179f1f9980 (patch)
treeb0b96fe5733880ae31bc9d179d8c2b82c8cd2b46 /llvm/lib/CodeGen/CodeGen.cpp
parent3ab9fcb98e97efcf8f4e0a521018170dec8b6078 (diff)
downloadbcm5719-llvm-4a7c8e7aa2e9845652703141b240f9179f1f9980.tar.gz
bcm5719-llvm-4a7c8e7aa2e9845652703141b240f9179f1f9980.zip
Split MachineLICM into EarlyMachineLICM and MachineLICM; NFC
This avoids playing games with pseudo pass IDs and avoids using an unreliable MRI::isSSA() check to determine whether register allocation has happened. Note that this renames: - MachineLICMID -> EarlyMachineLICM - PostRAMachineLICMID -> MachineLICMID to be consistent with the EarlyTailDuplicate/TailDuplicate naming. llvm-svn: 322927
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 40f1599a2fa..bce050a645d 100644
--- a/llvm/lib/CodeGen/CodeGen.cpp
+++ b/llvm/lib/CodeGen/CodeGen.cpp
@@ -28,6 +28,7 @@ void llvm::initializeCodeGen(PassRegistry &Registry) {
initializeDetectDeadLanesPass(Registry);
initializeDwarfEHPreparePass(Registry);
initializeEarlyIfConverterPass(Registry);
+ initializeEarlyMachineLICMPass(Registry);
initializeEarlyTailDuplicatePass(Registry);
initializeExpandISelPseudosPass(Registry);
initializeExpandMemCmpPassPass(Registry);
OpenPOWER on IntegriCloud