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 | a04f51fdfec64bd6ea1679832a1a75c8d3ecc68a (patch) | |
| tree | acdb095e13df7b95cea80c297a568e74bea2a9cf /lib/Basic/FileSystemStatCache.cpp | |
| parent | c9ec1c267c72ecb1ef787bde6d420b20742fcdfc (diff) | |
| download | clang-a04f51fdfec64bd6ea1679832a1a75c8d3ecc68a.tar.gz clang-a04f51fdfec64bd6ea1679832a1a75c8d3ecc68a.tar.bz2 clang-a04f51fdfec64bd6ea1679832a1a75c8d3ecc68a.tar.xz | |
[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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210657 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/FileSystemStatCache.cpp')
0 files changed, 0 insertions, 0 deletions
