[Patch ifcvt] Teach RTL ifcvt to handle multiple simple set instructions
authorjgreenhalgh <jgreenhalgh@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Nov 2015 18:11:12 +0000 (18:11 +0000)
committerjgreenhalgh <jgreenhalgh@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Nov 2015 18:11:12 +0000 (18:11 +0000)
commit74754c66b8d9448d8717490656368e4bdc7049f2
tree72321ce3630c2bb5ac351b9e1a746d1d5d88340e
parent442e766c6199e7632c8c6eb6cd4ff2b2390251b2
[Patch ifcvt] Teach RTL ifcvt to handle multiple simple set instructions

gcc/

* ifcvt.c (bb_ok_for_noce_convert_multiple_sets): New.
(noce_convert_multiple_sets): Likewise.
(noce_process_if_block): Call them.

gcc/testsuite/

* gcc.dg/ifcvt-4.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@229822 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ifcvt.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ifcvt-4.c [new file with mode: 0644]