summaryrefslogtreecommitdiff
path: root/gcc/optabs.c
diff options
context:
space:
mode:
authordpatel <dpatel@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-13 01:09:08 +0000
committerdpatel <dpatel@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-13 01:09:08 +0000
commitc6d83ead2aebd7e69acabe2504137e955b87cb32 (patch)
treec129bc593af81e200473927b435543441253730c /gcc/optabs.c
parent2c65779261f758d30c20a8f04fa127499244ca09 (diff)
downloadgcc-c6d83ead2aebd7e69acabe2504137e955b87cb32.tar.gz
* optabs.c (vector_compare_rtx): Use COMPARISON_CLASS_P.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90566 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/optabs.c')
-rw-r--r--gcc/optabs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/optabs.c b/gcc/optabs.c
index cfed9040180..3c8b91f16f3 100644
--- a/gcc/optabs.c
+++ b/gcc/optabs.c
@@ -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