[RTL ifcvt] Allow simple register subregs in noce_convert_multiple_sets
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Wed, 15 Jun 2016 10:08:24 +0000 (10:08 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Wed, 15 Jun 2016 10:08:24 +0000 (10:08 +0000)
commit3256673f86cb878b41da25db3d4785418d6cf2c9
treecfc4a7a59fa6d267787e617c85e69070ed21174a
parentb17dc4d4e42c4366f60ad79cdc31f7b1260e058e
[RTL ifcvt] Allow simple register subregs in noce_convert_multiple_sets

* ifcvt.c (bb_ok_for_noce_multiple_sets): Allow simple lowpart
register subregs in SET_SRC.

* gcc.target/aarch64/ifcvt_multiple_sets_subreg_1.c: New test.

From-SVN: r237475
gcc/ChangeLog
gcc/ifcvt.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/ifcvt_multiple_sets_subreg_1.c [new file with mode: 0644]