Skip to content

Commit

Permalink
[EarlyCSE] Pass preserves AA.
Browse files Browse the repository at this point in the history
llvm-svn: 373231
  • Loading branch information
alinas committed Sep 30, 2019
1 parent 712b7c2 commit 8299fd9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llvm/lib/Transforms/Scalar/EarlyCSE.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1382,6 +1382,7 @@ class EarlyCSELegacyCommonPass : public FunctionPass {
AU.addPreserved<MemorySSAWrapperPass>();
}
AU.addPreserved<GlobalsAAWrapperPass>();
AU.addPreserved<AAResultsWrapperPass>();
AU.setPreservesCFG();
}
};
Expand Down

0 comments on commit 8299fd9

Please sign in to comment.