On December 7, 2015 5:42:02 PM GMT+01:00, Eric Botcazou <ebotca...@adacore.com> wrote: >> Ok. Although thinking about your comment in the PR about not making >such >> vectors gimple registers I wonder what the effects of that would be. > >First of all it's a bit painful to do because is_gimple_reg_type is >defined >inline in gimple-expr.h and adding TYPE_MODE in there causes a >compilation >failure for a bunch of files. More seriously, this can probably be >seen as a >real layering violation so I'm not sure this would be a progress.
Yeah, it would also have quite some impact on optimization. Note that if only specific decls are involved they can be made non-registers via DECL_GIMPLE_REG_P. Richard.