Use documented isl function
authorTobias Grosser <grosser@fim.uni-passau.de>
Tue, 12 Feb 2013 22:05:43 +0000 (22:05 +0000)
committerTobias Grosser <grosser@fim.uni-passau.de>
Tue, 12 Feb 2013 22:05:43 +0000 (22:05 +0000)
llvm-svn: 175011

polly/include/polly/CodeGen/CodeGeneration.h

index 55543d6..31f3e62 100644 (file)
@@ -34,7 +34,7 @@ namespace polly {
     // and output dimension not related.
     //  [i0, i1, i2, i3] -> [i0, i1, i2, o0]
     isl_space *Space = isl_set_get_space(Domain);
-    Space = isl_space_drop_outputs(Space, Dim - 1, 1);
+    Space = isl_space_drop_dims(Space, isl_dim_out, Dim - 1, 1);
     Space = isl_space_map_from_set(Space);
     isl_map *Identity = isl_map_identity(Space);
     Identity = isl_map_add_dims(Identity, isl_dim_in, 1);