diff mbox

[15/89] tree-ssa-loop-manip.c: use gimple_phi in three places

Message ID 1398099480-49147-16-git-send-email-dmalcolm@redhat.com
State New
Headers show

Commit Message

David Malcolm April 21, 2014, 4:56 p.m. UTC
gcc/
	* tree-ssa-loop-manip.c (add_exit_phi): Convert local "phi" to be a
	gimple_phi.
	(split_loop_exit_edge): Likewise for "phi" and "new_phi".
---
 gcc/tree-ssa-loop-manip.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Jeff Law May 9, 2014, 6:32 p.m. UTC | #1
On 04/21/14 10:56, David Malcolm wrote:
> gcc/
> 	* tree-ssa-loop-manip.c (add_exit_phi): Convert local "phi" to be a
> 	gimple_phi.
> 	(split_loop_exit_edge): Likewise for "phi" and "new_phi".
OK when prerequisites have gone in.
jeff
diff mbox

Patch

diff --git a/gcc/tree-ssa-loop-manip.c b/gcc/tree-ssa-loop-manip.c
index 5b78ca4..dbcc4ce 100644
--- a/gcc/tree-ssa-loop-manip.c
+++ b/gcc/tree-ssa-loop-manip.c
@@ -276,7 +276,7 @@  compute_live_loop_exits (bitmap live_exits, bitmap use_blocks,
 static void
 add_exit_phi (basic_block exit, tree var)
 {
-  gimple phi;
+  gimple_phi phi;
   edge e;
   edge_iterator ei;
 
@@ -627,7 +627,7 @@  split_loop_exit_edge (edge exit)
 {
   basic_block dest = exit->dest;
   basic_block bb = split_edge (exit);
-  gimple phi, new_phi;
+  gimple_phi phi, new_phi;
   tree new_name, name;
   use_operand_p op_p;
   gimple_phi_iterator psi;