diff mbox series

xfail ira-shrink-wrap-prep tests (PR87708)

Message ID f4d82ccbda575cd3d0daf61568b26e4088f563a6.1540921221.git.segher@kernel.crashing.org
State New
Headers show
Series xfail ira-shrink-wrap-prep tests (PR87708) | expand

Commit Message

Segher Boessenkool Oct. 30, 2018, 5:59 p.m. UTC
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(-)

Comments

Jeff Law Oct. 30, 2018, 6:58 p.m. UTC | #1
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
diff mbox series

Patch

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*-*-* } } } */