summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/builtins-ppc-quadword.c
diff options
context:
space:
mode:
authorEhsan Amiri <amehsan@ca.ibm.com>2016-11-23 16:56:03 +0000
committerEhsan Amiri <amehsan@ca.ibm.com>2016-11-23 16:56:03 +0000
commitac10595b0ddc1bab84ec22fd3354720e1a865594 (patch)
tree2ef302fcff2fd8b0b50048c5a70b4e22abc78271 /clang/test/CodeGen/builtins-ppc-quadword.c
parentc01ee7505a6909f477c95198f1d9d45339087944 (diff)
downloadbcm5719-llvm-ac10595b0ddc1bab84ec22fd3354720e1a865594.tar.gz
bcm5719-llvm-ac10595b0ddc1bab84ec22fd3354720e1a865594.zip
[PPC] Reverting r287772
Due to buildbot failure, I revert. Will recommit after investigation. llvm-svn: 287775
Diffstat (limited to 'clang/test/CodeGen/builtins-ppc-quadword.c')
-rw-r--r--clang/test/CodeGen/builtins-ppc-quadword.c33
1 files changed, 1 insertions, 32 deletions
diff --git a/clang/test/CodeGen/builtins-ppc-quadword.c b/clang/test/CodeGen/builtins-ppc-quadword.c
index 3e168c8b1be..cae1737b6e4 100644
--- a/clang/test/CodeGen/builtins-ppc-quadword.c
+++ b/clang/test/CodeGen/builtins-ppc-quadword.c
@@ -125,32 +125,11 @@ void test1() {
// CHECK-LE: @llvm.ppc.altivec.vsubeuqm
// CHECK-PPC: error: assigning to '__vector __int128' (vector of 1 '__int128' value) from incompatible type 'int'
- /* vec_sube */
- res_vlll = vec_sube(vlll, vlll, vlll);
-// CHECK: @llvm.ppc.altivec.vsubeuqm
-// CHECK-LE: @llvm.ppc.altivec.vsubeuqm
-// CHECK-PPC: error: call to 'vec_sube' is ambiguous
-
- res_vulll = vec_sube(vulll, vulll, vulll);
-// CHECK: @llvm.ppc.altivec.vsubeuqm
-// CHECK-LE: @llvm.ppc.altivec.vsubeuqm
-// CHECK-PPC: error: call to 'vec_sube' is ambiguous
-
- res_vlll = vec_sube(vlll, vlll, vlll);
-// CHECK: @llvm.ppc.altivec.vsubeuqm
-// CHECK-LE: @llvm.ppc.altivec.vsubeuqm
-// CHECK-PPC: error: call to 'vec_sube' is ambiguous
-
res_vulll = vec_vsubeuqm(vulll, vulll, vulll);
// CHECK: @llvm.ppc.altivec.vsubeuqm
// CHECK-LE: @llvm.ppc.altivec.vsubeuqm
// CHECK-PPC: error: assigning to '__vector unsigned __int128' (vector of 1 'unsigned __int128' value) from incompatible type 'int'
- res_vulll = vec_sube(vulll, vulll, vulll);
-// CHECK: @llvm.ppc.altivec.vsubeuqm
-// CHECK-LE: @llvm.ppc.altivec.vsubeuqm
-// CHECK-PPC: error: call to 'vec_sube' is ambiguous
-
/* vec_subc */
res_vlll = vec_subc(vlll, vlll);
// CHECK: @llvm.ppc.altivec.vsubcuq
@@ -177,19 +156,9 @@ void test1() {
res_vlll = vec_vsubecuq(vlll, vlll, vlll);
// CHECK: @llvm.ppc.altivec.vsubecuq
// CHECK-LE: @llvm.ppc.altivec.vsubecuq
-// CHECK-PPC: error: assigning to '__vector __int128' (vector of 1 '__int128' value) from incompatible type 'int'
-
- res_vulll = vec_vsubecuq(vulll, vulll, vulll);
-// CHECK: @llvm.ppc.altivec.vsubecuq
-// CHECK-LE: @llvm.ppc.altivec.vsubecuq
-// CHECK-PPC: error: assigning to '__vector unsigned __int128' (vector of 1 'unsigned __int128' value) from incompatible type 'int'
-
- res_vlll = vec_subec(vlll, vlll, vlll);
-// CHECK: @llvm.ppc.altivec.vsubecuq
-// CHECK-LE: @llvm.ppc.altivec.vsubecuq
// CHECK-PPC: error: assigning to '__vector __int128' (vector of 1 '__int128' value) from incompatible type 'int'
- res_vulll = vec_subec(vulll, vulll, vulll);
+ res_vulll = vec_vsubecuq(vulll, vulll, vulll);
// CHECK: @llvm.ppc.altivec.vsubecuq
// CHECK-LE: @llvm.ppc.altivec.vsubecuq
// CHECK-PPC: error: assigning to '__vector unsigned __int128' (vector of 1 'unsigned __int128' value) from incompatible type 'int'
OpenPOWER on IntegriCloud