[polly] r261215 - Add the missing __isl_give to MemoryAccess::getAccessRelation

Hongbin Zheng via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 18 07:24:39 PST 2016


Author: ether
Date: Thu Feb 18 09:24:38 2016
New Revision: 261215

URL: http://llvm.org/viewvc/llvm-project?rev=261215&view=rev
Log:
Add the missing __isl_give to MemoryAccess::getAccessRelation

Modified:
    polly/trunk/include/polly/ScopInfo.h

Modified: polly/trunk/include/polly/ScopInfo.h
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/polly/ScopInfo.h?rev=261215&r1=261214&r2=261215&view=diff
==============================================================================
--- polly/trunk/include/polly/ScopInfo.h (original)
+++ polly/trunk/include/polly/ScopInfo.h Thu Feb 18 09:24:38 2016
@@ -708,7 +708,7 @@ public:
   /// As 2) is by construction "newer" than 1) we return the new access
   /// relation if present.
   ///
-  isl_map *getAccessRelation() const {
+  __isl_give isl_map *getAccessRelation() const {
     return hasNewAccessRelation() ? getNewAccessRelation()
                                   : getOriginalAccessRelation();
   }




More information about the llvm-commits mailing list