diff options
author | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | 2014-06-11 15:48:46 +0000 |
---|---|---|
committer | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | 2014-06-11 15:48:46 +0000 |
commit | 56a696700083896f6f0534c22200671fbb80b51d (patch) | |
tree | fa0ae726c3eaca8e630fcf0eab978f9c6e494421 /clang/lib/Basic/VirtualFileSystem.cpp | |
parent | 8bb4c858bc9b82810b69846c3d5a51844a6de0ec (diff) | |
download | llvm-56a696700083896f6f0534c22200671fbb80b51d.zip llvm-56a696700083896f6f0534c22200671fbb80b51d.tar.gz llvm-56a696700083896f6f0534c22200671fbb80b51d.tar.bz2 |
[PPC64LE] Fix vec_sld and vec_vsldoi for little endian
The vec_sld and vec_vsldoi interfaces perform a left-shift on vector
arguments for both big and little endian. However, because they rely
on the vec_perm interface which is endian-dependent, the permutation
vector needs to be reversed for LE to get the proper shift direction.
I've added some extra testing for these interfaces for LE in the
builtins-ppc-altivec.c.
llvm-svn: 210657
Diffstat (limited to 'clang/lib/Basic/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions