summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-06-27 00:13:43 +0000
committerEric Christopher <echristo@gmail.com>2014-06-27 00:13:43 +0000
commit0d0b3600d894fde316d920dd7515242e3f7e9ba7 (patch)
treeb902e62d34407bfc9cb6ff3b31ab633540b93cee /llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
parent009bff223b01d3f1808d61f0ae19f7cd8bc31f73 (diff)
downloadbcm5719-llvm-0d0b3600d894fde316d920dd7515242e3f7e9ba7.tar.gz
bcm5719-llvm-0d0b3600d894fde316d920dd7515242e3f7e9ba7.zip
InstrItineraryData is already on the subtarget, no reason to
cache it on the target as well. llvm-svn: 211818
Diffstat (limited to 'llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp')
-rw-r--r--llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp13
1 files changed, 5 insertions, 8 deletions
diff --git a/llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp b/llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
index b9237647ff4..c3caa917465 100644
--- a/llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
+++ b/llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
@@ -67,15 +67,12 @@ SchedCustomRegistry("hexagon", "Run Hexagon's custom scheduler",
HexagonTargetMachine::HexagonTargetMachine(const Target &T, StringRef TT,
StringRef CPU, StringRef FS,
const TargetOptions &Options,
- Reloc::Model RM,
- CodeModel::Model CM,
+ Reloc::Model RM, CodeModel::Model CM,
CodeGenOpt::Level OL)
- : LLVMTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL),
- DL("e-m:e-p:32:32-i1:32-i64:64-a:0-n32") ,
- Subtarget(TT, CPU, FS), InstrInfo(Subtarget), TLInfo(*this),
- TSInfo(*this),
- FrameLowering(Subtarget),
- InstrItins(&Subtarget.getInstrItineraryData()) {
+ : LLVMTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL),
+ DL("e-m:e-p:32:32-i1:32-i64:64-a:0-n32"), Subtarget(TT, CPU, FS),
+ InstrInfo(Subtarget), TLInfo(*this), TSInfo(*this),
+ FrameLowering(Subtarget) {
initAsmInfo();
}
OpenPOWER on IntegriCloud