diff --git a/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp b/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp index fca97dd05eed..17d83c4d6fca 100644 --- a/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp +++ b/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp @@ -1922,7 +1922,7 @@ bool LoopIdiomRecognize::matchBCmpLoopStructure( } LLVM_DEBUG(dbgs() << "Recognized basic control-flow layout.\n"); return true; -}; +} bool LoopIdiomRecognize::matchBCmpOfLoads(Value *BCmpValue, CmpOfLoads &CmpOfLoads) const {