From e7f482a08ee0cd87a5139ebab968efa4c6452187 Mon Sep 17 00:00:00 2001 From: bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Wed, 15 Nov 2006 14:29:10 +0000 Subject: * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118856 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/tree-flow.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/tree-flow.h') diff --git a/gcc/tree-flow.h b/gcc/tree-flow.h index 61910f9e1a9..64926306ba9 100644 --- a/gcc/tree-flow.h +++ b/gcc/tree-flow.h @@ -949,7 +949,7 @@ extern void linear_transform_loops (struct loops *); /* In tree-ssa-loop-ivopts.c */ bool expr_invariant_in_loop_p (struct loop *, tree); -bool multiplier_allowed_in_address_p (HOST_WIDE_INT); +bool multiplier_allowed_in_address_p (HOST_WIDE_INT, enum machine_mode); unsigned multiply_by_cost (HOST_WIDE_INT, enum machine_mode); /* In tree-ssa-threadupdate.c. */ -- cgit v1.2.1