added now NVPTX64 automatically emits unmasked extern "C" for task function with kernel attributes
This commit is contained in:
4
type.cpp
4
type.cpp
@@ -2925,10 +2925,8 @@ FunctionType::GetReturnTypeString() const {
|
||||
llvm::FunctionType *
|
||||
FunctionType::LLVMFunctionType(llvm::LLVMContext *ctx, bool removeMask) const {
|
||||
|
||||
#if 0 /* NVPTX64::task_and_externC */
|
||||
if (isTask == true)
|
||||
if (isTask == true && g->target->getISA() != Target::NVPTX64)
|
||||
Assert(removeMask == false);
|
||||
#endif
|
||||
|
||||
// Get the LLVM Type *s for the function arguments
|
||||
std::vector<llvm::Type *> llvmArgTypes;
|
||||
|
||||
Reference in New Issue
Block a user