From: Philip Reames Date: Tue, 3 Jan 2023 22:22:38 +0000 (-0800) Subject: [RISCV] Minor type fix [nfc] X-Git-Tag: upstream/17.0.6~22231 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6df5464a463b8ada2df167595286aa2b6510dd16;p=platform%2Fupstream%2Fllvm.git [RISCV] Minor type fix [nfc] --- diff --git a/llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp b/llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp index 401c24b..bc36d06 100644 --- a/llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp +++ b/llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp @@ -260,7 +260,7 @@ static DemandedFields getDemanded(const MachineInstr &MI) { Res.LMUL = false; } - // For vmv.s.x and vfmv.s.f, there is only two behaviors, VL = 0 and VL > 0. + // For vmv.s.x and vfmv.s.f, there are only two behaviors, VL = 0 and VL > 0. if (isScalarMoveInstr(MI)) { Res.LMUL = false; Res.SEWLMULRatio = false; @@ -787,7 +787,7 @@ bool RISCVInsertVSETVLI::needVSETVLI(const MachineInstr &MI, DemandedFields Used = getDemanded(MI); - // For vmv.s.x and vfmv.s.f, there is only two behaviors, VL = 0 and VL > 0. + // For vmv.s.x and vfmv.s.f, there are only two behaviors, VL = 0 and VL > 0. if (isScalarMoveInstr(MI) && CurInfo.hasEquallyZeroAVL(Require)) { Used.VL = false; // Additionally, if writing to an implicit_def operand, we don't need to