]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* 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 aa00c5d9b4377deea353eb20f69f586a15a68ea5..c4ea18dd6b58b1aa9c0c599fc12f54e41f06c141 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 5d6f9852c643ca2a40e43e4b00ee6e3348540532..c730a65fc29e39f7fae6f58a03363a39156da54d 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;