Use documented isl function

llvm-svn: 175011
This commit is contained in:
Tobias Grosser 2013-02-12 22:05:43 +00:00
parent 962b2210cc
commit d1d40a9e0a
1 changed files with 1 additions and 1 deletions

View 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);