[llvm] [NVPTX] Improved support for grid_constant (PR #97112)
Akshay Deodhar via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 28 15:17:29 PDT 2024
================
@@ -210,7 +210,8 @@ bool isParamGridConstant(const Value &V) {
if (const Argument *Arg = dyn_cast<Argument>(&V)) {
// "grid_constant" counts argument indices starting from 1
if (Arg->hasByValAttr() &&
- argHasNVVMAnnotation(*Arg, "grid_constant", /*StartArgIndexAtOne*/true)) {
+ argHasNVVMAnnotation(*Arg, "grid_constant",
+ /*StartArgIndexAtOne*/ true)) {
----------------
akshayrdeodhar wrote:
clang-format 😅 (was going above 80 chars in the previous MR)
https://github.com/llvm/llvm-project/pull/97112
More information about the llvm-commits
mailing list