https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92119
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2019-10-16 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org Target Milestone|--- |10.0 Ever confirmed|0 |1 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Confirmed. #1 0x00000000021a8ad9 in vect_recog_rotate_pattern (stmt_vinfo=0x34753f0, type_out=0x7fffffffd030) at /tmp/trunk/gcc/tree-vect-patterns.c:2202 2202 if (TYPE_PRECISION (TREE_TYPE (lhs)) != 16 (gdb) p lhs $1 = <tree 0x0> (gdb) l 2197 The vectorizer has bswap support, but only if the argument isn't 2198 promoted. */ 2199 lhs = gimple_call_lhs (last_stmt); 2200 oprnd0 = gimple_call_arg (last_stmt, 0); 2201 type = TREE_TYPE (oprnd0); 2202 if (TYPE_PRECISION (TREE_TYPE (lhs)) != 16 2203 || TYPE_PRECISION (type) <= 16 2204 || TREE_CODE (oprnd0) != SSA_NAME 2205 || BITS_PER_UNIT != 8 2206 || !TYPE_UNSIGNED (TREE_TYPE (lhs))) (gdb) p last_stmt $2 = <gimple_call 0x7ffff7fefe10> (gdb) p debug_gimple_stmt (last_stmt) __builtin_bswap16 (_7);