summaryrefslogtreecommitdiff
path: root/gcc/c-family/c-gimplify.c
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2018-01-02 18:26:35 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2018-01-02 18:26:35 +0000
commitfcd49bc5d9a8b12a8d7be72f905b1e2c937de21e (patch)
tree0a0b3fe9156bf5b9fca9cd0f7f6423bc94766db1 /gcc/c-family/c-gimplify.c
parentd37760c5ddb9b3b1f46bf2109b05b32d93d78b37 (diff)
downloadgcc-fcd49bc5d9a8b12a8d7be72f905b1e2c937de21e.tar.gz
Check whether a vector of QIs can store all indices
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. 2018-01-02 Richard Sandiford <richard.sandiford@linaro.org> gcc/ * optabs-query.c (can_vec_perm_var_p): Check whether lowering to qimode could truncate the indices. * optabs.c (expand_vec_perm_var): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@256094 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-family/c-gimplify.c')
0 files changed, 0 insertions, 0 deletions