r210389 - [PPC64LE] Update test for vec_sum2s interface
Bill Schmidt
wschmidt at linux.vnet.ibm.com
Fri Jun 6 18:47:42 PDT 2014
Author: wschmidt
Date: Fri Jun 6 20:47:42 2014
New Revision: 210389
URL: http://llvm.org/viewvc/llvm-project?rev=210389&view=rev
Log:
[PPC64LE] Update test for vec_sum2s interface
Commit r210384 prematurely included changes to the little-endian
implementation of the vec_sum2s interface. This patch modifies
test/CodeGen/builtins-ppc-altivec.c to test those changes.
Modified:
cfe/trunk/test/CodeGen/builtins-ppc-altivec.c
Modified: cfe/trunk/test/CodeGen/builtins-ppc-altivec.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/builtins-ppc-altivec.c?rev=210389&r1=210388&r2=210389&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/builtins-ppc-altivec.c (original)
+++ cfe/trunk/test/CodeGen/builtins-ppc-altivec.c Fri Jun 6 20:47:42 2014
@@ -5142,11 +5142,15 @@ void test6() {
/* vec_sum2s */
res_vi = vec_sum2s(vi, vi);
// CHECK: @llvm.ppc.altivec.vsum2sws
+// CHECK-LE: @llvm.ppc.altivec.vperm
// CHECK-LE: @llvm.ppc.altivec.vsum2sws
+// CHECK-LE: @llvm.ppc.altivec.vperm
res_vi = vec_vsum2sws(vi, vi);
// CHECK: @llvm.ppc.altivec.vsum2sws
+// CHECK-LE: @llvm.ppc.altivec.vperm
// CHECK-LE: @llvm.ppc.altivec.vsum2sws
+// CHECK-LE: @llvm.ppc.altivec.vperm
/* vec_sums */
res_vi = vec_sums(vi, vi);
More information about the cfe-commits
mailing list