[llvm] 3f0cc7a - [NFC] Remove the extra ; to avoid the warning of build compiler

QingShan Zhang via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 7 20:52:16 PDT 2020


Author: QingShan Zhang
Date: 2020-06-08T03:51:05Z
New Revision: 3f0cc7ac5e6bd90698299f96808b0e35aa9de8de

URL: https://github.com/llvm/llvm-project/commit/3f0cc7ac5e6bd90698299f96808b0e35aa9de8de
DIFF: https://github.com/llvm/llvm-project/commit/3f0cc7ac5e6bd90698299f96808b0e35aa9de8de.diff

LOG: [NFC] Remove the extra ; to avoid the warning of build compiler

Added: 
    

Modified: 
    llvm/lib/Target/PowerPC/PPCMachineScheduler.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/PowerPC/PPCMachineScheduler.cpp b/llvm/lib/Target/PowerPC/PPCMachineScheduler.cpp
index 41f1ff020dd2..5649d7d13966 100644
--- a/llvm/lib/Target/PowerPC/PPCMachineScheduler.cpp
+++ b/llvm/lib/Target/PowerPC/PPCMachineScheduler.cpp
@@ -24,7 +24,7 @@ static cl::opt<bool>
 static bool isADDIInstr(const GenericScheduler::SchedCandidate &Cand) {
   return Cand.SU->getInstr()->getOpcode() == PPC::ADDI ||
          Cand.SU->getInstr()->getOpcode() == PPC::ADDI8;
-};
+}
 
 bool PPCPreRASchedStrategy::biasAddiLoadCandidate(SchedCandidate &Cand,
                                                   SchedCandidate &TryCand,


        


More information about the llvm-commits mailing list