HomePhabricator

[PowerPC][Altivec] Fix offsets for vec_xl and vec_xst

Authored by nemanjai on Nov 7 2019, 6:58 PM.

Description

[PowerPC][Altivec] Fix offsets for vec_xl and vec_xst

As we currently have it implemented in altivec.h, the offsets for these two
intrinsics are element offsets. The documentation in the ABI (as well as the
implementation in both XL and GCC) states that these should be byte offsets.

Differential revision: https://reviews.llvm.org/D63636