[polly] r222560 - Use isl_schedule_get_ctx

Tobias Grosser tobias at grosser.es
Fri Nov 21 11:39:42 PST 2014


Author: grosser
Date: Fri Nov 21 13:39:42 2014
New Revision: 222560

URL: http://llvm.org/viewvc/llvm-project?rev=222560&view=rev
Log:
Use isl_schedule_get_ctx

Modified:
    polly/trunk/lib/Support/GICHelper.cpp

Modified: polly/trunk/lib/Support/GICHelper.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Support/GICHelper.cpp?rev=222560&r1=222559&r2=222560&view=diff
==============================================================================
--- polly/trunk/lib/Support/GICHelper.cpp (original)
+++ polly/trunk/lib/Support/GICHelper.cpp Fri Nov 21 13:39:42 2014
@@ -80,10 +80,6 @@ static inline std::string stringFromIslO
   return string;
 }
 
-static inline isl_ctx *schedule_get_ctx(__isl_keep isl_schedule *schedule) {
-  return isl_union_map_get_ctx(isl_schedule_get_map(schedule));
-}
-
 std::string polly::stringFromIslObj(__isl_keep isl_map *map) {
   return stringFromIslObjInternal(map, isl_map_get_ctx, isl_printer_print_map);
 }
@@ -103,7 +99,7 @@ std::string polly::stringFromIslObj(__is
 }
 
 std::string polly::stringFromIslObj(__isl_keep isl_schedule *schedule) {
-  return stringFromIslObjInternal(schedule, schedule_get_ctx,
+  return stringFromIslObjInternal(schedule, isl_schedule_get_ctx,
                                   isl_printer_print_schedule);
 }
 





More information about the llvm-commits mailing list