[GVNHoist] Preserve AAResults.

Resolves PR38906, PR40898.
This commit is contained in:
Alina Sbirlea 2019-11-12 14:07:32 -08:00
parent 335ac2eb66
commit 4ae74cc99f
1 changed files with 1 additions and 0 deletions

View File

@ -1168,6 +1168,7 @@ public:
AU.addPreserved<DominatorTreeWrapperPass>();
AU.addPreserved<MemorySSAWrapperPass>();
AU.addPreserved<GlobalsAAWrapperPass>();
AU.addPreserved<AAResultsWrapperPass>();
}
};