[polly] r175011 - Use documented isl function

Tobias Grosser grosser at fim.uni-passau.de
Tue Feb 12 14:05:44 PST 2013


Author: grosser
Date: Tue Feb 12 16:05:43 2013
New Revision: 175011

URL: http://llvm.org/viewvc/llvm-project?rev=175011&view=rev
Log:
Use documented isl function

Modified:
    polly/trunk/include/polly/CodeGen/CodeGeneration.h

Modified: polly/trunk/include/polly/CodeGen/CodeGeneration.h
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/polly/CodeGen/CodeGeneration.h?rev=175011&r1=175010&r2=175011&view=diff
==============================================================================
--- polly/trunk/include/polly/CodeGen/CodeGeneration.h (original)
+++ polly/trunk/include/polly/CodeGen/CodeGeneration.h Tue Feb 12 16:05:43 2013
@@ -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);





More information about the llvm-commits mailing list