zpu: wip eke out some simple instructions for load/store/add
[llvm/zpu.git] / lib / Target / PTX / PTXSubtarget.cpp
blob00e2c882a5ca6e364b62738d98b81bb841686e60
1 //===- PTXSubtarget.cpp - PTX Subtarget Information ---------------*- C++ -*-=//
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 PTX specific subclass of TargetSubtarget.
12 //===----------------------------------------------------------------------===//
14 #include "PTXSubtarget.h"
16 using namespace llvm;
18 PTXSubtarget::PTXSubtarget(const std::string &TT, const std::string &FS) {
19 std::string TARGET = "sm_20";
20 // TODO: call ParseSubtargetFeatures(FS, TARGET);
23 #include "PTXGenSubtarget.inc"