Re: [PATCH V11] : tree-ssa-sink: Improve code sinking pass

2023-11-16 Thread Ajit Agarwal
Hello Richard: On 16/11/23 3:28 pm, Richard Biener wrote: > On Mon, Oct 30, 2023 at 1:10 PM Ajit Agarwal wrote: >> >> Hello Richard: >> >> Currently, code sinking will sink code at the use points with loop having >> same >> nesting depth. The following patch improves code sinking by placing the

Re: [PATCH V11] : tree-ssa-sink: Improve code sinking pass

2023-11-16 Thread Richard Biener
On Mon, Oct 30, 2023 at 1:10 PM Ajit Agarwal wrote: > > Hello Richard: > > Currently, code sinking will sink code at the use points with loop having same > nesting depth. The following patch improves code sinking by placing the sunk > code in immediate dominator with same loop nest depth. > > Revi

[PATCH V11] : tree-ssa-sink: Improve code sinking pass

2023-10-30 Thread Ajit Agarwal
Hello Richard: Currently, code sinking will sink code at the use points with loop having same nesting depth. The following patch improves code sinking by placing the sunk code in immediate dominator with same loop nest depth. Review comments are incorporated. For example : void bar(); int j; vo