summaryrefslogtreecommitdiff
path: root/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
commit4c080863de86448d905beab27686da823b6d44c1 (patch)
tree62e104baee7dd17b6f324af45a95d7bdabd07ec9 /lib/CodeGen/RegAllocLocal.cpp
parent78cb3f218ae2b6e7200e81a21642fd2d269e46c7 (diff)
downloadllvm-4c080863de86448d905beab27686da823b6d44c1.tar.gz
llvm-4c080863de86448d905beab27686da823b6d44c1.tar.bz2
llvm-4c080863de86448d905beab27686da823b6d44c1.tar.xz
Remove TwoAddressInstruction from the public headers and add an ID
instead, since this pass doesn't expose any state to its users. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10520 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocLocal.cpp')
-rw-r--r--lib/CodeGen/RegAllocLocal.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/RegAllocLocal.cpp b/lib/CodeGen/RegAllocLocal.cpp
index d3e80e08e8..88699d0bcb 100644
--- a/lib/CodeGen/RegAllocLocal.cpp
+++ b/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);
}