Skip to content

Commit

Permalink
RISCVISelLowering.cpp: Suppress a warning. (D150824)
Browse files Browse the repository at this point in the history
  • Loading branch information
chapuni committed Jun 5, 2023
1 parent 532356e commit ebb02fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Expand Up @@ -6675,6 +6675,7 @@ static SDValue lowerGetVectorLength(SDNode *N, SelectionDAG &DAG,
unsigned VF = N->getConstantOperandVal(2);
assert(VF >= MinVF && VF <= (LMul1VF * 8) && isPowerOf2_32(VF) &&
"Unexpected VF");
(void)MinVF;

bool Fractional = VF < LMul1VF;
unsigned LMulVal = Fractional ? LMul1VF / VF : VF / LMul1VF;
Expand Down

0 comments on commit ebb02fb

Please sign in to comment.