summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2018-08-16 20:58:48 +0000
committerPhilip Reames <listmail@philipreames.com>2018-08-16 20:58:48 +0000
commit5f50ffe83b3269d03b495daeb2a73ca9f87f39e3 (patch)
treee24ca8d461773e059adfbf91b10f47a8404b1fdb /llvm
parent684fa57ef7c1b58998afeec7298b8a861049a2dd (diff)
downloadbcm5719-llvm-5f50ffe83b3269d03b495daeb2a73ca9f87f39e3.tar.gz
bcm5719-llvm-5f50ffe83b3269d03b495daeb2a73ca9f87f39e3.zip
[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
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Analysis/AliasSetTracker.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/include/llvm/Analysis/AliasSetTracker.h b/llvm/include/llvm/Analysis/AliasSetTracker.h
index 106b973eeb8..abe96f9ae21 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;
OpenPOWER on IntegriCloud