projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
335ac2e
)
[GVNHoist] Preserve AAResults.
author
Alina Sbirlea
<asbirlea@google.com>
Tue, 12 Nov 2019 22:07:32 +0000
(14:07 -0800)
committer
Alina Sbirlea
<asbirlea@google.com>
Tue, 12 Nov 2019 22:10:04 +0000
(14:10 -0800)
Resolves PR38906, PR40898.
llvm/lib/Transforms/Scalar/GVNHoist.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Transforms/Scalar/GVNHoist.cpp
b/llvm/lib/Transforms/Scalar/GVNHoist.cpp
index
c87e414
..
a343fb7
100644
(file)
--- a/
llvm/lib/Transforms/Scalar/GVNHoist.cpp
+++ b/
llvm/lib/Transforms/Scalar/GVNHoist.cpp
@@
-1168,6
+1168,7
@@
public:
AU.addPreserved<DominatorTreeWrapperPass>();
AU.addPreserved<MemorySSAWrapperPass>();
AU.addPreserved<GlobalsAAWrapperPass>();
+ AU.addPreserved<AAResultsWrapperPass>();
}
};