* config/rs6000/rs6000.c (is_mem_ref): Ignore STACK_TIE.
authorDavid Edelsohn <edelsohn@gnu.org>
Wed, 12 Dec 2007 17:49:29 +0000 (17:49 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Wed, 12 Dec 2007 17:49:29 +0000 (12:49 -0500)
From-SVN: r130791

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index aa00c5d..c4ea18d 100644 (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
index 5d6f985..c730a65 100644 (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;