public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] xfail ira-shrink-wrap-prep tests (PR87708)
@ 2018-10-30 19:04 Segher Boessenkool
  2018-10-30 19:08 ` Jeff Law
  0 siblings, 1 reply; 2+ messages in thread
From: Segher Boessenkool @ 2018-10-30 19:04 UTC (permalink / raw)
  To: gcc-patches; +Cc: Segher Boessenkool

After r265398, the ira-shrinkwrap-prep-[12].c tests fail on all
targets, because the IRA feature tested can only move hard registers
down, and we no longer have hard registers for the function parameters
at this stage.

Is this okay for trunk?


2018-10-30  Segher Boessenkool  <segher@kernel.crashing.org>

gcc/testsuite/
	PR rtl-optimization/87708
	gcc.dg/ira-shrinkwrap-prep-1.c: xfail test.
	gcc.dg/ira-shrinkwrap-prep-2.c: xfail test.

---
 gcc/testsuite/gcc.dg/ira-shrinkwrap-prep-1.c | 6 +++---
 gcc/testsuite/gcc.dg/ira-shrinkwrap-prep-2.c | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/gcc/testsuite/gcc.dg/ira-shrinkwrap-prep-1.c b/gcc/testsuite/gcc.dg/ira-shrinkwrap-prep-1.c
index 24ea45f..f290b9c 100644
--- a/gcc/testsuite/gcc.dg/ira-shrinkwrap-prep-1.c
+++ b/gcc/testsuite/gcc.dg/ira-shrinkwrap-prep-1.c
@@ -24,6 +24,6 @@ bar (long a)
   return r;
 }
 
-/* { dg-final { scan-rtl-dump "Will split live ranges of parameters" "ira"  } } */
-/* { dg-final { scan-rtl-dump "Split live-range of register" "ira"  } } */
-/* { dg-final { scan-rtl-dump "Performing shrink-wrapping" "pro_and_epilogue"  } } */
+/* { dg-final { scan-rtl-dump "Will split live ranges of parameters" "ira" } } */
+/* { dg-final { scan-rtl-dump "Split live-range of register" "ira" { xfail *-*-* } } } */
+/* { dg-final { scan-rtl-dump "Performing shrink-wrapping" "pro_and_epilogue" { xfail powerpc*-*-* } } } */
diff --git a/gcc/testsuite/gcc.dg/ira-shrinkwrap-prep-2.c b/gcc/testsuite/gcc.dg/ira-shrinkwrap-prep-2.c
index a23ac4e..6212c95 100644
--- a/gcc/testsuite/gcc.dg/ira-shrinkwrap-prep-2.c
+++ b/gcc/testsuite/gcc.dg/ira-shrinkwrap-prep-2.c
@@ -29,7 +29,7 @@ bar (long a)
   return r;
 }
 
-/* { dg-final { scan-rtl-dump "Will split live ranges of parameters" "ira"  } } */
-/* { dg-final { scan-rtl-dump "Split live-range of register" "ira"  } } */
+/* { dg-final { scan-rtl-dump "Will split live ranges of parameters" "ira" } } */
+/* { dg-final { scan-rtl-dump "Split live-range of register" "ira" { xfail *-*-* } } } */
 /* XFAIL due to PR70681.  */ 
 /* { dg-final { scan-rtl-dump "Performing shrink-wrapping" "pro_and_epilogue" { xfail arm*-*-* powerpc*-*-* } } } */
-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] xfail ira-shrink-wrap-prep tests (PR87708)
  2018-10-30 19:04 [PATCH] xfail ira-shrink-wrap-prep tests (PR87708) Segher Boessenkool
@ 2018-10-30 19:08 ` Jeff Law
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Law @ 2018-10-30 19:08 UTC (permalink / raw)
  To: Segher Boessenkool, gcc-patches

On 10/30/18 11:59 AM, Segher Boessenkool wrote:
> After r265398, the ira-shrinkwrap-prep-[12].c tests fail on all
> targets, because the IRA feature tested can only move hard registers
> down, and we no longer have hard registers for the function parameters
> at this stage.
> 
> Is this okay for trunk?
> 
> 
> 2018-10-30  Segher Boessenkool  <segher@kernel.crashing.org>
> 
> gcc/testsuite/
> 	PR rtl-optimization/87708
> 	gcc.dg/ira-shrinkwrap-prep-1.c: xfail test.
> 	gcc.dg/ira-shrinkwrap-prep-2.c: xfail test.
OK
jeff

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-10-30 18:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-30 19:04 [PATCH] xfail ira-shrink-wrap-prep tests (PR87708) Segher Boessenkool
2018-10-30 19:08 ` Jeff Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).