diff options
author | Kyrylo Tkachov <ktkachov@gcc.gnu.org> | 2016-01-11 12:13:50 +0000 |
---|---|---|
committer | Kyrylo Tkachov <ktkachov@gcc.gnu.org> | 2016-01-11 12:13:50 +0000 |
commit | 5baf45323b70abe259bffc89425e9f0155a1a7a3 (patch) | |
tree | 590458ee63e277d05bcf8da716d1961107023f90 /gcc/alias.c | |
parent | 1c5211b13cb66b65f92a8289d221e2c3f4a3dfe2 (diff) | |
download | gcc-5baf45323b70abe259bffc89425e9f0155a1a7a3.zip gcc-5baf45323b70abe259bffc89425e9f0155a1a7a3.tar.gz gcc-5baf45323b70abe259bffc89425e9f0155a1a7a3.tar.bz2 |
[RTL-ifcvt] PR rtl-optimization/68841: Make sure one basic block doesn't clobber CC reg usage of the other
PR rtl-optimization/68841
* ifcvt.c (struct noce_if_info): Add orig_x field.
(bbs_ok_for_cmove_arith): Add to_rename parameter.
Don't record conflicts on to_rename if it's present.
Allow memory destinations in sets.
(noce_try_cmove_arith): Call bbs_ok_for_cmove_arith even on simple
blocks, passing orig_x to the checks.
(noce_process_if_block): Set if_info->orig_x appropriately.
* gcc.dg/pr68841.c: New test.
* gcc.c-torture/execute/pr68841.c: New test.
From-SVN: r232223
Diffstat (limited to 'gcc/alias.c')
0 files changed, 0 insertions, 0 deletions