This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH]: Add interchange tests, fix bugs noticed by them
- From: Daniel Berlin <dberlin at dberlin dot org>
- To: gcc-patches at gcc dot gnu dot org Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 12 Oct 2004 15:59:43 -0400
- Subject: [PATCH]: Add interchange tests, fix bugs noticed by them
It turns out i forgot to do the new iv creation/computation in the same
type of the old iv.
This fixes that, and adds the missing compute_immediate_uses.
ltrans-2 still fails to decide it wants to interchange, but the rest
succesfully pass.
Bootstrapped and regtested on powerpc-darwin.
2004-10-12 Daniel Belin <dberlin@dberlin.org>
* lambda-code.c (gcc_loopnest_to_lambda_loopnest):
Print out message to dump_file when we convert to perfect nest.
(lbv_to_gcc_expression): Add type argument, and use it for
type of arithmetic.
(lle_to_gcc_expression): Ditto.
(lambda_loopnest_to_gcc_loopnest): Pass type of old induction
variable to lbv/lle_to_gcc_expression.
* tree-loop-linear.c (linear_transform_loops): Compute immediate
uses.
Print out message when we transform loops.
Attachment:
fixesandtests.diff
Description: Binary data