[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
================
@@ -1618,13 +1618,6 @@ int64_t llvm::getICmpTrueVal(const TargetLowering &TLI, bool IsVector,
llvm_unreachable("Invalid boolean contents");
}
-bool llvm::shouldOptForSize(const MachineBasicBlock &MBB,
- ProfileSummaryInfo *PSI, BlockFrequencyInfo *BFI) {
- const auto &F = MBB.getParent()->getFunction();
- return F.hasOptSize() || F.hasMinSize() ||
----------------
arsenm wrote:
This lost the hasMinSize check
https://github.com/llvm/llvm-project/pull/112630
More information about the llvm-commits
mailing list