Re: [PATCH] Do not apply store motion on loop with no exits.

2025-04-28 Thread Richard Biener via Gcc
On Fri, Apr 25, 2025 at 2:31 PM ywgrit via Gcc wrote: > > I encountered one problem with loop-im pass. > I compiled the program dhry2reg which belongs to unixbench( > https://github.com/kdlucas/byte-unixbench). > > The gcc used > gcc (GCC) 12.3.0 > > The commands executed as following > make > ./R

Re: [PATCH] Do not apply store motion on loop with no exits.

2025-04-25 Thread ywgrit via Gcc
I encountered one problem with loop-im pass. I compiled the program dhry2reg which belongs to unixbench( https://github.com/kdlucas/byte-unixbench). The gcc used gcc (GCC) 12.3.0 The commands executed as following make ./Run -c -i 1 dhry2reg The results are shown below. Dhrystone 2 using registe