[AliasSetTracker] Correct AAInfo check.
authorAlina Sbirlea <asbirlea@google.com>
Thu, 5 Sep 2019 23:00:36 +0000 (23:00 +0000)
committerAlina Sbirlea <asbirlea@google.com>
Thu, 5 Sep 2019 23:00:36 +0000 (23:00 +0000)
commit35548e80d67dd0d6e61c489432cfb1dafe0ddb65
tree10b0ef180eccfc7dc64a5b48dcf844c2e09256c9
parent9020f113770598f2064c1f19730aea5c1db754f6
[AliasSetTracker] Correct AAInfo check.

Properly check if NewAAInfo conflicts with AAInfo.
Update local variable and alias set that a change occured when a conflict is found.
Resolves PR42969.

llvm-svn: 371139
llvm/include/llvm/Analysis/AliasSetTracker.h
llvm/test/Transforms/LICM/pr42969.ll [new file with mode: 0644]