aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PTX/TargetInfo
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-09-18 18:52:28 +0000
committerEric Christopher <echristo@apple.com>2010-09-18 18:52:28 +0000
commit50880d08ec32857fa557281046c81a0506e7f64d (patch)
tree6c9556b109d89b999fdc92088733123af2ac5bbf /lib/Target/PTX/TargetInfo
parent168705049c55feec88aec65af0aef07fc1376ce6 (diff)
downloadexternal_llvm-50880d08ec32857fa557281046c81a0506e7f64d.zip
external_llvm-50880d08ec32857fa557281046c81a0506e7f64d.tar.gz
external_llvm-50880d08ec32857fa557281046c81a0506e7f64d.tar.bz2
Add the exit instruction to the PTX target.
Patch by Che-Liang Chiou <clchiou@gmail.com>! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114294 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PTX/TargetInfo')
-rw-r--r--lib/Target/PTX/TargetInfo/PTXTargetInfo.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Target/PTX/TargetInfo/PTXTargetInfo.cpp b/lib/Target/PTX/TargetInfo/PTXTargetInfo.cpp
index 9000ae7..a577d77 100644
--- a/lib/Target/PTX/TargetInfo/PTXTargetInfo.cpp
+++ b/lib/Target/PTX/TargetInfo/PTXTargetInfo.cpp
@@ -15,8 +15,7 @@ using namespace llvm;
Target llvm::ThePTXTarget;
-extern "C" void LLVMInitializePTXTargetInfo()
-{
+extern "C" void LLVMInitializePTXTargetInfo() {
// see llvm/ADT/Triple.h
RegisterTarget<Triple::ptx> X(ThePTXTarget, "ptx", "PTX");
}