[llvm] d0166c6 - [Utils] Remove redundaunt declarations (NFC)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 27 23:54:48 PDT 2022


Author: Kazu Hirata
Date: 2022-08-27T23:54:31-07:00
New Revision: d0166c617d77b9dd57e605cfb016438f202e9c9c

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

LOG: [Utils] Remove redundaunt declarations (NFC)

Identified with readability-redundant-declaration.

Added: 
    

Modified: 
    llvm/lib/Transforms/Utils/SampleProfileInference.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Utils/SampleProfileInference.cpp b/llvm/lib/Transforms/Utils/SampleProfileInference.cpp
index 9cbc5464a054..96ff6255cf63 100644
--- a/llvm/lib/Transforms/Utils/SampleProfileInference.cpp
+++ b/llvm/lib/Transforms/Utils/SampleProfileInference.cpp
@@ -568,9 +568,6 @@ class MinCostMaxFlow {
   std::vector<std::vector<Edge *>> AugmentingEdges;
 };
 
-constexpr int64_t MinCostMaxFlow::AuxCostUnlikely;
-constexpr uint64_t MinCostMaxFlow::MinBaseDistance;
-
 /// A post-processing adjustment of control flow. It applies two steps by
 /// rerouting some flow and making it more realistic:
 ///


        


More information about the llvm-commits mailing list