forked from OSchip/llvm-project
[GVNHoist] Preserve AAResults.
Resolves PR38906, PR40898.
This commit is contained in:
parent
335ac2eb66
commit
4ae74cc99f
|
@ -1168,6 +1168,7 @@ public:
|
|||
AU.addPreserved<DominatorTreeWrapperPass>();
|
||||
AU.addPreserved<MemorySSAWrapperPass>();
|
||||
AU.addPreserved<GlobalsAAWrapperPass>();
|
||||
AU.addPreserved<AAResultsWrapperPass>();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue