[PATCH] D83430: [AliasSetTracker] More precise AAInfo intersection check

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 9 09:38:19 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rGafc1a709433e: [AliasSetTracker] More precise AAInfo intersection check (authored by nikic).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D83430/new/

https://reviews.llvm.org/D83430

Files:
  llvm/include/llvm/Analysis/AliasSetTracker.h


Index: llvm/include/llvm/Analysis/AliasSetTracker.h
===================================================================
--- llvm/include/llvm/Analysis/AliasSetTracker.h
+++ llvm/include/llvm/Analysis/AliasSetTracker.h
@@ -87,12 +87,7 @@
         AAInfo = NewAAInfo;
       else {
         AAMDNodes Intersection(AAInfo.intersect(NewAAInfo));
-        if (!Intersection.TBAA || !Intersection.Scope ||
-            !Intersection.NoAlias) {
-          // NewAAInfo conflicts with AAInfo.
-          AAInfo = DenseMapInfo<AAMDNodes>::getTombstoneKey();
-          SizeChanged = true;
-        }
+        SizeChanged |= Intersection != AAInfo;
         AAInfo = Intersection;
       }
       return SizeChanged;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83430.276760.patch
Type: text/x-patch
Size: 707 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200709/f3744079/attachment.bin>


More information about the llvm-commits mailing list