optabs.c (expand_vec_perm): Use the correct mode for scaling the selector.
authorRichard Henderson <rth@redhat.com>
Thu, 27 Oct 2011 16:23:25 +0000 (09:23 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 27 Oct 2011 16:23:25 +0000 (09:23 -0700)
commit4cb110fbcb795cd0ad0a45a06f1e2ce9adc1e27f
treec7bd745f092edc17d54898323cc44b8e39f6063b
parented80f8590c13ae01cece8759f2842fcd7410135c
optabs.c (expand_vec_perm): Use the correct mode for scaling the selector.

        * optabs.c (expand_vec_perm): Use the correct mode for scaling the
        selector.  Save the qimode constant selector for later use by the
        qimode vec_perm pattern.

From-SVN: r180567
gcc/ChangeLog
gcc/optabs.c