On Thu, Sep 01, 2022 at 04:28:56PM +0800, Kewen.Lin wrote: > tree.def has some note about VIEW_CONVERT_EXPR, it quite matches what Segher > replied. > In my experience, VIEW_CONVERT_EXPR are used a lot for vector type conversion.
It is needed whenever vector types are not compatible otherwise. V4SI <-> V4SF, V4SI <-> V2DI, etc. In such cases you effectively do a bit_cast equivalent. Segher