From: Joerg Sonnenberger Date: Sat, 2 Aug 2014 15:07:21 +0000 (+0000) Subject: vcfsx and dss instructions require immediates, variables are not valid. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0dc5f632f66d444c9cb7b62bc7f5dbd4dcf9836d;p=clang vcfsx and dss instructions require immediates, variables are not valid. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@214635 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/builtins-ppc-altivec.c b/test/CodeGen/builtins-ppc-altivec.c index b161426769..50225c224e 100644 --- a/test/CodeGen/builtins-ppc-altivec.c +++ b/test/CodeGen/builtins-ppc-altivec.c @@ -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