[Patchv3] Control SRA and IPA-SRA by a param rather than MOVE_RATIO
authorJames Greenhalgh <james.greenhalgh@arm.com>
Thu, 6 Nov 2014 14:18:52 +0000 (14:18 +0000)
committerJames Greenhalgh <jgreenhalgh@gcc.gnu.org>
Thu, 6 Nov 2014 14:18:52 +0000 (14:18 +0000)
commit5a6bc9c7188163b20276d6dd80c7c76165fdf9c2
tree162af30bab815fda1ca85c7ea7dcbb61d48d87e8
parent34896cd612476e1ee0937ff5bd32f597da944866
[Patchv3] Control SRA and IPA-SRA by a param rather than MOVE_RATIO

gcc/

* params.def (sra-max-scalarization-size-Ospeed): New.
(sra-max-scalarization-size-Osize): Likewise.
* doc/invoke.texi (sra-max-scalarization-size-Ospeed): Document.
(sra-max-scalarization-size-Osize): Likewise.
* toplev.c (process_options): Set default values for new
parameters.
* tree-sra.c (analyze_all_variable_accesses): Use new parameters.
* targhooks.c (get_move_ratio): Remove static designator.
* target.h (get_move_ratio): Declare.

From-SVN: r217191
gcc/ChangeLog
gcc/doc/invoke.texi
gcc/params.def
gcc/target.h
gcc/targhooks.c
gcc/toplev.c
gcc/tree-sra.c