* optabs.c (vector_compare_rtx): Use COMPARISON_CLASS_P.

From-SVN: r90566
This commit is contained in:
Devang Patel 2004-11-12 17:09:08 -08:00 committed by Devang Patel
parent b3776043e3
commit ecab6f992d
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
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

View File

@ -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