Skip to content

Commit c95693c

Browse files
authored
[NFC][AMDGPU] Fix unused-variable warning (llvm#81040)
This is only used in assert statement.
1 parent 369b822 commit c95693c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AMDGPU/SIISelLowering.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -12016,7 +12016,7 @@ static SDValue getDWordFromOffset(SelectionDAG &DAG, SDLoc SL, SDValue Src,
1201612016

1201712017
static SDValue matchPERM(SDNode *N, TargetLowering::DAGCombinerInfo &DCI) {
1201812018
SelectionDAG &DAG = DCI.DAG;
12019-
EVT VT = N->getValueType(0);
12019+
[[maybe_unused]] EVT VT = N->getValueType(0);
1202012020
SmallVector<ByteProvider<SDValue>, 8> PermNodes;
1202112021

1202212022
// VT is known to be MVT::i32, so we need to provide 4 bytes.

0 commit comments

Comments
 (0)