Skip to content

Commit d2fedd6

Browse files
committed
[NVPTX] mark unused variable introduced by 56910a8 [NFC]
1 parent 53e62c6 commit d2fedd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/NVPTX/NVPTXLowerArgs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ static void handleByValParam(const NVPTXTargetMachine &TM, Argument *Arg) {
536536
const bool IsGridConstant = HasCvtaParam && isParamGridConstant(*Arg);
537537
const DataLayout &DL = Func->getDataLayout();
538538
BasicBlock::iterator FirstInst = Func->getEntryBlock().begin();
539-
Type *StructType = Arg->getParamByValType();
539+
[[maybe_unused]] Type *StructType = Arg->getParamByValType();
540540
assert(StructType && "Missing byval type");
541541

542542
ArgUseChecker AUC(DL, IsGridConstant);

0 commit comments

Comments
 (0)