Skip to content

Commit 731158b

Browse files
committed
remove OptSize
1 parent dfda689 commit 731158b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

llvm/lib/CodeGen/MachineCombiner.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,6 @@ class MachineCombiner : public MachineFunctionPass {
7777

7878
TargetSchedModel TSchedModel;
7979

80-
/// True if optimizing for code size.
81-
bool OptSize = false;
82-
8380
public:
8481
static char ID;
8582
MachineCombiner() : MachineFunctionPass(ID) {
@@ -733,7 +730,6 @@ bool MachineCombiner::runOnMachineFunction(MachineFunction &MF) {
733730
&getAnalysis<LazyMachineBlockFrequencyInfoPass>().getBFI() :
734731
nullptr;
735732
TraceEnsemble = nullptr;
736-
OptSize = MF.getFunction().hasOptSize();
737733
RegClassInfo.runOnMachineFunction(MF);
738734

739735
LLVM_DEBUG(dbgs() << getPassName() << ": " << MF.getName() << '\n');

0 commit comments

Comments
 (0)