[PATCH] D23432: [AliasSetTracker] Degrade AliasSetTracker results when may-alias sets get too large.

Hal Finkel via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 12 15:25:05 PDT 2016


hfinkel added a subscriber: hfinkel.
hfinkel added a comment.

There might not be anything we can do in general that is better than this, but could we degrade to using summaries of some kind instead of N^2 queries. For example, imagine that, in the degraded mode, we represented each set using the result of GetUnderlyingObject and the merged AA metadata. Then we queried using <Ptr, Size, AAMD> vs <UO, UnknownSize, MergedAAMD>, but only once per set, not once per pointer in each set? I'm trying to think of a way to keep getting the easy cases, such as noalias function parameters, even if we degrade on the hard things.


https://reviews.llvm.org/D23432





More information about the llvm-commits mailing list