From 5f50ffe83b3269d03b495daeb2a73ca9f87f39e3 Mon Sep 17 00:00:00 2001 From: Philip Reames Date: Thu, 16 Aug 2018 20:58:48 +0000 Subject: [PATCH] [AST] Speculative build fix for a polly buildbot I don't have polly setup to bulld locally and don't plan to. This should let the old API adapt to the new one. Can someone from polly please migrate usage and then delete the wrapper? llvm-svn: 339937 --- llvm/include/llvm/Analysis/AliasSetTracker.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/llvm/include/llvm/Analysis/AliasSetTracker.h b/llvm/include/llvm/Analysis/AliasSetTracker.h index 106b973..abe96f9 100644 --- a/llvm/include/llvm/Analysis/AliasSetTracker.h +++ b/llvm/include/llvm/Analysis/AliasSetTracker.h @@ -399,6 +399,13 @@ public: /// set is returned. AliasSet &getAliasSetFor(const MemoryLocation &MemLoc); + AliasSet &getAliasSetForPointer(Value *P, LocationSize Size, + const AAMDNodes &AAInfo) { + // This adapter exists so that polly can be updated to the new API. Once + // done, please delete this. + return getAliasSetFor(MemoryLocation(P, Size, AAInfo)); + } + /// Return true if the specified instruction "may" (or must) alias one of the /// members in any of the sets. bool containsUnknown(const Instruction *I) const; -- 2.7.4