Fix ivopts estimates for internal functions
commit40252e32f0aeb7423cde64d1460fb801065fc0d7
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 May 2016 15:49:22 +0000 (26 15:49 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 May 2016 15:49:22 +0000 (26 15:49 +0000)
tree150da3f17c5686ef4e763fcfa4fc50e15617bf76
parent0478d9ed7e305928fe88417ee12474eb086747ac
Fix ivopts estimates for internal functions

tree-ssa-loop-ivopts.c:loop_body_includes_call was treating internal
calls such as IFN_SQRT as clobbering all caller-saved registers, which
I don't think is appropriate for any current internal function.

Tested on aarch64-linux-gnu and x86_64-linux-gnu.

gcc/
* tree-ssa-loop-ivopts.c (loop_body_includes_call): Don't assume
that internal functions will clobber all caller-saved registers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@236780 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-ssa-loop-ivopts.c