Skip to content

Commit

Permalink
[JuliaLICM] Use getLoopAnalysisUsage (JuliaLang#44462)
Browse files Browse the repository at this point in the history
  • Loading branch information
vchuravy authored Mar 6, 2022
1 parent db28215 commit d7d8521
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/llvm-julia-licm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ struct JuliaLICMPassLegacy : public LoopPass {

protected:
void getAnalysisUsage(AnalysisUsage &AU) const override {
AU.addRequired<DominatorTreeWrapperPass>();
AU.addRequired<LoopInfoWrapperPass>();
AU.setPreservesAll();
getLoopAnalysisUsage(AU);
}
};

Expand Down

0 comments on commit d7d8521

Please sign in to comment.