Re: Fix profile of forwardes produced by cd-dce

2023-06-26 Thread Richard Biener via Gcc-patches
On Mon, 26 Jun 2023, Jan Hubicka wrote: > Hi, > compiling the testcase from PR109849 (which uses std:vector based stack to > drive a loop) with profile feedbakc leads to profile mismatches introduced by > tree-ssa-dce. This is the new code to produce unified forwarder blocks for > PHIs. > > I am

Fix profile of forwardes produced by cd-dce

2023-06-26 Thread Jan Hubicka via Gcc-patches
Hi, compiling the testcase from PR109849 (which uses std:vector based stack to drive a loop) with profile feedbakc leads to profile mismatches introduced by tree-ssa-dce. This is the new code to produce unified forwarder blocks for PHIs. I am not including the testcase itself since checking it fo