re PR tree-optimization/53645 (Missed optimization for vector integer division lowering)
PR tree-optimization/53645 * tree-vect-generic.c (expand_vector_divmod): Use TYPE_MODE (type) instead of TYPE_MODE (wider_type) as can_vec_perm_p argument. From-SVN: r189108
This commit is contained in:
parent
f22e9ff078
commit
6698ed0127
@ -1,3 +1,9 @@
|
||||
2012-07-02 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR tree-optimization/53645
|
||||
* tree-vect-generic.c (expand_vector_divmod): Use TYPE_MODE (type)
|
||||
instead of TYPE_MODE (wider_type) as can_vec_perm_p argument.
|
||||
|
||||
2012-07-01 Wei Guozhi <carrot@google.com>
|
||||
|
||||
PR target/53447
|
||||
|
@ -768,7 +768,7 @@ expand_vector_divmod (gimple_stmt_iterator *gsi, tree type, tree op0,
|
||||
{
|
||||
for (i = 0; i < nunits; i++)
|
||||
sel[i] = !BYTES_BIG_ENDIAN + (i & ~1) + ((i & 1) ? nunits : 0);
|
||||
if (!can_vec_perm_p (TYPE_MODE (wider_type), false, sel))
|
||||
if (!can_vec_perm_p (TYPE_MODE (type), false, sel))
|
||||
decl_e = decl_o = NULL_TREE;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user