Skip to content

Commit e62470d

Browse files
dmitryryintelsys_zuul
authored andcommitted
Removed redundant requirements for GenXFuncPtrsLowering pass
Change-Id: Ie234b92962c0a0ec15bacc4c2c70b5d2bc758828
1 parent 84461bc commit e62470d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

IGC/VectorCompiler/lib/GenXCodeGen/GenXFuncPtrsLowering.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,6 @@ void initializeGenXFunctionPointersLoweringPass(PassRegistry &);
107107
INITIALIZE_PASS_BEGIN(GenXFunctionPointersLowering,
108108
"GenXFunctionPointersLowering",
109109
"GenXFunctionPointersLowering", false, false)
110-
INITIALIZE_PASS_DEPENDENCY(FunctionGroupAnalysis)
111-
INITIALIZE_PASS_DEPENDENCY(GenXModule)
112110
INITIALIZE_PASS_END(GenXFunctionPointersLowering,
113111
"GenXFunctionPointersLowering",
114112
"GenXFunctionPointersLowering", false, false)
@@ -122,9 +120,6 @@ ModulePass *llvm::createGenXFunctionPointersLoweringPass() {
122120
}
123121

124122
void GenXFunctionPointersLowering::getAnalysisUsage(AnalysisUsage &AU) const {
125-
ModulePass::getAnalysisUsage(AU);
126-
AU.addRequired<FunctionGroupAnalysis>();
127-
AU.addRequired<GenXModule>();
128123
AU.setPreservesCFG();
129124
}
130125

0 commit comments

Comments
 (0)