[Patch ifcvt] Teach RTL ifcvt to handle multiple simple set instructions
authorJames Greenhalgh <james.greenhalgh@arm.com>
Thu, 5 Nov 2015 18:11:12 +0000 (18:11 +0000)
committerJames Greenhalgh <jgreenhalgh@gcc.gnu.org>
Thu, 5 Nov 2015 18:11:12 +0000 (18:11 +0000)
commit5d819bb7c82fa999fd4a1da2a3afdf715667859c
tree72321ce3630c2bb5ac351b9e1a746d1d5d88340e
parent7e4756e8438892aa362d846c83b91329a904e904
[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.

From-SVN: r229822
gcc/ChangeLog
gcc/ifcvt.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ifcvt-4.c [new file with mode: 0644]