* config/rs6000/rs6000.c (is_mem_ref): Ignore STACK_TIE.

From-SVN: r130791
This commit is contained in:
David Edelsohn 2007-12-12 17:49:29 +00:00 committed by David Edelsohn
parent 4caa08daa3
commit 1de59bbd61
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2007-12-12 David Edelsohn <edelsohn@gnu.org>
* config/rs6000/rs6000.c (is_mem_ref): Ignore STACK_TIE.
2007-12-12 Aldy Hernandez <aldyh@redhat.com>
PR tree-optimization/32901

View File

@ -18383,6 +18383,11 @@ is_mem_ref (rtx pat)
int i, j;
bool ret = false;
/* stack_tie does not produce any real memory traffic. */
if (GET_CODE (pat) == UNSPEC
&& XINT (pat, 1) == UNSPEC_TIE)
return false;
if (GET_CODE (pat) == MEM)
return true;