[llvm] Use BlockFrequency type in more places (NFC) (PR #68266)
    David Li via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Oct  4 21:04:47 PDT 2023
    
    
  
================
@@ -26,10 +26,11 @@ class BlockFrequency {
   uint64_t Frequency;
 
 public:
-  BlockFrequency(uint64_t Freq = 0) : Frequency(Freq) { }
+  BlockFrequency() : Frequency(0) {}
----------------
david-xl wrote:
remove this interface to make the intention (zero) clearer?
https://github.com/llvm/llvm-project/pull/68266
    
    
More information about the llvm-commits
mailing list