Add the missing __isl_give to MemoryAccess::getAccessRelation
authorHongbin Zheng <etherzhhb@gmail.com>
Thu, 18 Feb 2016 15:24:38 +0000 (15:24 +0000)
committerHongbin Zheng <etherzhhb@gmail.com>
Thu, 18 Feb 2016 15:24:38 +0000 (15:24 +0000)
llvm-svn: 261215

polly/include/polly/ScopInfo.h

index 8129522..104224e 100644 (file)
@@ -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();
   }