Re: Fix type mismatch in SLPed constructors

2020-01-13 Thread Richard Biener
On Fri, Jan 10, 2020 at 4:04 PM Richard Sandiford wrote: > > Having the "same" vector types with different modes means that we can > end up vectorising a constructor with a different mode from the lhs. > This patch adds a VIEW_CONVERT_EXPR in that case. > > This showed up on existing tests when te

Fix type mismatch in SLPed constructors

2020-01-10 Thread Richard Sandiford
Having the "same" vector types with different modes means that we can end up vectorising a constructor with a different mode from the lhs. This patch adds a VIEW_CONVERT_EXPR in that case. This showed up on existing tests when testing with fixed-length -msve-vector-bits=128. Tested on aarch64-lin