This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Use tcc_comparison



On Nov 12, 2004, at 4:35 PM, Devang Patel wrote:



On Nov 12, 2004, at 4:31 PM, Richard Henderson wrote:


On Fri, Nov 12, 2004 at 02:27:15PM -0800, Devang Patel wrote:
! if (TREE_CODE_CLASS (TREE_CODE (cond)) != tcc_comparison)

COMPARISON_CLASS_P.

ok

Of course, I could not do this simple thing right;-) Checking-in as obvious. - Devang

2004-11-16 Devang Patel <dpatel@apple.com>

* optabs.c (vector_compare_rtx): Fix COMPARISON_CLASS_P use.

Index: optabs.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/optabs.c,v
retrieving revision 1.248
diff -Idpatel.pbxuser -c -3 -p -r1.248 optabs.c
*** optabs.c    13 Nov 2004 01:09:08 -0000      1.248
--- optabs.c    17 Nov 2004 00:49:59 -0000
*************** vector_compare_rtx (tree cond, bool unsi
*** 5082,5088 ****
    tree t_op0, t_op1;
    rtx rtx_op0, rtx_op1;

!   if (COMPARISON_CLASS_P (cond))
      {
        /* This is unlikely. While generating VEC_COND_EXPR,
         auto vectorizer ensures that condition is a relational
--- 5082,5088 ----
    tree t_op0, t_op1;
    rtx rtx_op0, rtx_op1;

!   if (!COMPARISON_CLASS_P (cond))
      {
        /* This is unlikely. While generating VEC_COND_EXPR,
         auto vectorizer ensures that condition is a relational


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]