Hi! On Wed, Feb 24, 2021 at 09:06:24AM +0800, Xionghu Luo wrote: > vec_insert defines the element argument type to be signed int by ELFv2 > ABI, When expanding a vector with a variable rtx, convert the rtx type > SImode.
But that is true for the intrinsics, not for all other callers of rs6000_expand_vector_init. See <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98914#c2> as well? So I don't think you do this in the right place. You can convince me with good arguments of course :-) Segher