summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/BPF/BPFSubtarget.cpp
diff options
context:
space:
mode:
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 c3a8b1caa63..4debc99ce35 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 Triple &TT, const std::string &CPU,
const std::string &FS, const TargetMachine &TM)
- : BPFGenSubtargetInfo(TT, CPU, FS), InstrInfo(), FrameLowering(*this),
- TLInfo(TM, *this) {}
+ : BPFGenSubtargetInfo(TargetTuple(TT), CPU, FS), InstrInfo(),
+ FrameLowering(*this), TLInfo(TM, *this) {}
OpenPOWER on IntegriCloud