We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfda689 commit 731158bCopy full SHA for 731158b
llvm/lib/CodeGen/MachineCombiner.cpp
@@ -77,9 +77,6 @@ class MachineCombiner : public MachineFunctionPass {
77
78
TargetSchedModel TSchedModel;
79
80
- /// True if optimizing for code size.
81
- bool OptSize = false;
82
-
83
public:
84
static char ID;
85
MachineCombiner() : MachineFunctionPass(ID) {
@@ -733,7 +730,6 @@ bool MachineCombiner::runOnMachineFunction(MachineFunction &MF) {
733
730
&getAnalysis<LazyMachineBlockFrequencyInfoPass>().getBFI() :
734
731
nullptr;
735
732
TraceEnsemble = nullptr;
736
- OptSize = MF.getFunction().hasOptSize();
737
RegClassInfo.runOnMachineFunction(MF);
738
739
LLVM_DEBUG(dbgs() << getPassName() << ": " << MF.getName() << '\n');
0 commit comments