Re: [06/13] Check whether a vector of QIs can store all indices

2017-12-12 Thread Richard Biener
On Sun, Dec 10, 2017 at 12:18 AM, Richard Sandiford wrote: > The patch to remove the vec_perm_const optab checked whether replacing > a constant permute with a variable permute is safe, or whether it might > truncate the indices. This patch adds a corresponding check for whether > variable permut

[06/13] Check whether a vector of QIs can store all indices

2017-12-09 Thread Richard Sandiford
The patch to remove the vec_perm_const optab checked whether replacing a constant permute with a variable permute is safe, or whether it might truncate the indices. This patch adds a corresponding check for whether variable permutes can be lowered to QImode-based permutes. 2017-12-09 Richard Sa