regcprop.c (copyprop_hardreg_forward_1): Remove redundant INSN_P test.
authorJakub Jelinek <jakub@redhat.com>
Thu, 28 Mar 2019 14:20:10 +0000 (15:20 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 28 Mar 2019 14:20:10 +0000 (15:20 +0100)
commitcdd82c1ee8d2ae036a4bfe2170b7795c17394109
tree09e54a164e2228375675d06169f7f624fa0ee248
parentc84e2d3d18338e1644e34c01809833419c13dd3d
regcprop.c (copyprop_hardreg_forward_1): Remove redundant INSN_P test.

* regcprop.c (copyprop_hardreg_forward_1): Remove redundant INSN_P
test.
(cprop_hardreg_bb, cprop_hardreg_debug): New functions.
(pass_cprop_hardreg::execute): Use those.  Don't repeat bb processing
immediately after first one with df_analyze in between, but rather
process all bbs, queueing ones that need second pass in a worklist,
df_analyze, process queued debug insn changes and if second pass is
needed, process bbs from worklist, df_analyze, process queued debug
insns again.

From-SVN: r269992
gcc/ChangeLog
gcc/regcprop.c