================ @@ -160,6 +163,27 @@ static Value *EmitAMDGCNBallotForExec(CodeGenFunction &CGF, const CallExpr *E, return Call; } +template <unsigned N> ---------------- arsenm wrote:
This doesn't need to be a template function. You can just check E->getNumArgs for the loop bounds, and use the known constant maximum number of arguments for the small vector size https://github.com/llvm/llvm-project/pull/140210 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits