summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-06-27 00:27:40 +0000
committerEric Christopher <echristo@gmail.com>2014-06-27 00:27:40 +0000
commitc4c63ae9f46f243f85755117fe1b73886459eaf3 (patch)
tree500def441fe15915ba893cdb344c920f9a726c81 /llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
parentad86372630b4810bd21a932b251659ac5055862c (diff)
downloadbcm5719-llvm-c4c63ae9f46f243f85755117fe1b73886459eaf3.tar.gz
bcm5719-llvm-c4c63ae9f46f243f85755117fe1b73886459eaf3.zip
Move all of the hexagon subtarget dependent variables from the target
machine to the subtarget. llvm-svn: 211824
Diffstat (limited to 'llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp')
-rw-r--r--llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp b/llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
index 40c06f61fd5..78314100d18 100644
--- a/llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
+++ b/llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
@@ -70,9 +70,7 @@ HexagonTargetMachine::HexagonTargetMachine(const Target &T, StringRef TT,
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(DL),
- FrameLowering() {
+ Subtarget(TT, CPU, FS, *this) {
initAsmInfo();
}
OpenPOWER on IntegriCloud