]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Remove redundant checks in graphite_can_represent_scev.
authorSebastian Pop <spop@gcc.gnu.org>
Thu, 30 Sep 2010 21:17:26 +0000 (21:17 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Thu, 30 Sep 2010 21:17:26 +0000 (21:17 +0000)
2010-08-17  Tobias Grosser  <grosser@fim.uni-passau.de>

        * graphite-scop-detection.c (graphite_can_represent_scev): Remove
        redundant checks.

From-SVN: r164780

gcc/ChangeLog
gcc/ChangeLog.graphite
gcc/graphite-scop-detection.c

index f059496a7fae89822d5074148dc726254b421a52..c697a68b935831eb14ba718e40af3f9ed5506e5a 100644 (file)
@@ -1,4 +1,9 @@
-2010-08-12  Sebastian Pop  <sebastian.pop@amd.com>
+2010-09-30  Tobias Grosser  <grosser@fim.uni-passau.de>
+
+       * graphite-scop-detection.c (graphite_can_represent_scev): Remove
+       redundant checks.
+
+2010-09-30  Sebastian Pop  <sebastian.pop@amd.com>
 
        * graphite-clast-to-gimple.c (precision_for_value): Adjust
        computation of precision by 1.
index 7dd63786a00f898e0f79248317bb815c332b6230..cb6384820d79ef65d39a3fec962cbcbb971994db 100644 (file)
@@ -1,3 +1,8 @@
+2010-08-17  Tobias Grosser  <grosser@fim.uni-passau.de>
+
+       * graphite-scop-detection.c (graphite_can_represent_scev): Remove
+       redundant checks.
+
 2010-08-12  Sebastian Pop  <sebastian.pop@amd.com>
 
        * graphite-clast-to-gimple.c (precision_for_value): Adjust
index bd0f7bd6f972e5872614d78b1bc3c3de555db5f5..ce941db4a6486d26568f384595800a49ea315721 100644 (file)
@@ -245,8 +245,7 @@ graphite_can_represent_scev (tree scev, int outermost_loop)
   if (!scev_is_linear_expression (scev))
     return false;
 
-  return evolution_function_is_invariant_p (scev, outermost_loop)
-    || evolution_function_is_affine_multivariate_p (scev, outermost_loop);
+  return true;
 }