summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/BPF/BPFSubtarget.cpp
diff options
context:
space:
mode:
authorAlexei Starovoitov <alexei.starovoitov@gmail.com>2015-01-26 20:43:15 +0000
committerAlexei Starovoitov <alexei.starovoitov@gmail.com>2015-01-26 20:43:15 +0000
commit3c8465acb219fa83239e004d4fcac9bec1a26239 (patch)
treedb147f57234553b0fcee82b1b158228bff2e8325 /llvm/lib/Target/BPF/BPFSubtarget.cpp
parent87d10ef3257788247081d6e94308e70c9c5bb08d (diff)
downloadbcm5719-llvm-3c8465acb219fa83239e004d4fcac9bec1a26239.tar.gz
bcm5719-llvm-3c8465acb219fa83239e004d4fcac9bec1a26239.zip
bpf: fix build due to 'Move DataLayout back to the TargetMachine'
commit r227113 moved DataLayout llvm-svn: 227133
Diffstat (limited to 'llvm/lib/Target/BPF/BPFSubtarget.cpp')
-rw-r--r--llvm/lib/Target/BPF/BPFSubtarget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/BPF/BPFSubtarget.cpp b/llvm/lib/Target/BPF/BPFSubtarget.cpp
index 7a237ea0e0f..49addc37ab8 100644
--- a/llvm/lib/Target/BPF/BPFSubtarget.cpp
+++ b/llvm/lib/Target/BPF/BPFSubtarget.cpp
@@ -27,5 +27,5 @@ void BPFSubtarget::anchor() {}
BPFSubtarget::BPFSubtarget(const std::string &TT, const std::string &CPU,
const std::string &FS, const TargetMachine &TM)
- : BPFGenSubtargetInfo(TT, CPU, FS), DL("e-m:e-p:64:64-i64:64-n32:64-S128"),
- InstrInfo(), FrameLowering(*this), TLInfo(TM), TSInfo(&DL) {}
+ : BPFGenSubtargetInfo(TT, CPU, FS), InstrInfo(), FrameLowering(*this),
+ TLInfo(TM), TSInfo(TM.getDataLayout()) {}
OpenPOWER on IntegriCloud