diff options
author | Kyrylo Tkachov <kyrylo.tkachov@arm.com> | 2015-08-03 08:14:42 +0000 |
---|---|---|
committer | Kyrylo Tkachov <ktkachov@gcc.gnu.org> | 2015-08-03 08:14:42 +0000 |
commit | 44fef04ab18f57111e7d9f7dcd88d76a3c7bfc09 (patch) | |
tree | 826e24effa94dee676cf043a311912c2d3c9f2ce /gcc/fortran/trans-array.c | |
parent | 03038b8b7ad8e68a203cecdc43a44ee5ddbb7f6f (diff) | |
download | gcc-44fef04ab18f57111e7d9f7dcd88d76a3c7bfc09.zip gcc-44fef04ab18f57111e7d9f7dcd88d76a3c7bfc09.tar.gz gcc-44fef04ab18f57111e7d9f7dcd88d76a3c7bfc09.tar.bz2 |
[RTL-ifcvt] Improve conditional select ops on immediates
* ifcvt.c (noce_try_store_flag_constants): Make logic of the case
when diff == STORE_FLAG_VALUE or diff == -STORE_FLAG_VALUE more
explicit. Prefer to add the flag whenever possible.
(noce_process_if_block): Try noce_try_store_flag_constants before
noce_try_cmove.
* gcc.target/aarch64/csel_bfx_1.c: New test.
* gcc.target/aarch64/csel_imms_inc_1.c: Likewise.
From-SVN: r226491
Diffstat (limited to 'gcc/fortran/trans-array.c')
0 files changed, 0 insertions, 0 deletions