OSDN Git Service

* optabs.c (vector_compare_rtx): Use COMPARISON_CLASS_P.
authordpatel <dpatel@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 13 Nov 2004 01:09:08 +0000 (01:09 +0000)
committerdpatel <dpatel@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 13 Nov 2004 01:09:08 +0000 (01:09 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90566 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/optabs.c

index 331698c..5b009a7 100644 (file)
@@ -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.
        
index cfed904..3c8b91f 100644 (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