diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-08-09 00:29:53 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-08-09 00:29:53 +0000 |
commit | 27215676c7114132a0374f7b5c9ea73d9354d329 (patch) | |
tree | 7919cf9971b952164b5ccb44d19c2d297478ab1f /lib/CodeGen/RegAllocGreedy.cpp | |
parent | 3148a654909e55e8511a1c23991bf0ae8d3f9204 (diff) | |
download | llvm-27215676c7114132a0374f7b5c9ea73d9354d329.tar.gz llvm-27215676c7114132a0374f7b5c9ea73d9354d329.tar.bz2 llvm-27215676c7114132a0374f7b5c9ea73d9354d329.tar.xz |
Refer to the RegisterCoalescer pass by ID.
A public interface is no longer needed since RegisterCoalescer is not an
analysis any more.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137082 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocGreedy.cpp')
-rw-r--r-- | lib/CodeGen/RegAllocGreedy.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/RegAllocGreedy.cpp b/lib/CodeGen/RegAllocGreedy.cpp index f59e2205c6..5adb76e8f8 100644 --- a/lib/CodeGen/RegAllocGreedy.cpp +++ b/lib/CodeGen/RegAllocGreedy.cpp @@ -22,7 +22,6 @@ #include "SpillPlacement.h" #include "SplitKit.h" #include "VirtRegMap.h" -#include "RegisterCoalescer.h" #include "llvm/ADT/Statistic.h" #include "llvm/Analysis/AliasAnalysis.h" #include "llvm/Function.h" @@ -324,7 +323,7 @@ void RAGreedy::getAnalysisUsage(AnalysisUsage &AU) const { AU.addPreserved<LiveDebugVariables>(); if (StrongPHIElim) AU.addRequiredID(StrongPHIEliminationID); - AU.addRequiredTransitive<RegisterCoalescer>(); + AU.addRequiredTransitiveID(RegisterCoalescerPassID); AU.addRequired<CalculateSpillWeights>(); AU.addRequired<LiveStacks>(); AU.addPreserved<LiveStacks>(); |