tree-flow.h (multiplier_allowed_in_address_p): Adjust prototype.
authorBernd Schmidt <bernd.schmidt@analog.com>
Wed, 15 Nov 2006 14:29:10 +0000 (14:29 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Wed, 15 Nov 2006 14:29:10 +0000 (14:29 +0000)
commitdd5f63f83e862faee09a5a02bd417438a81ef8a1
tree016447456ff77c72488cc81bf2d117b7bcf6d8af
parentc78ba53a65fdd2586b93937e6a757e652149e37f
tree-flow.h (multiplier_allowed_in_address_p): Adjust prototype.

* tree-flow.h (multiplier_allowed_in_address_p): Adjust prototype.
* tree-ssa-loop-ivopts.c (multiplier_allowed_in_address_p): New
arg MODE; all callers changed.  Use it to determine validity per
machine mode instead of using Pmode for all memory references.
(get_address_cost): Likewise add and use new arg MEM_MODE.

From-SVN: r118856
gcc/ChangeLog
gcc/tree-flow.h
gcc/tree-ssa-address.c
gcc/tree-ssa-loop-ivopts.c