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

@@ -244,7 +244,6 @@ Function::emitCode(FunctionEmitContext *ctx, llvm::Function *function,
if (!g->target->isPTX()) //if (g->target->getISA() != Target::NVPTX64)
{
assert(0); /* evghenii: must be removed in final, just for test for nvptx64 target */
llvm::Function::arg_iterator argIter = function->arg_begin();
llvm::Value *structParamPtr = argIter++;
// Copy the function parameter values from the structure into local