Skip to content

Commit 6c8ff4f

Browse files
authored
[NVPTX] Fix maybe unused variable in 17852de (#169542)
1 parent 8f1bb92 commit 6c8ff4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3457,7 +3457,7 @@ convertMLOADToLoadWithUsedBytesMask(MemSDNode *N, SelectionDAG &DAG) {
34573457
SDValue Chain = N->getOperand(0);
34583458
SDValue BasePtr = N->getOperand(1);
34593459
SDValue Mask = N->getOperand(3);
3460-
SDValue Passthru = N->getOperand(4);
3460+
[[maybe_unused]] SDValue Passthru = N->getOperand(4);
34613461

34623462
SDLoc DL(N);
34633463
EVT ResVT = N->getValueType(0);

0 commit comments

Comments
 (0)