Commit 63694bdd by Bob Wilson Committed by Bob Wilson

* config/xtensa/xtensa.c (constantpool_mem_p): Skip over SUBREGs.

From-SVN: r121622
parent b95becfc
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>
* tree-vectorizer.h (vectorizable_function): Add argument type
......
......@@ -449,6 +449,8 @@ constantpool_address_p (rtx addr)
int
constantpool_mem_p (rtx op)
{
if (GET_CODE (op) == SUBREG)
op = SUBREG_REG (op);
if (GET_CODE (op) == MEM)
return constantpool_address_p (XEXP (op, 0));
return FALSE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment