Re: [PATCH][GCC][mid-end] Fix DSE big-endian subreg crash

2018-08-20 Thread Jeff Law
On 08/15/2018 06:57 AM, Tamar Christina wrote: > Hi All, > > This patch fixes an ICE that would happen when extract_low_bits > is called with modes for which you can't extract a valid subreg. > e.g. taking a 32 bytes subreg from a 48 byte mode. > > The ICE happens because convert_modes which even

[PATCH][GCC][mid-end] Fix DSE big-endian subreg crash

2018-08-15 Thread Tamar Christina
Hi All, This patch fixes an ICE that would happen when extract_low_bits is called with modes for which you can't extract a valid subreg. e.g. taking a 32 bytes subreg from a 48 byte mode. The ICE happens because convert_modes which eventually calls simplify_gen_subreg does not expect the converti