Skip to content

Commit

Permalink
[RISCV][NFC] Fix unused variable warning.
Browse files Browse the repository at this point in the history
Reviewed By: frasercrmck

Differential Revision: https://reviews.llvm.org/D137633
  • Loading branch information
yetingk committed Nov 10, 2022
1 parent 7d5c8cb commit 06a7e04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Expand Up @@ -4703,7 +4703,7 @@ SDValue RISCVTargetLowering::lowerVectorMaskExt(SDValue Op, SelectionDAG &DAG,

SDValue CC = convertToScalableVector(I1ContainerVT, Src, DAG, Subtarget);

auto [Mask, VL] = getDefaultVLOps(VecVT, ContainerVT, DL, DAG, Subtarget);
SDValue VL = getDefaultVLOps(VecVT, ContainerVT, DL, DAG, Subtarget).second;

MVT XLenVT = Subtarget.getXLenVT();
SDValue SplatZero = DAG.getConstant(0, DL, XLenVT);
Expand Down

0 comments on commit 06a7e04

Please sign in to comment.