summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAllocLocal.cpp
diff options
context:
space:
mode:
authorAlkis Evlogimenos <alkis@evlogimenos.com>2003-12-18 22:40:24 +0000
committerAlkis Evlogimenos <alkis@evlogimenos.com>2003-12-18 22:40:24 +0000
commit7139090fd29481bc91db6023d613fd5389ebfcb2 (patch)
tree97983535ea4efc5afda562d7d1df4e6e95924b45 /llvm/lib/CodeGen/RegAllocLocal.cpp
parentbbe0f1d7956f8ca3e024c8494f965e44d2280600 (diff)
downloadbcm5719-llvm-7139090fd29481bc91db6023d613fd5389ebfcb2.tar.gz
bcm5719-llvm-7139090fd29481bc91db6023d613fd5389ebfcb2.zip
Remove TwoAddressInstruction from the public headers and add an ID
instead, since this pass doesn't expose any state to its users. llvm-svn: 10520
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocLocal.cpp')
-rw-r--r--llvm/lib/CodeGen/RegAllocLocal.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/RegAllocLocal.cpp b/llvm/lib/CodeGen/RegAllocLocal.cpp
index d3e80e08e81..88699d0bcb4 100644
--- a/llvm/lib/CodeGen/RegAllocLocal.cpp
+++ b/llvm/lib/CodeGen/RegAllocLocal.cpp
@@ -19,7 +19,6 @@
#include "llvm/CodeGen/SSARegMap.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/LiveVariables.h"
-#include "llvm/CodeGen/TwoAddressInstructionPass.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Target/TargetMachine.h"
#include "Support/CommandLine.h"
@@ -113,7 +112,7 @@ namespace {
if (!DisableKill)
AU.addRequired<LiveVariables>();
AU.addRequiredID(PHIEliminationID);
- AU.addRequired<TwoAddressInstructionPass>();
+ AU.addRequiredID(TwoAddressInstructionPassID);
MachineFunctionPass::getAnalysisUsage(AU);
}
OpenPOWER on IntegriCloud