cfgcleanup.c (old_insns_match_p): Check if used hard regs set is equal for both call...
authorDragan Mladjenovic <dmladjenovic@wavecomp.com>
Tue, 9 Jul 2019 21:20:57 +0000 (21:20 +0000)
committerJeff Law <law@gcc.gnu.org>
Tue, 9 Jul 2019 21:20:57 +0000 (15:20 -0600)
commit4b1a1d981869346f5b98f78fa1f31acb58535932
tree7d51eb38eeef454a5b3d8b681f3549ff818f684e
parent4faba5c3bc37c0bfceec6b254d76c5d0b3e2fe8b
cfgcleanup.c (old_insns_match_p): Check if used hard regs set is equal for both call instructions.

2019-07-09  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>

* cfgcleanup.c (old_insns_match_p): Check if used hard regs set is equal
for both call instructions.

2019-07-09  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>

* gcc.target/mips/cfgcleanup-jalr1.c: New test.
* gcc.target/mips/cfgcleanup-jalr2.c: New test.
* gcc.target/mips/cfgcleanup-jalr3.c: New test.

From-SVN: r273314
gcc/ChangeLog
gcc/cfgcleanup.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/mips/cfgcleanup-jalr1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/mips/cfgcleanup-jalr2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/mips/cfgcleanup-jalr3.c [new file with mode: 0644]