[llvm] 24215fe - [NFC][VE] format VEInstrInfo

Simon Moll via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 3 05:27:10 PST 2020


Author: Simon Moll
Date: 2020-02-03T14:25:49+01:00
New Revision: 24215fec9a6b1ea96c27bf07eb525d3ef4d3cfa5

URL: https://github.com/llvm/llvm-project/commit/24215fec9a6b1ea96c27bf07eb525d3ef4d3cfa5
DIFF: https://github.com/llvm/llvm-project/commit/24215fec9a6b1ea96c27bf07eb525d3ef4d3cfa5.diff

LOG: [NFC][VE] format VEInstrInfo

Added: 
    

Modified: 
    llvm/lib/Target/VE/VEInstrInfo.cpp
    llvm/lib/Target/VE/VEInstrInfo.h

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/VE/VEInstrInfo.cpp b/llvm/lib/Target/VE/VEInstrInfo.cpp
index 6336ed224cbd..0a979d076ea5 100644
--- a/llvm/lib/Target/VE/VEInstrInfo.cpp
+++ b/llvm/lib/Target/VE/VEInstrInfo.cpp
@@ -97,11 +97,10 @@ static void parseCondBranch(MachineInstr *LastInst, MachineBasicBlock *&Target,
   Target = LastInst->getOperand(3).getMBB();
 }
 
-bool VEInstrInfo::analyzeBranch(MachineBasicBlock &MBB,
-                                   MachineBasicBlock *&TBB,
-                                   MachineBasicBlock *&FBB,
-                                   SmallVectorImpl<MachineOperand> &Cond,
-                                   bool AllowModify) const {
+bool VEInstrInfo::analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
+                                MachineBasicBlock *&FBB,
+                                SmallVectorImpl<MachineOperand> &Cond,
+                                bool AllowModify) const {
   MachineBasicBlock::iterator I = MBB.getLastNonDebugInstr();
   if (I == MBB.end())
     return false;
@@ -180,11 +179,10 @@ bool VEInstrInfo::analyzeBranch(MachineBasicBlock &MBB,
 }
 
 unsigned VEInstrInfo::insertBranch(MachineBasicBlock &MBB,
-                                      MachineBasicBlock *TBB,
-                                      MachineBasicBlock *FBB,
-                                      ArrayRef<MachineOperand> Cond,
-                                      const DebugLoc &DL,
-                                      int *BytesAdded) const {
+                                   MachineBasicBlock *TBB,
+                                   MachineBasicBlock *FBB,
+                                   ArrayRef<MachineOperand> Cond,
+                                   const DebugLoc &DL, int *BytesAdded) const {
   assert(TBB && "insertBranch must not be told to insert a fallthrough");
   assert((Cond.size() == 3 || Cond.size() == 0) &&
          "VE branch conditions should have three component!");

diff  --git a/llvm/lib/Target/VE/VEInstrInfo.h b/llvm/lib/Target/VE/VEInstrInfo.h
index 822ef5900824..7460cd9f7966 100644
--- a/llvm/lib/Target/VE/VEInstrInfo.h
+++ b/llvm/lib/Target/VE/VEInstrInfo.h
@@ -37,7 +37,6 @@ class VEInstrInfo : public VEGenInstrInfo {
   ///
   const VERegisterInfo &getRegisterInfo() const { return RI; }
 
-
   /// Branch Analysis & Modification {
   bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
                      MachineBasicBlock *&FBB,


        


More information about the llvm-commits mailing list