diff options
author | Craig Topper <craig.topper@gmail.com> | 2012-03-25 23:49:58 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2012-03-25 23:49:58 +0000 |
commit | acf2077ca497980a066e8e7bb81ceec0de82d5da (patch) | |
tree | 4959da77061ca90d198666fd064fd47aebbd3ef2 /lib/Target/ARM/ARMConstantIslandPass.cpp | |
parent | 58725a66c02865686c70132e8b9bd231eb66da63 (diff) | |
download | llvm-acf2077ca497980a066e8e7bb81ceec0de82d5da.tar.gz llvm-acf2077ca497980a066e8e7bb81ceec0de82d5da.tar.bz2 llvm-acf2077ca497980a066e8e7bb81ceec0de82d5da.tar.xz |
Replace uses of ARMBaseInstrInfo and ARMTargetMachine with the Base versions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153421 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMConstantIslandPass.cpp')
-rw-r--r-- | lib/Target/ARM/ARMConstantIslandPass.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Target/ARM/ARMConstantIslandPass.cpp b/lib/Target/ARM/ARMConstantIslandPass.cpp index f1ff94ab8b..1daf908812 100644 --- a/lib/Target/ARM/ARMConstantIslandPass.cpp +++ b/lib/Target/ARM/ARMConstantIslandPass.cpp @@ -16,7 +16,6 @@ #define DEBUG_TYPE "arm-cp-islands" #include "ARM.h" #include "ARMMachineFunctionInfo.h" -#include "ARMInstrInfo.h" #include "Thumb2InstrInfo.h" #include "MCTargetDesc/ARMAddressingModes.h" #include "llvm/CodeGen/MachineConstantPool.h" @@ -266,7 +265,7 @@ namespace { MachineFunction *MF; MachineConstantPool *MCP; - const ARMInstrInfo *TII; + const ARMBaseInstrInfo *TII; const ARMSubtarget *STI; ARMFunctionInfo *AFI; bool isThumb; @@ -383,7 +382,7 @@ bool ARMConstantIslands::runOnMachineFunction(MachineFunction &mf) { << MCP->getConstants().size() << " CP entries, aligned to " << MCP->getConstantPoolAlignment() << " bytes *****\n"); - TII = (const ARMInstrInfo*)MF->getTarget().getInstrInfo(); + TII = (const ARMBaseInstrInfo*)MF->getTarget().getInstrInfo(); AFI = MF->getInfo<ARMFunctionInfo>(); STI = &MF->getTarget().getSubtarget<ARMSubtarget>(); |