This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]