Re: Avoid expicit builtion list in tree-ssa-dce

2024-11-16 Thread Jeff Law
On 11/15/24 7:19 AM, Jan Hubicka wrote: Hi, while working on -fmalloc-dce I noticed that tree-ssa-dce.cc still has an outdated list of builtions that are known to not read memory that can be replaced by query to fnspec and modref. If I get things right, dce does some dead store removal, but o

Avoid expicit builtion list in tree-ssa-dce

2024-11-15 Thread Jan Hubicka
Hi, while working on -fmalloc-dce I noticed that tree-ssa-dce.cc still has an outdated list of builtions that are known to not read memory that can be replaced by query to fnspec and modref. If I get things right, dce does some dead store removal, but only on those memory object that are non-alias