projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b377604
)
* optabs.c (vector_compare_rtx): Use COMPARISON_CLASS_P.
author
Devang Patel
<dpatel@apple.com>
Sat, 13 Nov 2004 01:09:08 +0000
(17:09 -0800)
committer
Devang Patel
<dpatel@gcc.gnu.org>
Sat, 13 Nov 2004 01:09:08 +0000
(17:09 -0800)
From-SVN: r90566
gcc/ChangeLog
patch
|
blob
|
history
gcc/optabs.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index 331698cd9a46afed2d73b028e98520a41565c640..5b009a7b42d6e07d83665d09de206df82f3c7a1b 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-1,3
+1,7
@@
+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
diff --git
a/gcc/optabs.c
b/gcc/optabs.c
index cfed9040180c40f6e7b6971200b82429ec92585b..3c8b91f16f342b183ed12cf9ccee528d9cf98512 100644
(file)
--- 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