diff options
author | Eric Christopher <echristo@gmail.com> | 2014-07-02 00:54:07 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2014-07-02 00:54:07 +0000 |
commit | 4407ddefd0e226c383474faf29697b401351bbd0 (patch) | |
tree | a52d9f5b6b58da41a0ce605c9e2f8af798726db6 /llvm/lib/Target/Mips/MipsTargetMachine.cpp | |
parent | 6a8fada294b3e26957f0dcbc66fd328668c9eed3 (diff) | |
download | llvm-4407ddefd0e226c383474faf29697b401351bbd0.zip llvm-4407ddefd0e226c383474faf29697b401351bbd0.tar.gz llvm-4407ddefd0e226c383474faf29697b401351bbd0.tar.bz2 |
Remove the cached InstrItineraryData on the TargetMachine, it's unnecessary.
llvm-svn: 212149
Diffstat (limited to 'llvm/lib/Target/Mips/MipsTargetMachine.cpp')
-rw-r--r-- | llvm/lib/Target/Mips/MipsTargetMachine.cpp | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/llvm/lib/Target/Mips/MipsTargetMachine.cpp b/llvm/lib/Target/Mips/MipsTargetMachine.cpp index 20d5214..25234b9 100644 --- a/llvm/lib/Target/Mips/MipsTargetMachine.cpp +++ b/llvm/lib/Target/Mips/MipsTargetMachine.cpp @@ -80,19 +80,16 @@ static std::string computeDataLayout(const MipsSubtarget &ST) { // offset from the stack/frame pointer, using StackGrowsUp enables // an easier handling. // Using CodeModel::Large enables different CALL behavior. -MipsTargetMachine:: -MipsTargetMachine(const Target &T, StringRef TT, - StringRef CPU, StringRef FS, const TargetOptions &Options, - Reloc::Model RM, CodeModel::Model CM, - CodeGenOpt::Level OL, - bool isLittle) - : LLVMTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL), - Subtarget(TT, CPU, FS, isLittle, RM, this), - DL(computeDataLayout(Subtarget)), - InstrInfo(MipsInstrInfo::create(*this)), - FrameLowering(MipsFrameLowering::create(*this, Subtarget)), - TLInfo(MipsTargetLowering::create(*this)), TSInfo(DL), - InstrItins(Subtarget.getInstrItineraryData()), JITInfo() { +MipsTargetMachine::MipsTargetMachine(const Target &T, StringRef TT, + StringRef CPU, StringRef FS, + const TargetOptions &Options, + Reloc::Model RM, CodeModel::Model CM, + CodeGenOpt::Level OL, bool isLittle) + : LLVMTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL), + Subtarget(TT, CPU, FS, isLittle, RM, this), + DL(computeDataLayout(Subtarget)), InstrInfo(MipsInstrInfo::create(*this)), + FrameLowering(MipsFrameLowering::create(*this, Subtarget)), + TLInfo(MipsTargetLowering::create(*this)), TSInfo(DL), JITInfo() { initAsmInfo(); } |