https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118950
Robin Dapp <rdapp at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu.org
--- Comment #6 from Robin Dapp <rdapp at gcc dot gnu.org> ---
Richi, is something like the following OK to get the original LHS? I'm not
really convinced.
stmt_vec_info pattern_stmt_info = STMT_VINFO_RELATED_STMT (stmt_info);
if (!STMT_VINFO_IN_PATTERN_P (stmt_info)
&& pattern_stmt_info
&& gimple_get_lhs (pattern_stmt_info->stmt))
scalar_type = TREE_TYPE (gimple_get_lhs (pattern_stmt_info->stmt));
I just wonder why this didn't surface with the first masked-load else operand
test. That was also a masked gather with a bool type.