summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
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