[PATCH] D135365: [RISCV][NFC] Fix unused variable warning.
Yeting Kuo via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 7 14:53:58 PDT 2022
fakepaper56 updated this revision to Diff 466196.
fakepaper56 added a comment.
Adopt Fraser's proposal.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D135365/new/
https://reviews.llvm.org/D135365
Files:
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Index: llvm/lib/Target/RISCV/RISCVISelLowering.cpp
===================================================================
--- llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+++ llvm/lib/Target/RISCV/RISCVISelLowering.cpp
@@ -4499,7 +4499,7 @@
if (VecVT.isFixedLengthVector()) {
MVT ContainerVT = getContainerForFixedLengthVector(VecVT);
SDLoc DL(Op);
- auto [Mask, VL] = getDefaultVLOps(VecVT, ContainerVT, DL, DAG, Subtarget);
+ auto VL = getDefaultVLOps(VecVT, ContainerVT, DL, DAG, Subtarget).second;
SDValue Res =
splatPartsI64WithVL(DL, ContainerVT, SDValue(), Lo, Hi, VL, DAG);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135365.466196.patch
Type: text/x-patch
Size: 613 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221007/993f35a9/attachment.bin>
More information about the llvm-commits
mailing list