diff options
Diffstat (limited to 'llvm/lib/CodeGen/MachineCSE.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineCSE.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/MachineCSE.cpp b/llvm/lib/CodeGen/MachineCSE.cpp index 8e9fccc..0a54705 100644 --- a/llvm/lib/CodeGen/MachineCSE.cpp +++ b/llvm/lib/CodeGen/MachineCSE.cpp @@ -957,9 +957,6 @@ PreservedAnalyses MachineCSEPass::run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM) { MFPropsModifier _(*this, MF); - if (MF.getFunction().hasOptNone()) - return PreservedAnalyses::all(); - MachineDominatorTree &MDT = MFAM.getResult<MachineDominatorTreeAnalysis>(MF); MachineBlockFrequencyInfo &MBFI = MFAM.getResult<MachineBlockFrequencyAnalysis>(MF); |