* config/xtensa/xtensa.c (constantpool_mem_p): Skip over SUBREGs.
From-SVN: r121622
This commit is contained in:
parent
b95becfc09
commit
63694bdd4e
@ -1,3 +1,7 @@
|
|||||||
|
2007-02-05 Bob Wilson <bob.wilson@acm.org>
|
||||||
|
|
||||||
|
* config/xtensa/xtensa.c (constantpool_mem_p): Skip over SUBREGs.
|
||||||
|
|
||||||
2007-02-05 Richard Guenther <rguenther@suse.de>
|
2007-02-05 Richard Guenther <rguenther@suse.de>
|
||||||
|
|
||||||
* tree-vectorizer.h (vectorizable_function): Add argument type
|
* tree-vectorizer.h (vectorizable_function): Add argument type
|
||||||
|
@ -449,6 +449,8 @@ constantpool_address_p (rtx addr)
|
|||||||
int
|
int
|
||||||
constantpool_mem_p (rtx op)
|
constantpool_mem_p (rtx op)
|
||||||
{
|
{
|
||||||
|
if (GET_CODE (op) == SUBREG)
|
||||||
|
op = SUBREG_REG (op);
|
||||||
if (GET_CODE (op) == MEM)
|
if (GET_CODE (op) == MEM)
|
||||||
return constantpool_address_p (XEXP (op, 0));
|
return constantpool_address_p (XEXP (op, 0));
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Loading…
Reference in New Issue
Block a user