[llvm] b901323 - [CVP] Remove a redundant trailing semicolon, fixing GCC warnings. NFC.

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 22 23:03:14 PDT 2020


Author: Martin Storsjö
Date: 2020-09-23T09:03:01+03:00
New Revision: b90132399aa994ac6405d0d6437735043bff9314

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

LOG: [CVP] Remove a redundant trailing semicolon, fixing GCC warnings. NFC.

Added: 
    

Modified: 
    llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp b/llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
index f21e65488418..0aacff0508ce 100644
--- a/llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
+++ b/llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
@@ -624,7 +624,7 @@ Domain getDomain(Value *V, LazyValueInfo *LVI, Instruction *CxtI) {
   if (isNonPositive(V, LVI, CxtI))
     return Domain::NonPositive;
   return Domain::Unknown;
-};
+}
 
 /// Try to shrink a sdiv/srem's width down to the smallest power of two that's
 /// sufficient to contain its operands.


        


More information about the llvm-commits mailing list