zpu: wip eke out some simple instructions for load/store/add
[llvm/zpu.git] / lib / Target / PTX / TargetInfo / PTXTargetInfo.cpp
bloba577d7755af5aa0ec70fdd1d7daad8e7d8496568
1 //===-- PTXTargetInfo.cpp - PTX Target Implementation ---------------------===//
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 //===----------------------------------------------------------------------===//
10 #include "PTX.h"
11 #include "llvm/Module.h"
12 #include "llvm/Target/TargetRegistry.h"
14 using namespace llvm;
16 Target llvm::ThePTXTarget;
18 extern "C" void LLVMInitializePTXTargetInfo() {
19 // see llvm/ADT/Triple.h
20 RegisterTarget<Triple::ptx> X(ThePTXTarget, "ptx", "PTX");