summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema
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/Sema
parent8bb4c858bc9b82810b69846c3d5a51844a6de0ec (diff)
downloadbcm5719-llvm-56a696700083896f6f0534c22200671fbb80b51d.tar.gz
bcm5719-llvm-56a696700083896f6f0534c22200671fbb80b51d.zip
[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/Sema')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud