Commit 2cefad90 by Bill Schmidt Committed by William Schmidt

gimple-ssa-strength-reduction.c (slsr_process_phi): Disable.

gcc:

2013-05-03  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	* gimple-ssa-strength-reduction.c (slsr_process_phi): Disable.
	(find_candidates_in_block): Disable slsr_process_phi.

gcc/testsuite:

2013-05-03  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	* gcc.dg/tree-ssa/slsr-32.c: Skip test for now.
	* gcc.dg/tree-ssa/slsr-33.c: Likewise.
	* gcc.dg/tree-ssa/slsr-34.c: Likewise.
	* gcc.dg/tree-ssa/slsr-35.c: Likewise.
	* gcc.dg/tree-ssa/slsr-36.c: Likewise.
	* gcc.dg/tree-ssa/slsr-37.c: Likewise.
	* gcc.dg/tree-ssa/slsr-38.c: Likewise.

From-SVN: r198592
parent d6d7eee1
2013-05-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
* gimple-ssa-strength-reduction.c (slsr_process_phi): Disable.
(find_candidates_in_block): Disable slsr_process_phi.
2013-05-03 Guozhi Wei <carrot@google.com> 2013-05-03 Guozhi Wei <carrot@google.com>
* coverage.c (coverage_obj_init): Move the construction of gcov * coverage.c (coverage_obj_init): Move the construction of gcov
......
...@@ -657,6 +657,9 @@ add_cand_for_stmt (gimple gs, slsr_cand_t c) ...@@ -657,6 +657,9 @@ add_cand_for_stmt (gimple gs, slsr_cand_t c)
*slot = c; *slot = c;
} }
// FORNOW: Disable conditional candidate processing until bootstrap
// issue can be sorted out for i686-pc-linux-gnu.
#if 0
/* Given PHI which contains a phi statement, determine whether it /* Given PHI which contains a phi statement, determine whether it
satisfies all the requirements of a phi candidate. If so, create satisfies all the requirements of a phi candidate. If so, create
a candidate. Note that a CAND_PHI never has a basis itself, but a candidate. Note that a CAND_PHI never has a basis itself, but
...@@ -747,6 +750,7 @@ slsr_process_phi (gimple phi, bool speed) ...@@ -747,6 +750,7 @@ slsr_process_phi (gimple phi, bool speed)
/* Add the candidate to the statement-candidate mapping. */ /* Add the candidate to the statement-candidate mapping. */
add_cand_for_stmt (phi, c); add_cand_for_stmt (phi, c);
} }
#endif
/* Look for the following pattern: /* Look for the following pattern:
...@@ -1519,8 +1523,12 @@ find_candidates_in_block (struct dom_walk_data *walk_data ATTRIBUTE_UNUSED, ...@@ -1519,8 +1523,12 @@ find_candidates_in_block (struct dom_walk_data *walk_data ATTRIBUTE_UNUSED,
bool speed = optimize_bb_for_speed_p (bb); bool speed = optimize_bb_for_speed_p (bb);
gimple_stmt_iterator gsi; gimple_stmt_iterator gsi;
// FORNOW: Disable conditional candidate processing until bootstrap
// issue can be sorted out for i686-pc-linux-gnu.
#if 0
for (gsi = gsi_start_phis (bb); !gsi_end_p (gsi); gsi_next (&gsi)) for (gsi = gsi_start_phis (bb); !gsi_end_p (gsi); gsi_next (&gsi))
slsr_process_phi (gsi_stmt (gsi), speed); slsr_process_phi (gsi_stmt (gsi), speed);
#endif
for (gsi = gsi_start_bb (bb); !gsi_end_p (gsi); gsi_next (&gsi)) for (gsi = gsi_start_bb (bb); !gsi_end_p (gsi); gsi_next (&gsi))
{ {
......
2013-05-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
* gcc.dg/tree-ssa/slsr-32.c: Skip test for now.
* gcc.dg/tree-ssa/slsr-33.c: Likewise.
* gcc.dg/tree-ssa/slsr-34.c: Likewise.
* gcc.dg/tree-ssa/slsr-35.c: Likewise.
* gcc.dg/tree-ssa/slsr-36.c: Likewise.
* gcc.dg/tree-ssa/slsr-37.c: Likewise.
* gcc.dg/tree-ssa/slsr-38.c: Likewise.
2013-05-03 Dominique d'Humieres <dominiq@lps.ens.fr> 2013-05-03 Dominique d'Humieres <dominiq@lps.ens.fr>
p
* gcc.target/i386/sse2-init-v2di-2.c: Remove "\\" from * gcc.target/i386/sse2-init-v2di-2.c: Remove "\\" from
scan-assembler-times. scan-assembler-times.
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-O3 -fdump-tree-optimized" } */ /* { dg-options "-O3 -fdump-tree-optimized" } */
/* { dg-skip-if "" { *-*-* } } */
int int
f (int s, int c, int i) f (int s, int c, int i)
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-O3 -fdump-tree-optimized" } */ /* { dg-options "-O3 -fdump-tree-optimized" } */
/* { dg-skip-if "" { *-*-* } } */
int int
f (int c, int i) f (int c, int i)
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-O3 -fdump-tree-optimized" } */ /* { dg-options "-O3 -fdump-tree-optimized" } */
/* { dg-skip-if "" { *-*-* } } */
extern void extern void
g (void); g (void);
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-O3 -fdump-tree-optimized" } */ /* { dg-options "-O3 -fdump-tree-optimized" } */
/* { dg-skip-if "" { *-*-* } } */
int int
f (int c, int i) f (int c, int i)
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-O3 -fdump-tree-optimized" } */ /* { dg-options "-O3 -fdump-tree-optimized" } */
/* { dg-skip-if "" { *-*-* } } */
int int
f (int s, int c, int i) f (int s, int c, int i)
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-O3 -fdump-tree-optimized" } */ /* { dg-options "-O3 -fdump-tree-optimized" } */
/* { dg-skip-if "" { *-*-* } } */
int int
f (int s, int c, int i) f (int s, int c, int i)
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-O3 -fdump-tree-optimized" } */ /* { dg-options "-O3 -fdump-tree-optimized" } */
/* { dg-skip-if "" { *-*-* } } */
int int
f (int c, int i) f (int c, int i)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment