1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/lib/Target/PTX/PTXSubtarget.cpp
Eric Christopher 2901b19344 Add the exit instruction to the PTX target.
Patch by Che-Liang Chiou <clchiou@gmail.com>!

llvm-svn: 114294
2010-09-18 18:52:28 +00:00

24 lines
742 B
C++

//===- PTXSubtarget.cpp - PTX Subtarget Information ---------------*- C++ -*-=//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file implements the PTX specific subclass of TargetSubtarget.
//
//===----------------------------------------------------------------------===//
#include "PTXSubtarget.h"
using namespace llvm;
PTXSubtarget::PTXSubtarget(const std::string &TT, const std::string &FS) {
std::string TARGET = "sm_20";
// TODO: call ParseSubtargetFeatures(FS, TARGET);
}
#include "PTXGenSubtarget.inc"