this is failing on linux hosts, force a triple.
[llvm/avr.git] / lib / Target / Blackfin / BlackfinSubtarget.cpp
blobe104c5245a9e5b6de62eb32ad9abf243afa2ba6a
1 //===- BlackfinSubtarget.cpp - BLACKFIN Subtarget Information -------------===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file implements the blackfin specific subclass of TargetSubtarget.
12 //===----------------------------------------------------------------------===//
14 #include "BlackfinSubtarget.h"
15 #include "BlackfinGenSubtarget.inc"
17 using namespace llvm;
19 BlackfinSubtarget::BlackfinSubtarget(const std::string &TT,
20 const std::string &FS)
21 : sdram(false),
22 icplb(false),
23 wa_mi_shift(false),
24 wa_csync(false),
25 wa_specld(false),
26 wa_mmr_stall(false),
27 wa_lcregs(false),
28 wa_hwloop(false),
29 wa_ind_call(false),
30 wa_killed_mmr(false),
31 wa_rets(false)
33 std::string CPU = "generic";
34 // Parse features string.
35 ParseSubtargetFeatures(FS, CPU);