[RTL-ifcvt] Reject insns that are multiple_sets
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Fri, 27 Nov 2015 09:52:09 +0000 (09:52 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Fri, 27 Nov 2015 09:52:09 +0000 (09:52 +0000)
commit4d7b2a8a3b12beac09c5d8f8bcbf43a81296e462
tree95ea7519ecb07bb46162b7ae1b5358239d8969b2
parent14af28ba5aa467556c30cf20a8ee27e83590314f
[RTL-ifcvt] Reject insns that are multiple_sets

* ifcvt.c (insn_valid_noce_process_p): Reject insn if it satisfies
multiple_sets.
(noce_try_cmove_arith): Add checking asserts that orig_a and orig_b
are not modified by the final modified insns in the basic blocks.

From-SVN: r231004
gcc/ChangeLog
gcc/ifcvt.c