2014-04-14 Richard Biener <rguenther@suse.de>
commit637a765fcbbd824efd438cc4a6476a52d66a4ede
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 Apr 2014 11:48:22 +0000 (14 11:48 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 Apr 2014 11:48:22 +0000 (14 11:48 +0000)
treef84d71d3dd776681297695f30004e73b68bd9c62
parent4c73695b7220cde4dc71f50a39f2eff19f3a981d
2014-04-14  Richard Biener  <rguenther@suse.de>

* tree-switch-conversion.c (lshift_cheap_p): Get speed_p
as argument.
(expand_switch_using_bit_tests_p): Likewise.
(process_switch): Compute and pass on speed_p based on the
switch stmt.
* tree-ssa-math-opts.c (gimple_expand_builtin_pow): Use
optimize_bb_for_speed_p.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209364 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-ssa-math-opts.c
gcc/tree-switch-conversion.c