[llvm] Remove llvm::shouldOptForSize() from Utils.h (PR #112630)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 16 21:32:21 PDT 2024


================
@@ -635,8 +636,12 @@ class GIMatchTableExecutor {
 
   bool shouldOptForSize(const MachineFunction *MF) const {
     const auto &F = MF->getFunction();
-    return F.hasOptSize() || F.hasMinSize() ||
----------------
arsenm wrote:

Lost the hasMinSize check? 

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


More information about the llvm-commits mailing list