[llvm] r339937 - [AST] Speculative build fix for a polly buildbot

Philip Reames via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 16 13:58:48 PDT 2018


Author: reames
Date: Thu Aug 16 13:58:48 2018
New Revision: 339937

URL: http://llvm.org/viewvc/llvm-project?rev=339937&view=rev
Log:
[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?


Modified:
    llvm/trunk/include/llvm/Analysis/AliasSetTracker.h

Modified: llvm/trunk/include/llvm/Analysis/AliasSetTracker.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/AliasSetTracker.h?rev=339937&r1=339936&r2=339937&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/AliasSetTracker.h (original)
+++ llvm/trunk/include/llvm/Analysis/AliasSetTracker.h Thu Aug 16 13:58:48 2018
@@ -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;




More information about the llvm-commits mailing list