diff options
author | Arthur Eubanks <aeubanks@google.com> | 2022-03-06 02:06:08 +0300 |
---|---|---|
committer | Arthur Eubanks <aeubanks@google.com> | 2022-03-14 19:42:34 +0300 |
commit | 4fc7c55ffff1bb2b23fc022331b82b086d4b03b4 (patch) | |
tree | 12f4882fc9c0b6f85f6775fc09137a5d703dab80 /clang | |
parent | b9cf2df3ff73e6f10b9fd50a4e38f3ccc1da502d (diff) |
[NewPM] Actually recompute GlobalsAA before module optimization pipeline
RequireAnalysis<GlobalsAA> doesn't actually recompute GlobalsAA.
GlobalsAA isn't invalidated (unless specifically invalidated) because
it's self-updating via ValueHandles, but can be imprecise during the
self-updates.
Rather than invalidating GlobalsAA, which would invalidate AAManager and
any analyses that use AAManager, create a new pass that recomputes
GlobalsAA.
Fixes #53131.
Differential Revision: https://reviews.llvm.org/D121167
Diffstat (limited to 'clang')
-rw-r--r-- | clang/test/CodeGen/thinlto-distributed-newpm.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/thinlto-distributed-newpm.ll b/clang/test/CodeGen/thinlto-distributed-newpm.ll index 177d0375c53b..708c288eeb53 100644 --- a/clang/test/CodeGen/thinlto-distributed-newpm.ll +++ b/clang/test/CodeGen/thinlto-distributed-newpm.ll @@ -78,7 +78,7 @@ ; CHECK-O: Running pass: GlobalDCEPass ; CHECK-O: Running pass: EliminateAvailableExternallyPass ; CHECK-O: Running pass: ReversePostOrderFunctionAttrsPass -; CHECK-O: Running pass: RequireAnalysisPass<{{.*}}GlobalsAA +; CHECK-O: Running pass: RecomputeGlobalsAAPass ; CHECK-O: Running pass: Float2IntPass on main ; CHECK-O: Running pass: LowerConstantIntrinsicsPass on main ; CHECK-O: Running pass: LoopSimplifyPass on main |