Re: Question about the pass_fre about merging if blocks.

2023-10-21 Thread Richard Biener via Gcc
> Am 21.10.2023 um 16:39 schrieb Hanke Zhang : > > Richard Biener 于2023年10月21日周六 18:23写道: >> >> >> Am 21.10.2023 um 10:58 schrieb Hanke Zhang : >>> >>> Richard Biener 于2023年10月20日周五 23:27写道: >> Am 20.10.2023 um 16:33 schrieb Hanke Zhang : > > Richard

Re: Question about the pass_fre about merging if blocks.

2023-10-21 Thread Hanke Zhang via Gcc
Richard Biener 于2023年10月21日周六 18:23写道: > > > > > Am 21.10.2023 um 10:58 schrieb Hanke Zhang : > > > > Richard Biener 于2023年10月20日周五 23:27写道: > >> > >> > >> > Am 20.10.2023 um 16:33 schrieb Hanke Zhang : > >>> > >>> Richard Biener 于2023年10月20日周五 21:33写道: > > > On Fri, Oct 20, 2023

Re: Question about the pass_fre about merging if blocks.

2023-10-21 Thread Richard Biener via Gcc
> Am 21.10.2023 um 10:58 schrieb Hanke Zhang : > > Richard Biener 于2023年10月20日周五 23:27写道: >> >> >> Am 20.10.2023 um 16:33 schrieb Hanke Zhang : >>> >>> Richard Biener 于2023年10月20日周五 21:33写道: > On Fri, Oct 20, 2023 at 1:48 PM Hanke Zhang via Gcc > wrote: > >

Re: Question about the pass_fre about merging if blocks.

2023-10-21 Thread Hanke Zhang via Gcc
Richard Biener 于2023年10月20日周五 23:27写道: > > > > > Am 20.10.2023 um 16:33 schrieb Hanke Zhang : > > > > Richard Biener 于2023年10月20日周五 21:33写道: > >> > >>> On Fri, Oct 20, 2023 at 1:48 PM Hanke Zhang via Gcc > >>> wrote: > >>> > >>> Hi, I'm trying to make pass_fre work better for me. But I got a >

Re: Question about the pass_fre about merging if blocks.

2023-10-20 Thread Richard Biener via Gcc
> Am 20.10.2023 um 16:33 schrieb Hanke Zhang : > > Richard Biener 于2023年10月20日周五 21:33写道: >> >>> On Fri, Oct 20, 2023 at 1:48 PM Hanke Zhang via Gcc wrote: >>> >>> Hi, I'm trying to make pass_fre work better for me. But I got a >>> problem. Like the code below: >>> >>> int glob; >>> >>>

Re: Question about the pass_fre about merging if blocks.

2023-10-20 Thread Hanke Zhang via Gcc
Richard Biener 于2023年10月20日周五 21:33写道: > > On Fri, Oct 20, 2023 at 1:48 PM Hanke Zhang via Gcc wrote: > > > > Hi, I'm trying to make pass_fre work better for me. But I got a > > problem. Like the code below: > > > > int glob; > > > > void __attribute__((oninline)) > > foo() { > > // do nothing

Re: Question about the pass_fre about merging if blocks.

2023-10-20 Thread Richard Biener via Gcc
On Fri, Oct 20, 2023 at 1:48 PM Hanke Zhang via Gcc wrote: > > Hi, I'm trying to make pass_fre work better for me. But I got a > problem. Like the code below: > > int glob; > > void __attribute__((oninline)) > foo() { > // do nothing meaningful > } > > int main() { > if (glob) { > foo(); >

Question about the pass_fre about merging if blocks.

2023-10-20 Thread Hanke Zhang via Gcc
Hi, I'm trying to make pass_fre work better for me. But I got a problem. Like the code below: int glob; void __attribute__((oninline)) foo() { // do nothing meaningful } int main() { if (glob) { foo(); } else { // do something that won't change glob } if (glob) { foo();