Skip to content

Commit 4a7b53f

Browse files
[RISCV] Fix a warning
This patch fixes: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:8411:7: error: unused variable 'ArgVT' [-Werror,-Wunused-variable]
1 parent a004c70 commit 4a7b53f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/RISCV/RISCVISelLowering.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8411,6 +8411,7 @@ SDValue RISCVTargetLowering::lowerPARTIAL_REDUCE_MLA(SDValue Op,
84118411
MVT ArgVT = A.getSimpleValueType();
84128412
assert(ArgVT == B.getSimpleValueType() &&
84138413
ArgVT.getVectorElementType() == MVT::i8);
8414+
(void)ArgVT;
84148415

84158416
// The zvqdotq pseudos are defined with sources and destination both
84168417
// being i32. This cast is needed for correctness to avoid incorrect

0 commit comments

Comments
 (0)