* optabs.c (vector_compare_rtx): Fix COMPARISON_CLASS_P use.
authorDevang Patel <dpatel@apple.com>
Wed, 17 Nov 2004 00:56:57 +0000 (16:56 -0800)
committerDevang Patel <dpatel@gcc.gnu.org>
Wed, 17 Nov 2004 00:56:57 +0000 (16:56 -0800)
From-SVN: r90781

gcc/ChangeLog
gcc/optabs.c

index 97f06f18d3cb0c02206ddabf2f596e1d353a5b6c..6f7fba24ab731c27ab69340d5844fba497feb00f 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 3c8b91f16f342b183ed12cf9ccee528d9cf98512..1887772ab47e4d7f4dd369321420bb1917376156 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