diff options
author | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-11-15 14:29:10 +0000 |
---|---|---|
committer | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-11-15 14:29:10 +0000 |
commit | e7f482a08ee0cd87a5139ebab968efa4c6452187 (patch) | |
tree | 016447456ff77c72488cc81bf2d117b7bcf6d8af /gcc/tree-flow.h | |
parent | 1403633ef27ccefcd8a1f94e6b64cbfcd5f3f768 (diff) | |
download | gcc-e7f482a08ee0cd87a5139ebab968efa4c6452187.tar.gz |
* 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
Diffstat (limited to 'gcc/tree-flow.h')
-rw-r--r-- | gcc/tree-flow.h | 2 |
1 files changed, 1 insertions, 1 deletions
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. */ |