Re: [11/23] Split update_cfg_for_uncondjump out of combine

2020-11-29 Thread Jeff Law via Gcc-patches
On 11/13/20 1:16 AM, Richard Sandiford via Gcc-patches wrote: > Later patches want to reuse combine's update_cfg_for_uncondjump, > so this patch makes it a public cfgrtl.c function. > > gcc/ > * cfgrtl.h (update_cfg_for_uncondjump): Declare. > * combine.c (update_cfg_for_uncondjump):

[11/23] Split update_cfg_for_uncondjump out of combine

2020-11-13 Thread Richard Sandiford via Gcc-patches
Later patches want to reuse combine's update_cfg_for_uncondjump, so this patch makes it a public cfgrtl.c function. gcc/ * cfgrtl.h (update_cfg_for_uncondjump): Declare. * combine.c (update_cfg_for_uncondjump): Move to... * cfgrtl.c: ...here. --- gcc/cfgrtl.c | 47 +++