resotred non-ptx functionality

This commit is contained in:
Evghenii
2013-11-13 11:08:58 +01:00
parent f433aa3ad5
commit 55bf0d23c2
3 changed files with 1 additions and 206 deletions

View File

@@ -2959,7 +2959,6 @@ FunctionType::LLVMFunctionType(llvm::LLVMContext *ctx, bool removeMask) const {
// if (g->target->getISA() != Target::NVPTX64)
if (!g->target->isPTX())
{
assert(0); /* evghenii: must be removed in final, just for test for nvptx64 target */
llvm::Type *st = llvm::StructType::get(*ctx, llvmArgTypes);
callTypes.push_back(llvm::PointerType::getUnqual(st));
callTypes.push_back(LLVMTypes::Int32Type); // threadIndex