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:
parent
023153657d
commit
d9ae79067c
|
@ -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
|
* graphite-clast-to-gimple.c (precision_for_value): Adjust
|
||||||
computation of precision by 1.
|
computation of precision by 1.
|
||||||
|
|
|
@ -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>
|
2010-08-12 Sebastian Pop <sebastian.pop@amd.com>
|
||||||
|
|
||||||
* graphite-clast-to-gimple.c (precision_for_value): Adjust
|
* graphite-clast-to-gimple.c (precision_for_value): Adjust
|
||||||
|
|
|
@ -245,8 +245,7 @@ graphite_can_represent_scev (tree scev, int outermost_loop)
|
||||||
if (!scev_is_linear_expression (scev))
|
if (!scev_is_linear_expression (scev))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
return evolution_function_is_invariant_p (scev, outermost_loop)
|
return true;
|
||||||
|| evolution_function_is_affine_multivariate_p (scev, outermost_loop);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue