Re: [PATCH v2 3/4] Rename loop_version to clone_loop_to_header_edge.

2021-11-03 Thread Richard Biener via Gcc-patches
On Wed, 27 Oct 2021, Xionghu Luo wrote: > Name loop_copy is used in gcc/cfg.c already. But it's not actually cloning the loop to the header edge but doing more - adding a condition and re-wiring edges so the cloned loop is no longer on the header edge. So no, I don't think this is good to go.

[PATCH v2 3/4] Rename loop_version to clone_loop_to_header_edge.

2021-10-27 Thread Xionghu Luo via Gcc-patches
Name loop_copy is used in gcc/cfg.c already. gcc/ChangeLog: * cfgloopmanip.c (force_single_succ_latches): Rename loop_version to clone_loop_to_header_edge. (lv_adjust_loop_entry_edge): Likewise. (loop_version): Likewise. (clone_loop_to_header_edge):