[llvm] ac6ea22 - [ProfileData] Remove unused functions getHotSectionPrefix and getUnlikelySectionPrefix

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 10 00:11:11 PDT 2023


Author: Kazu Hirata
Date: 2023-07-10T00:11:06-07:00
New Revision: ac6ea22f4ce42ec371412ddcbcbe259128149fb8

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

LOG: [ProfileData] Remove unused functions getHotSectionPrefix and getUnlikelySectionPrefix

The last uses were removed by:

  commit 01d98ba0b22bfb152a3db85cac7fcb23d9cb5c85
  Author: Easwaran Raman <eraman at google.com>
  Date:   Mon May 16 23:59:04 2016 +0000

Added: 
    

Modified: 
    llvm/include/llvm/ProfileData/ProfileCommon.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/ProfileData/ProfileCommon.h b/llvm/include/llvm/ProfileData/ProfileCommon.h
index ad92af22d92e55..4fe92cef4d7260 100644
--- a/llvm/include/llvm/ProfileData/ProfileCommon.h
+++ b/llvm/include/llvm/ProfileData/ProfileCommon.h
@@ -34,9 +34,6 @@ class FunctionSamples;
 
 } // end namespace sampleprof
 
-inline const char *getHotSectionPrefix() { return "hot"; }
-inline const char *getUnlikelySectionPrefix() { return "unlikely"; }
-
 class ProfileSummaryBuilder {
 private:
   /// We keep track of the number of times a count (block count or samples)


        


More information about the llvm-commits mailing list