Remove global call sets: loop-iv.c
authorRichard Sandiford <richard.sandiford@arm.com>
Mon, 30 Sep 2019 16:20:56 +0000 (16:20 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 30 Sep 2019 16:20:56 +0000 (16:20 +0000)
commit5c64181d62bb816b8c2c91e251cee7e2b597f244
treeea59ccb17df7d0341fee51fa3f2ded631a6881ee
parent6c47622219d6386807b26890dcdc84f192499d33
Remove global call sets: loop-iv.c

Similar idea to the combine.c and gcse.c patches.

2019-09-30  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
* loop-iv.c: Include regs.h and function-abi.h.
(simplify_using_initial_values): Use insn_callee_abi to get the
ABI of the call insn target.  Conservatively assume that
partially-clobbered registers are altered.

From-SVN: r276326
gcc/ChangeLog
gcc/loop-iv.c