Re: Avoiding truncate/sign-extend of POImode on ppc target

2020-09-02 Thread Aaron Sawdey via Gcc
Meant to CC a few people, oops. Aaron Sawdey, Ph.D. saw...@linux.ibm.com IBM Linux on POWER Toolchain > On Sep 2, 2020, at 9:22 AM, Aaron Sawdey via Gcc wrote: > > > PR96791 is happening because DSE is trying to truncate a > POImode reg down to DImode. The POImode is created by a > structure

Avoiding truncate/sign-extend of POImode on ppc target

2020-09-02 Thread Aaron Sawdey via Gcc
PR96791 is happening because DSE is trying to truncate a POImode reg down to DImode. The POImode is created by a structure copy that gets inline expanded using lxvp/stxvp which we have defined using POImode. DSE recognizes that a following load overlaps with the stxvp and can be satisfied by a tr