Re: Handle VIEW_CONVERT_EXPR for variable-length vectors

2019-11-17 Thread Jeff Law
On 11/16/19 6:38 AM, Richard Sandiford wrote: > This patch handles VIEW_CONVERT_EXPRs of variable-length VECTOR_CSTs > by adding tree-level versions of native_decode_vector_rtx and > simplify_const_vector_subreg. It uses the same code for fixed-length > vectors, both to get more coverage and becau

Handle VIEW_CONVERT_EXPR for variable-length vectors

2019-11-16 Thread Richard Sandiford
This patch handles VIEW_CONVERT_EXPRs of variable-length VECTOR_CSTs by adding tree-level versions of native_decode_vector_rtx and simplify_const_vector_subreg. It uses the same code for fixed-length vectors, both to get more coverage and because operating directly on the compressed encoding shoul