[PATCH] D135365: [RISCV][NFC] Fix unused variable warning.
Yeting Kuo via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 9 06:39:41 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG7329dc0cc3ea: [RISCV][NFC] Fix unused variable warning. (authored by fakepaper56).
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
@@ -4512,7 +4512,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.466371.patch
Type: text/x-patch
Size: 613 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221009/5335c2e8/attachment.bin>
More information about the llvm-commits
mailing list