[llvm] [BOLT] [Passes] Fix two compile warnings in BOLT (PR #73086)

Ho Cheung via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 5 01:42:31 PST 2023


================
@@ -1467,7 +1466,7 @@ void IndirectCallPromotion::runOnFunctions(BinaryContext &BC) {
                                std::max<uint64_t>(TotalIndexBasedCandidates, 1))
          << "%\n";
 
-  (void)verifyProfile;
+  (void)verifyProfile(BFs);
----------------
gz83 wrote:

Thank you for your review.  Do you mean I need to delete this line of code?

@rafaelauler 

https://github.com/llvm/llvm-project/pull/73086


More information about the llvm-commits mailing list