Remove redundant checks in graphite_can_represent_scev.

2010-08-17  Tobias Grosser  <grosser@fim.uni-passau.de>

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

From-SVN: r164780
This commit is contained in:
Sebastian Pop 2010-09-30 21:17:26 +00:00
parent 023153657d
commit d9ae79067c
3 changed files with 12 additions and 3 deletions

View 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.

View 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

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