[Reassociate] Preserve AAManager and BasicAA analyses.
authorAlina Sbirlea <asbirlea@google.com>
Wed, 15 Apr 2020 22:58:57 +0000 (15:58 -0700)
committerAlina Sbirlea <asbirlea@google.com>
Wed, 15 Apr 2020 23:58:03 +0000 (16:58 -0700)
commitedccc35e8fa2c546e0ef1c8efde56e6b12e3c175
tree40c9bead4e47d740740963cb2b69999d773abe96
parent7d1ff446b6ad94560e87900c11370de12c734282
[Reassociate] Preserve AAManager and BasicAA analyses.

Now Reassociate Pass invalidates the analysis results of AAManager and BasicAA,
but it saves GlobalsAA, although it seems that it should preserve them, since
it affects only Unary and Binary operators.

Author: kpolushin (Kirill)

Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D77137
llvm/lib/Transforms/Scalar/Reassociate.cpp