aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/VirtualFileSystem.cpp
diff options
context:
space:
mode:
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>2014-06-11 15:48:46 +0000
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>2014-06-11 15:48:46 +0000
commit56a696700083896f6f0534c22200671fbb80b51d (patch)
treefa0ae726c3eaca8e630fcf0eab978f9c6e494421 /clang/lib/Basic/VirtualFileSystem.cpp
parent8bb4c858bc9b82810b69846c3d5a51844a6de0ec (diff)
downloadllvm-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