https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92515

--- Comment #2 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> 
---
Author: rsandifo
Date: Fri Nov 15 12:57:47 2019
New Revision: 278292

URL: https://gcc.gnu.org/viewcvs?rev=278292&root=gcc&view=rev
Log:
[rs6000] Use VIEW_CONVERT_EXPR to reinterpret vectors (PR 92515)

The new tree-cfg.c checking in r278245 tripped on folds of
ALTIVEC_BUILTIN_VPERM_*, which were using gimple_convert
rather than VIEW_CONVERT_EXPR to reinterpret the contents
of a vector as a different type.

2019-11-15  Richard Sandiford  <richard.sandif...@arm.com>

gcc/
        PR target/92515
        * config/rs6000/rs6000-call.c (rs6000_gimple_fold_builtin): Use
        VIEW_CONVERT_EXPR to reinterpret vectors as different types.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/rs6000-call.c

Reply via email to