r214635 - vcfsx and dss instructions require immediates, variables are not valid.
Joerg Sonnenberger
joerg at bec.de
Sat Aug 2 08:07:21 PDT 2014
Author: joerg
Date: Sat Aug 2 10:07:21 2014
New Revision: 214635
URL: http://llvm.org/viewvc/llvm-project?rev=214635&view=rev
Log:
vcfsx and dss instructions require immediates, variables are not valid.
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=214635&r1=214634&r2=214635&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/builtins-ppc-altivec.c (original)
+++ cfe/trunk/test/CodeGen/builtins-ppc-altivec.c Sat Aug 2 10:07:21 2014
@@ -1047,7 +1047,7 @@ void test6() {
// CHECK-LE: @llvm.ppc.altivec.vcmpgtfp
/* vec_ctf */
- res_vf = vec_ctf(vi, param_i);
+ res_vf = vec_ctf(vi, 0);
// CHECK: @llvm.ppc.altivec.vcfsx
// CHECK-LE: @llvm.ppc.altivec.vcfsx
@@ -1082,7 +1082,7 @@ void test6() {
// CHECK-LE: @llvm.ppc.altivec.vctuxs
/* vec_dss */
- vec_dss(param_i);
+ vec_dss(0);
// CHECK: @llvm.ppc.altivec.dss
// CHECK-LE: @llvm.ppc.altivec.dss
More information about the cfe-commits
mailing list