Re: [RFC, doloop] How to deal with invariants introduced by doloop

2020-04-21 Thread Kewen.Lin via Gcc
on 2020/4/21 下午5:43, Richard Biener wrote: > On Tue, Apr 21, 2020 at 10:42 AM Kewen.Lin wrote: >> >> on 2020/4/17 下午7:32, Richard Biener wrote: >>> On Fri, Apr 17, 2020 at 1:10 PM Kewen.Lin via Gcc wrote: Hi all, This is one question origining from PR61837, which shows that

Re: [RFC, doloop] How to deal with invariants introduced by doloop

2020-04-21 Thread Richard Biener via Gcc
On Tue, Apr 21, 2020 at 10:42 AM Kewen.Lin wrote: > > on 2020/4/17 下午7:32, Richard Biener wrote: > > On Fri, Apr 17, 2020 at 1:10 PM Kewen.Lin via Gcc wrote: > >> > >> Hi all, > >> > >> This is one question origining from PR61837, which shows that doloop > >> pass could introduce some loop

Re: [RFC, doloop] How to deal with invariants introduced by doloop

2020-04-21 Thread Kewen.Lin via Gcc
on 2020/4/17 下午7:32, Richard Biener wrote: > On Fri, Apr 17, 2020 at 1:10 PM Kewen.Lin via Gcc wrote: >> >> Hi all, >> >> This is one question origining from PR61837, which shows that doloop >> pass could introduce some loop invariants against its outer loop when >> doloop performs and prepares

Re: [RFC, doloop] How to deal with invariants introduced by doloop

2020-04-17 Thread Richard Biener via Gcc
On Fri, Apr 17, 2020 at 1:10 PM Kewen.Lin via Gcc wrote: > > Hi all, > > This is one question origining from PR61837, which shows that doloop > pass could introduce some loop invariants against its outer loop when > doloop performs and prepares the iteration count for hardware > count register

[RFC, doloop] How to deal with invariants introduced by doloop

2020-04-17 Thread Kewen.Lin via Gcc
Hi all, This is one question origining from PR61837, which shows that doloop pass could introduce some loop invariants against its outer loop when doloop performs and prepares the iteration count for hardware count register assignment. Even with Xionghu's simplification patch