[polly] r288915 - Add IslPtr type traits. NFC.
Michael Kruse via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 7 08:18:00 PST 2016
Author: meinersbur
Date: Wed Dec 7 10:17:59 2016
New Revision: 288915
URL: http://llvm.org/viewvc/llvm-project?rev=288915&view=rev
Log:
Add IslPtr type traits. NFC.
Add traits for isl_id and isl_multi_aff, required by out-of-tree patches
currently in progress of upstreaming.
isl_union_pw_aff_dump has been added to ISL during one of the last ISL
updates, such that we can also enable its dump() trait.
Modified:
polly/trunk/include/polly/Support/GICHelper.h
polly/trunk/lib/Support/GICHelper.cpp
Modified: polly/trunk/include/polly/Support/GICHelper.h
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/polly/Support/GICHelper.h?rev=288915&r1=288914&r2=288915&view=diff
==============================================================================
--- polly/trunk/include/polly/Support/GICHelper.h (original)
+++ polly/trunk/include/polly/Support/GICHelper.h Wed Dec 7 10:17:59 2016
@@ -207,6 +207,7 @@ template <typename T> class IslObjTraits
} \
};
+DECLARE_TRAITS(id)
DECLARE_TRAITS(val)
DECLARE_TRAITS(space)
DECLARE_TRAITS(basic_map)
@@ -216,6 +217,7 @@ DECLARE_TRAITS(basic_set)
DECLARE_TRAITS(set)
DECLARE_TRAITS(union_set)
DECLARE_TRAITS(aff)
+DECLARE_TRAITS(multi_aff)
DECLARE_TRAITS(pw_aff)
DECLARE_TRAITS(union_pw_aff)
DECLARE_TRAITS(multi_union_pw_aff)
Modified: polly/trunk/lib/Support/GICHelper.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Support/GICHelper.cpp?rev=288915&r1=288914&r2=288915&view=diff
==============================================================================
--- polly/trunk/lib/Support/GICHelper.cpp (original)
+++ polly/trunk/lib/Support/GICHelper.cpp Wed Dec 7 10:17:59 2016
@@ -208,6 +208,7 @@ std::string polly::getIslCompatibleName(
}
namespace polly {
+DEFINE_ISLPTR(id)
DEFINE_ISLPTR(val)
DEFINE_ISLPTR(space)
DEFINE_ISLPTR(basic_map)
@@ -217,8 +218,9 @@ DEFINE_ISLPTR(basic_set)
DEFINE_ISLPTR(set)
DEFINE_ISLPTR(union_set)
DEFINE_ISLPTR(aff)
+DEFINE_ISLPTR(multi_aff)
DEFINE_ISLPTR(pw_aff)
-// DEFINE_ISLPTR(union_pw_aff) /* There is no isl_union_pw_aff_dump() */
+DEFINE_ISLPTR(union_pw_aff)
DEFINE_ISLPTR(multi_union_pw_aff)
DEFINE_ISLPTR(union_pw_multi_aff)
}
More information about the llvm-commits
mailing list