[llvm] 6df5464 - [RISCV] Minor type fix [nfc]
Philip Reames via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 3 14:23:41 PST 2023
Author: Philip Reames
Date: 2023-01-03T14:22:38-08:00
New Revision: 6df5464a463b8ada2df167595286aa2b6510dd16
URL: https://github.com/llvm/llvm-project/commit/6df5464a463b8ada2df167595286aa2b6510dd16
DIFF: https://github.com/llvm/llvm-project/commit/6df5464a463b8ada2df167595286aa2b6510dd16.diff
LOG: [RISCV] Minor type fix [nfc]
Added:
Modified:
llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp b/llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
index 401c24b5d4be..bc36d062d27a 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
More information about the llvm-commits
mailing list