[PATCH] D148305: remove useless call in MIRSampleProfile.cpp

Wang, Xin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 17 01:19:04 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG9fa721c7c65f: remove useless call in MIRSampleProfile.cpp (authored by XinWang10).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D148305/new/

https://reviews.llvm.org/D148305

Files:
  llvm/lib/CodeGen/MIRSampleProfile.cpp


Index: llvm/lib/CodeGen/MIRSampleProfile.cpp
===================================================================
--- llvm/lib/CodeGen/MIRSampleProfile.cpp
+++ llvm/lib/CodeGen/MIRSampleProfile.cpp
@@ -274,7 +274,6 @@
   Reader = std::move(ReaderOrErr.get());
   Reader->setModule(&M);
   ProfileIsValid = (Reader->read() == sampleprof_error::success);
-  Reader->getSummary();
 
   return true;
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148305.514133.patch
Type: text/x-patch
Size: 398 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230417/d0a73c0f/attachment.bin>


More information about the llvm-commits mailing list