Hi!
On Tue, Jul 10, 2018 at 12:10:51PM -0500, Will Schmidt wrote:
> Add support for Gimple folding for unaligned vector loads and stores.
This is fine if the experts agree. Thanks! And thanks to the reviewers,
too.
One detail:
> * config/rs6000/rs6000.c (rs6000_builtin_valid_without_lhs): Add
> vec_xst variants to the list.
> (rs6000_gimple_fold_builtin): Add support for folding unaligned
> vector loads and stores.
> + case VSX_BUILTIN_STXVW4X_V4SI:
> + case VSX_BUILTIN_STXVD2X_V2DF:
> + case VSX_BUILTIN_STXVD2X_V2DI:
> + {
> + arg0 = gimple_call_arg (stmt, 0); /* Value to be stored. */
Indent here is wrong.
Segher