summaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegAllocPBQP.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-08-09 00:29:53 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-08-09 00:29:53 +0000
commit27215676c7114132a0374f7b5c9ea73d9354d329 (patch)
tree7919cf9971b952164b5ccb44d19c2d297478ab1f /lib/CodeGen/RegAllocPBQP.cpp
parent3148a654909e55e8511a1c23991bf0ae8d3f9204 (diff)
downloadllvm-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/RegAllocPBQP.cpp')
-rw-r--r--lib/CodeGen/RegAllocPBQP.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/RegAllocPBQP.cpp b/lib/CodeGen/RegAllocPBQP.cpp
index 72230d4b0c..0d2cf2d618 100644
--- a/lib/CodeGen/RegAllocPBQP.cpp
+++ b/lib/CodeGen/RegAllocPBQP.cpp
@@ -450,7 +450,7 @@ void RegAllocPBQP::getAnalysisUsage(AnalysisUsage &au) const {
au.addPreserved<SlotIndexes>();
au.addRequired<LiveIntervals>();
//au.addRequiredID(SplitCriticalEdgesID);
- au.addRequired<RegisterCoalescer>();
+ au.addRequiredID(RegisterCoalescerPassID);
if (customPassID)
au.addRequiredID(*customPassID);
au.addRequired<CalculateSpillWeights>();