Re: [PATCH, GCC] Fix PR77673: bswap loads passed end of object

2016-11-24 Thread Richard Biener
On Wed, 23 Nov 2016, Thomas Preudhomme wrote: > Hi, > > In its current form, when the bswap optimization pass recognizes a load in a > specific endianness it assumes that all smaller loads in the original > expression are part of a linear chain of basic block (ie they are either in > the same

[PATCH, GCC] Fix PR77673: bswap loads passed end of object

2016-11-23 Thread Thomas Preudhomme
Hi, In its current form, when the bswap optimization pass recognizes a load in a specific endianness it assumes that all smaller loads in the original expression are part of a linear chain of basic block (ie they are either in the same basic block or there is no conditional branching in the