diff options
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
| -rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index 222d0e97968a..1347f54df9ac 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -2699,6 +2699,8 @@ public:        const OMPTargetTeamsDistributeDirective &S);    void EmitOMPTargetTeamsDistributeParallelForDirective(        const OMPTargetTeamsDistributeParallelForDirective &S); +  void EmitOMPTargetTeamsDistributeParallelForSimdDirective( +      const OMPTargetTeamsDistributeParallelForSimdDirective &S);    /// Emit outlined function for the target directive.    static std::pair<llvm::Function * /*OutlinedFn*/, @@ -3569,7 +3571,7 @@ public:      // If we still have any arguments, emit them using the type of the argument.      for (auto *A : llvm::make_range(Arg, ArgRange.end())) -      ArgTypes.push_back(getVarArgType(A)); +      ArgTypes.push_back(CallArgTypeInfo ? getVarArgType(A) : A->getType());      EmitCallArgs(Args, ArgTypes, ArgRange, CalleeDecl, ParamsToSkip, Order);    }  | 
