Question about creating clones of ipcp clones

2024-09-11 Thread Prachi Godbole via Gcc
Hi, I am trying to generate out-of-line clones of ipcp clones for an IPA pass that runs after IPA inline, where the new clone has same function body and same updated signature as the ipcp clone. This fails or asserts based on how the clone is created: 1. If param_adjustments and tree_map are n

RE: Optimization for static local variables

2017-06-14 Thread Prachi Godbole
> On Wed, Jun 14, 2017 at 1:14 PM, Prachi Godbole > wrote: > > I'm developing a solution to optimize away intermediate stores (loads) for > static local variables which are assigned to before referenced on every path > through a function. > > > > Currently G

Optimization for static local variables

2017-06-14 Thread Prachi Godbole
I'm developing a solution to optimize away intermediate stores (loads) for static local variables which are assigned to before referenced on every path through a function. Currently GCC eliminates all loads/stores in a straight line code but not in control structures. AFAIU, passes like sccvn,