diff options
Diffstat (limited to 'lib/CodeGen/TargetInfo.cpp')
-rw-r--r-- | lib/CodeGen/TargetInfo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/TargetInfo.cpp b/lib/CodeGen/TargetInfo.cpp index 3ee6c785d6..97ca238130 100644 --- a/lib/CodeGen/TargetInfo.cpp +++ b/lib/CodeGen/TargetInfo.cpp @@ -3706,6 +3706,8 @@ const TargetCodeGenInfo &CodeGenModule::getTargetCodeGenInfo() { case llvm::Triple::ptx32: case llvm::Triple::ptx64: + case llvm::Triple::nvptx: + case llvm::Triple::nvptx64: return *(TheTargetCodeGenInfo = new PTXTargetCodeGenInfo(Types)); case llvm::Triple::mblaze: |