Add the exit instruction to the PTX target.
[oota-llvm.git] / lib / Target / PTX / PTXSubtarget.cpp
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.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #include "PTXSubtarget.h"
15
16 using namespace llvm;
17
18 PTXSubtarget::PTXSubtarget(const std::string &TT, const std::string &FS) {
19   std::string TARGET = "sm_20";
20   // TODO: call ParseSubtargetFeatures(FS, TARGET);
21 }
22
23 #include "PTXGenSubtarget.inc"