[llvm] c739088 - [RISCV] Fix 80 column violations in RISCVInsertVSETVLI.cpp. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 8 18:59:16 PDT 2022
Author: Craig Topper
Date: 2022-06-08T18:58:48-07:00
New Revision: c739088af5f0b181ba13b66ce808628a6d523671
URL: https://github.com/llvm/llvm-project/commit/c739088af5f0b181ba13b66ce808628a6d523671
DIFF: https://github.com/llvm/llvm-project/commit/c739088af5f0b181ba13b66ce808628a6d523671.diff
LOG: [RISCV] Fix 80 column violations in RISCVInsertVSETVLI.cpp. NFC
I think these were likely introduced in the recent work done to
this pass.
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 3868a4f4d129..984206baa717 100644
--- a/llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
+++ b/llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
@@ -254,7 +254,8 @@ class VSETVLIInfo {
MaskAgnostic == Other.MaskAgnostic;
}
- bool hasCompatibleVTYPE(const MachineInstr &MI, const VSETVLIInfo &Require) const {
+ bool hasCompatibleVTYPE(const MachineInstr &MI,
+ const VSETVLIInfo &Require) const {
// Simple case, see if full VTYPE matches.
if (hasSameVTYPE(Require))
return true;
@@ -903,7 +904,8 @@ bool canSkipVSETVLIForLoadStore(const MachineInstr &MI,
/// before MI. Require corresponds to the result of computeInfoForInstr(MI...)
/// *before* we clear VLOp in phase3. We can't recompute and assert it here due
/// to that muation.
-bool RISCVInsertVSETVLI::needVSETVLI(const MachineInstr &MI, const VSETVLIInfo &Require,
+bool RISCVInsertVSETVLI::needVSETVLI(const MachineInstr &MI,
+ const VSETVLIInfo &Require,
const VSETVLIInfo &CurInfo) const {
if (CurInfo.isCompatible(MI, Require))
return false;
@@ -1147,7 +1149,8 @@ void RISCVInsertVSETVLI::emitVSETVLIs(MachineBasicBlock &MBB) {
// Note there's an implicit assumption here that terminators never use
// or modify VL or VTYPE. Also, fallthrough will return end().
auto InsertPt = MBB.getFirstInstrTerminator();
- insertVSETVLI(MBB, InsertPt, MBB.findDebugLoc(InsertPt), ExitInfo, CurInfo);
+ insertVSETVLI(MBB, InsertPt, MBB.findDebugLoc(InsertPt), ExitInfo,
+ CurInfo);
CurInfo = ExitInfo;
}
}
More information about the llvm-commits
mailing list