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 39
39
#include " llvm/CodeGen/MachineSizeOpts.h"
40
40
#include " llvm/CodeGen/TargetInstrInfo.h"
41
41
#include " llvm/CodeGen/TargetOpcodes.h"
42
- #include " llvm/CodeGen/TargetPassConfig.h"
43
42
#include " llvm/CodeGen/TargetRegisterInfo.h"
44
43
#include " llvm/CodeGen/TargetSubtargetInfo.h"
45
44
#include " llvm/IR/DebugInfoMetadata.h"
@@ -104,7 +103,6 @@ class BranchFolderLegacy : public MachineFunctionPass {
104
103
AU.addRequired <MachineBlockFrequencyInfoWrapperPass>();
105
104
AU.addRequired <MachineBranchProbabilityInfoWrapperPass>();
106
105
AU.addRequired <ProfileSummaryInfoWrapperPass>();
107
- AU.addRequired <TargetPassConfig>();
108
106
MachineFunctionPass::getAnalysisUsage (AU);
109
107
}
110
108
@@ -158,7 +156,6 @@ bool BranchFolderLegacy::runOnMachineFunction(MachineFunction &MF) {
158
156
if (skipFunction (MF.getFunction ()))
159
157
return false ;
160
158
161
- TargetPassConfig *PassConfig = &getAnalysis<TargetPassConfig>();
162
159
// TailMerge can create jump into if branches that make CFG irreducible for
163
160
// HW that requires structurized CFG.
164
161
bool EnableTailMerge =
You can’t perform that action at this time.
0 commit comments