diff options
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/optabs.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 331698cd9a4..5b009a7b42d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2004-11-12 Devang Patel <dpatel@apple.com> + * optabs.c (vector_compare_rtx): Use COMPARISON_CLASS_P. + +2004-11-12 Devang Patel <dpatel@apple.com> + * tree-if-conv.c (clean_predicate_lists): Use loop header and latch directly. diff --git a/gcc/optabs.c b/gcc/optabs.c index cfed9040180..3c8b91f16f3 100644 --- a/gcc/optabs.c +++ b/gcc/optabs.c @@ -5082,7 +5082,7 @@ vector_compare_rtx (tree cond, bool unsignedp, enum insn_code icode) tree t_op0, t_op1; rtx rtx_op0, rtx_op1; - if (TREE_CODE_CLASS (TREE_CODE (cond)) != '<') + if (COMPARISON_CLASS_P (cond)) { /* This is unlikely. While generating VEC_COND_EXPR, auto vectorizer ensures that condition is a relational |