Move uncprop after modref pass

2021-11-08 Thread Jan Hubicka via Gcc-patches
Hi, this patch moves uncprop after modref and pure/const pass and adds a comment that this pass should alwasy be last since it is only supposed to help PHI lowering. The pass replaces constant by SSA names that are known to be constant at the place which hardly helps other passes. Modref now allo

Re: Move uncprop after modref pass

2021-11-08 Thread Jeff Law via Gcc-patches
On 11/8/2021 11:50 AM, Jan Hubicka via Gcc-patches wrote: Hi, this patch moves uncprop after modref and pure/const pass and adds a comment that this pass should alwasy be last since it is only supposed to help PHI lowering. The pass replaces constant by SSA names that are known to be constant