summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-06-10 18:06:23 +0000
committerEric Christopher <echristo@gmail.com>2014-06-10 18:06:23 +0000
commit6f2a203f2427e794233010f19bcf48ceb442c9db (patch)
tree76462036f1f91976ec9ebc4055f3326480d54449 /llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
parenta40ccf620bdeaea2ac63d3c9f6d238f2ee62eb9d (diff)
downloadbcm5719-llvm-6f2a203f2427e794233010f19bcf48ceb442c9db.tar.gz
bcm5719-llvm-6f2a203f2427e794233010f19bcf48ceb442c9db.zip
Move DataLayout onto the AArch64 subtarget.
llvm-svn: 210552
Diffstat (limited to 'llvm/lib/Target/AArch64/AArch64TargetMachine.cpp')
-rw-r--r--llvm/lib/Target/AArch64/AArch64TargetMachine.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64TargetMachine.cpp b/llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
index 652793eb101..f86f86b7f24 100644
--- a/llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
+++ b/llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
@@ -78,13 +78,6 @@ AArch64TargetMachine::AArch64TargetMachine(const Target &T, StringRef TT,
bool LittleEndian)
: LLVMTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL),
Subtarget(TT, CPU, FS, LittleEndian),
- // This nested ternary is horrible, but DL needs to be properly
- // initialized
- // before TLInfo is constructed.
- DL(Subtarget.isTargetMachO()
- ? "e-m:o-i64:64-i128:128-n32:64-S128"
- : (LittleEndian ? "e-m:e-i64:64-i128:128-n32:64-S128"
- : "E-m:e-i64:64-i128:128-n32:64-S128")),
InstrInfo(Subtarget), TLInfo(*this), TSInfo(*this) {
initAsmInfo();
}
OpenPOWER on IntegriCloud