[polly] r274777 - Update for llvm r274769
Justin Bogner via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 7 11:03:30 PDT 2016
Author: bogner
Date: Thu Jul 7 13:03:30 2016
New Revision: 274777
URL: http://llvm.org/viewvc/llvm-project?rev=274777&view=rev
Log:
Update for llvm r274769
Modified:
polly/trunk/lib/CodeGen/RuntimeDebugBuilder.cpp
Modified: polly/trunk/lib/CodeGen/RuntimeDebugBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CodeGen/RuntimeDebugBuilder.cpp?rev=274777&r1=274776&r2=274777&view=diff
==============================================================================
--- polly/trunk/lib/CodeGen/RuntimeDebugBuilder.cpp (original)
+++ polly/trunk/lib/CodeGen/RuntimeDebugBuilder.cpp Thu Jul 7 13:03:30 2016
@@ -63,9 +63,9 @@ RuntimeDebugBuilder::getGPUThreadIdentif
auto M = Builder.GetInsertBlock()->getParent()->getParent();
std::vector<Function *> BlockIDs = {
- Intrinsic::getDeclaration(M, Intrinsic::ptx_read_ctaid_x),
- Intrinsic::getDeclaration(M, Intrinsic::ptx_read_ctaid_y),
- Intrinsic::getDeclaration(M, Intrinsic::ptx_read_ctaid_z),
+ Intrinsic::getDeclaration(M, Intrinsic::nvvm_read_ptx_sreg_ctaid_x),
+ Intrinsic::getDeclaration(M, Intrinsic::nvvm_read_ptx_sreg_ctaid_y),
+ Intrinsic::getDeclaration(M, Intrinsic::nvvm_read_ptx_sreg_ctaid_z),
};
Identifiers.push_back(Builder.CreateGlobalStringPtr("> block-id: ", "", 4));
@@ -79,9 +79,9 @@ RuntimeDebugBuilder::getGPUThreadIdentif
Identifiers.push_back(Builder.CreateGlobalStringPtr("| ", "", 4));
std::vector<Function *> ThreadIDs = {
- Intrinsic::getDeclaration(M, Intrinsic::ptx_read_tid_x),
- Intrinsic::getDeclaration(M, Intrinsic::ptx_read_tid_y),
- Intrinsic::getDeclaration(M, Intrinsic::ptx_read_tid_z),
+ Intrinsic::getDeclaration(M, Intrinsic::nvvm_read_ptx_sreg_tid_x),
+ Intrinsic::getDeclaration(M, Intrinsic::nvvm_read_ptx_sreg_tid_y),
+ Intrinsic::getDeclaration(M, Intrinsic::nvvm_read_ptx_sreg_tid_z),
};
Identifiers.push_back(Builder.CreateGlobalStringPtr("thread-id: ", "", 4));
More information about the llvm-commits
mailing list