export functions are now also generated... next add proper CDP calls..
This commit is contained in:
@@ -796,6 +796,7 @@ Module::AddFunctionDeclaration(const std::string &name,
|
||||
#else // LLVM 3.1 and 3.3+
|
||||
function->addFnAttr(llvm::Attribute::AlwaysInline);
|
||||
#endif
|
||||
/* evghenii: on PTX target this must not be used, cause crash, dunno why */
|
||||
if (functionType->isTask && g->target->getISA() != Target::NVPTX64)
|
||||
// This also applies transitively to members I think?
|
||||
#if defined(LLVM_3_1)
|
||||
|
||||
Reference in New Issue
Block a user