From d039ae2b9121beb126c552c0129c42c997b2f15b Mon Sep 17 00:00:00 2001 From: Walter Lee Date: Tue, 25 Nov 2025 13:06:30 -0500 Subject: [PATCH] Fix maybe unused variable in 1a036732d210 --- llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp b/llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp index f3a3bc785d997..8b72b1e1f3a52 100644 --- a/llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp +++ b/llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp @@ -3457,7 +3457,7 @@ convertMLOADToLoadWithUsedBytesMask(MemSDNode *N, SelectionDAG &DAG) { SDValue Chain = N->getOperand(0); SDValue BasePtr = N->getOperand(1); SDValue Mask = N->getOperand(3); - SDValue Passthru = N->getOperand(4); + [[maybe_unused]] SDValue Passthru = N->getOperand(4); SDLoc DL(N); EVT ResVT = N->getValueType(0);