This patch handles memaccess type intrinsic calls in IVOPT and treat iv uses from...
commit69ef23c0f34b9efd498df559bd430f39d650565a
authorwmi <wmi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Jan 2014 21:56:40 +0000 (23 21:56 +0000)
committerwmi <wmi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Jan 2014 21:56:40 +0000 (23 21:56 +0000)
treed27979237f92dccf2b13933486ffd0d0793a1764
parent192e346756677c825d8f27ba2aeac354024283aa
This patch handles memaccess type intrinsic calls in IVOPT and treat iv uses from such 'calls' as iv address use, so that the cost estimation of IVOPT will be correct and proper iv set will be choosen. TARGET_MEM_REF code will be generated before such intrinsic calls. Expand should keep the addr expr of TARGET_MEM_REF node from being linearized.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/google@207011 138bc75d-0d04-0410-961f-82ee72b054a4
12 files changed:
gcc-4_8/gcc/config/i386/i386.c
gcc-4_8/gcc/doc/tm.texi
gcc-4_8/gcc/doc/tm.texi.in
gcc-4_8/gcc/expr.c
gcc-4_8/gcc/gimple.c
gcc-4_8/gcc/target.def
gcc-4_8/gcc/targhooks.c
gcc-4_8/gcc/testsuite/gcc.dg/tree-ssa/ivopt_5.c [new file with mode: 0644]
gcc-4_8/gcc/testsuite/gcc.dg/tree-ssa/ivopt_mult_1.c
gcc-4_8/gcc/testsuite/gcc.dg/tree-ssa/ivopt_mult_4.c
gcc-4_8/gcc/testsuite/gcc.dg/tree-ssa/loop-28.c
gcc-4_8/gcc/tree-ssa-loop-ivopts.c