[llvm] [NVPTX] Improved support for grid_constant (PR #97112)
Justin Lebar via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 28 15:00:05 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)) {
----------------
jlebar wrote:
Nit: undo this nop change?
https://github.com/llvm/llvm-project/pull/97112
More information about the llvm-commits
mailing list