mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-13 06:34:24 +00:00
[PM] Add missing caching of GlobalsAA to EarlyCSE.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272204 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8153f63460
commit
5b20b56122
@ -839,6 +839,7 @@ PreservedAnalyses EarlyCSEPass::run(Function &F,
|
||||
// FIXME: Bundle this with other CFG-preservation.
|
||||
PreservedAnalyses PA;
|
||||
PA.preserve<DominatorTreeAnalysis>();
|
||||
PA.preserve<GlobalsAA>();
|
||||
return PA;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user