Re: [PATCH] Refactor tree-vrp.c

2020-05-17 Thread Aldy Hernandez via Gcc-patches
Missed this on the previous patch. The method live_on_edge() no longer needs to be inside the vrp_insert class. I've removed the prototype. Committed to mainline. On Sun, May 17, 2020 at 1:35 PM Aldy Hernandez wrote: > > Funny, I had queued up more or less the same changes on my tree, but > Gi

Re: [PATCH] Refactor tree-vrp.c

2020-05-17 Thread Aldy Hernandez via Gcc-patches
Funny, I had queued up more or less the same changes on my tree, but Giuliano beat me to it. I am committing the attached patch that has been approved by Jeff. I moved a couple more functions into the vrp_insert class, as well as abstract out the liveness bitmap into its own class. I also rename

Re: [PATCH] Refactor tree-vrp.c

2020-05-12 Thread Giuliano Belinassi via Gcc-patches
Hi. On 05/11, Richard Biener wrote: > On Fri, May 8, 2020 at 7:11 PM Jeff Law via Gcc-patches > wrote: > > > > On Fri, 2020-05-08 at 13:06 -0300, Giuliano Belinassi via Gcc-patches wrote: > > > Hi, > > > > > > This patch Refactors tree-vrp.c to eliminate all global variables except > > > 'x_vrp_v

Re: [PATCH] Refactor tree-vrp.c

2020-05-11 Thread Richard Biener via Gcc-patches
On Fri, May 8, 2020 at 7:11 PM Jeff Law via Gcc-patches wrote: > > On Fri, 2020-05-08 at 13:06 -0300, Giuliano Belinassi via Gcc-patches wrote: > > Hi, > > > > This patch Refactors tree-vrp.c to eliminate all global variables except > > 'x_vrp_values', which will require that 'thread_outgoing_edge

Re: [PATCH] Refactor tree-vrp.c

2020-05-08 Thread Jeff Law via Gcc-patches
On Fri, 2020-05-08 at 13:06 -0300, Giuliano Belinassi via Gcc-patches wrote: > Hi, > > This patch Refactors tree-vrp.c to eliminate all global variables except > 'x_vrp_values', which will require that 'thread_outgoing_edges' to > accept an extra argument and pass it to the 'simplify' callback. >

[PATCH] Refactor tree-vrp.c

2020-05-08 Thread Giuliano Belinassi via Gcc-patches
(identify_jump_threads): Same as above. (execute_vrp): Same as above. >From 5a88c2ffef02414ed2c5f98f7808fdd3386f87be Mon Sep 17 00:00:00 2001 From: Giuliano Belinassi Date: Fri, 8 May 2020 11:30:23 -0300 Subject: [PATCH] Refactor tree-vrp.c Refactor tree-vrp.c to eliminate all global