[llvm] 4a30a5c - [SampleProfile] Remove ProfileIsValid (NFC)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 20 08:07:31 PDT 2021


Author: Kazu Hirata
Date: 2021-07-20T08:07:04-07:00
New Revision: 4a30a5c8d9f0fa8a4b6ebd7c82d5335ae7a77521

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

LOG: [SampleProfile] Remove ProfileIsValid (NFC)

The last use was removed on Jan 22, 2021 in commit
c9cd9a006632419ce7346e50564e6347a93181cc.

Added: 
    

Modified: 
    llvm/lib/Transforms/IPO/SampleProfile.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/IPO/SampleProfile.cpp b/llvm/lib/Transforms/IPO/SampleProfile.cpp
index 0949bc1556cc..90999c1d6b30 100644
--- a/llvm/lib/Transforms/IPO/SampleProfile.cpp
+++ b/llvm/lib/Transforms/IPO/SampleProfile.cpp
@@ -415,9 +415,6 @@ class SampleProfileLoader final
   /// Name of the profile remapping file to load.
   std::string RemappingFilename;
 
-  /// Flag indicating whether the profile input loaded successfully.
-  bool ProfileIsValid = false;
-
   /// Flag indicating whether input profile is context-sensitive
   bool ProfileIsCS = false;
 


        


More information about the llvm-commits mailing list