summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/builtins-ppc-altivec.c
diff options
context:
space:
mode:
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>2014-08-04 23:21:01 +0000
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>2014-08-04 23:21:01 +0000
commitf04e998e00d6c71241c29b86c2fadfe0d1601e64 (patch)
tree6800ea33eb36cccc93a9e89db49c7ae5e9065bc2 /clang/test/CodeGen/builtins-ppc-altivec.c
parente3c13468bf0371ef5f270bd74e3388e4cd1b6574 (diff)
downloadbcm5719-llvm-f04e998e00d6c71241c29b86c2fadfe0d1601e64.tar.gz
bcm5719-llvm-f04e998e00d6c71241c29b86c2fadfe0d1601e64.zip
[PPC64LE] Fix wrong IR for vec_sld and vec_vsldoi
My original LE implementation of the vsldoi instruction, with its altivec.h interfaces vec_sld and vec_vsldoi, produces incorrect shufflevector operations in the LLVM IR. Correct code is generated because the back end handles the incorrect shufflevector in a consistent manner. This patch and a companion patch for Clang correct this problem by removing the fixup from altivec.h and the corresponding fixup from the PowerPC back end. Several test cases are also modified to reflect the now-correct LLVM IR. llvm-svn: 214800
Diffstat (limited to 'clang/test/CodeGen/builtins-ppc-altivec.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud