aboutsummaryrefslogtreecommitdiff
path: root/gcc/compare-elim.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2017-10-17 20:28:33 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2017-10-17 20:28:33 +0000
commit34311c5ee64df8dd6dbdaa6141adfe16534c1349 (patch)
treebb13380c745c6270665a5f2bb7824f29008257b1 /gcc/compare-elim.c
parent8e7014b45585b89418564db079f9ad469a581ea2 (diff)
downloadgcc-34311c5ee64df8dd6dbdaa6141adfe16534c1349.zip
gcc-34311c5ee64df8dd6dbdaa6141adfe16534c1349.tar.gz
gcc-34311c5ee64df8dd6dbdaa6141adfe16534c1349.tar.bz2
visium.c (visium_select_cc_mode): Return CCmode for any RTX present on the RHS of a SET.
* config/visium/visium.c (visium_select_cc_mode): Return CCmode for any RTX present on the RHS of a SET. * compare-elim.c (try_eliminate_compare): Restore comment. From-SVN: r253830
Diffstat (limited to 'gcc/compare-elim.c')
-rw-r--r--gcc/compare-elim.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/compare-elim.c b/gcc/compare-elim.c
index 794a452..086fbc7 100644
--- a/gcc/compare-elim.c
+++ b/gcc/compare-elim.c
@@ -729,6 +729,7 @@ try_eliminate_compare (struct comparison *cmp)
if (try_merge_compare (cmp))
return true;
+ /* We must have found an interesting "clobber" preceding the compare. */
if (cmp->prev_clobber == NULL)
return false;