added conversion from addrspace(3)/__local/__shared__ to addspace(0)/generic when PtrToInt is called

This commit is contained in:
Evghenii
2014-01-07 14:29:55 +01:00
parent 96597d3716
commit 9b74e60185
6 changed files with 44 additions and 6 deletions

View File

@@ -629,7 +629,8 @@ lSetInternalFunctions(llvm::Module *module) {
"__nctaid_x",
"__nctaid_y",
"__nctaid_z",
"__warpsize"
"__warpsize",
"__cvt_loc2gen"
};
int count = sizeof(names) / sizeof(names[0]);