On Fri, Feb 28, 2025 at 11:47:44AM +0100, Richard Biener wrote:
> The following disables redundant store elimination to hard register
> variables which isn't valid.
> 
> Bootstrapped and tested on x86_64-unknown-linux-gnu, OK?
> 
> Thanks,
> Richard.
> 
>       PR tree-optimization/87984
>       * tree-ssa-dom.cc (dom_opt_dom_walker::optimize_stmt): Do
>       not perform redundant store elimination to hard register
>       variables.
>       * tree-ssa-sccvn.cc (eliminate_dom_walker::eliminate_stmt):
>       Likewise.
> 
>       * gcc.target/i386/pr87984.c: New testcase.

LGTM.

        Jakub

Reply via email to