OSDN Git Service

* optabs.c (vector_compare_rtx): Fix COMPARISON_CLASS_P use.
authordpatel <dpatel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 Nov 2004 00:56:57 +0000 (00:56 +0000)
committerdpatel <dpatel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 Nov 2004 00:56:57 +0000 (00:56 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90781 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/optabs.c

index 97f06f1..6f7fba2 100644 (file)
@@ -1,3 +1,7 @@
+2004-11-16  Devang Patel  <dpatel@apple.com>
+
+       * optabs.c (vector_compare_rtx): Fix COMPARISON_CLASS_P use.
+       
 2004-11-16  Kazu Hirata  <kazu@cs.umass.edu>
 
        * expmed.c, ra-colorize.c: Fix comment typos.
index 3c8b91f..1887772 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 (COMPARISON_CLASS_P (cond))
+  if (!COMPARISON_CLASS_P (cond))
     {
       /* This is unlikely. While generating VEC_COND_EXPR,
         auto vectorizer ensures that condition is a relational