some cleaning
This commit is contained in:
10
type.cpp
10
type.cpp
@@ -2942,15 +2942,7 @@ FunctionType::LLVMFunctionType(llvm::LLVMContext *ctx, bool removeMask) const {
|
|||||||
Assert(m->errorCount > 0);
|
Assert(m->errorCount > 0);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
#if 0
|
llvmArgTypes.push_back(t);
|
||||||
if (g->target->isPTX() && g->target->getISA() != Target::NVPTX64 && isTask)
|
|
||||||
{
|
|
||||||
/* we pass struct of pointers to CUDALaunch */
|
|
||||||
llvmArgTypes.push_back(llvm::PointerType::getUnqual(t));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
#endif
|
|
||||||
llvmArgTypes.push_back(t);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// And add the function mask, if asked for
|
// And add the function mask, if asked for
|
||||||
|
|||||||
Reference in New Issue
Block a user