diff options
author | Martin Jambor <mjambor@suse.cz> | 2017-08-14 14:33:54 +0000 |
---|---|---|
committer | Martin Jambor <mjambor@suse.cz> | 2017-08-14 14:33:54 +0000 |
commit | ae281588ac673801c2890f4679a211d24e4f8e01 (patch) | |
tree | ffda4ecce65bb72e54a07d8ed2c09288fa207b43 /gcc/optabs.c | |
parent | 7e05bab54f745defb749670b8c84eaf513c0b214 (diff) |
Merged trunk revision 251080 into the hsa branchhsa
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/hsa@251093 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/optabs.c')
-rw-r--r-- | gcc/optabs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/optabs.c b/gcc/optabs.c index 9258e5f888b..a9900657a58 100644 --- a/gcc/optabs.c +++ b/gcc/optabs.c @@ -386,7 +386,8 @@ expand_vector_broadcast (machine_mode vmode, rtx op) /* ??? If the target doesn't have a vec_init, then we have no easy way of performing this operation. Most of this sort of generic support is hidden away in the vector lowering support in gimple. */ - icode = optab_handler (vec_init_optab, vmode); + icode = convert_optab_handler (vec_init_optab, vmode, + GET_MODE_INNER (vmode)); if (icode == CODE_FOR_nothing) return NULL; |