File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change 3939#include " llvm/CodeGen/MachineSizeOpts.h"
4040#include " llvm/CodeGen/TargetInstrInfo.h"
4141#include " llvm/CodeGen/TargetOpcodes.h"
42- #include " llvm/CodeGen/TargetPassConfig.h"
4342#include " llvm/CodeGen/TargetRegisterInfo.h"
4443#include " llvm/CodeGen/TargetSubtargetInfo.h"
4544#include " llvm/IR/DebugInfoMetadata.h"
@@ -104,7 +103,6 @@ class BranchFolderLegacy : public MachineFunctionPass {
104103 AU.addRequired <MachineBlockFrequencyInfoWrapperPass>();
105104 AU.addRequired <MachineBranchProbabilityInfoWrapperPass>();
106105 AU.addRequired <ProfileSummaryInfoWrapperPass>();
107- AU.addRequired <TargetPassConfig>();
108106 MachineFunctionPass::getAnalysisUsage (AU);
109107 }
110108
@@ -158,7 +156,6 @@ bool BranchFolderLegacy::runOnMachineFunction(MachineFunction &MF) {
158156 if (skipFunction (MF.getFunction ()))
159157 return false ;
160158
161- TargetPassConfig *PassConfig = &getAnalysis<TargetPassConfig>();
162159 // TailMerge can create jump into if branches that make CFG irreducible for
163160 // HW that requires structurized CFG.
164161 bool EnableTailMerge =
You can’t perform that action at this time.
0 commit comments