From: Jingyue Wu Date: Sun, 28 Jun 2015 18:30:36 +0000 (+0000) Subject: [PPC] fixes typos in builtins-ppc-p8vector.c X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f1b2ae620f65c5ef47fc095d3de9cb5c9695b22a;p=clang [PPC] fixes typos in builtins-ppc-p8vector.c The extra ] causes %{{[0-9]]*}} to match only % such as %1. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@240912 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/builtins-ppc-p8vector.c b/test/CodeGen/builtins-ppc-p8vector.c index 0c6bafad3d..e4964a8ebf 100644 --- a/test/CodeGen/builtins-ppc-p8vector.c +++ b/test/CodeGen/builtins-ppc-p8vector.c @@ -33,8 +33,8 @@ void test1() { /* vec_abs */ res_vsll = vec_abs(vsll); -// CHECK: call <2 x i64> @llvm.ppc.altivec.vmaxsd(<2 x i64> %{{[0-9]]*}}, <2 x i64> -// CHECK-LE: call <2 x i64> @llvm.ppc.altivec.vmaxsd(<2 x i64> %{{[0-9]]*}}, <2 x i64> +// CHECK: call <2 x i64> @llvm.ppc.altivec.vmaxsd(<2 x i64> %{{[0-9]*}}, <2 x i64> +// CHECK-LE: call <2 x i64> @llvm.ppc.altivec.vmaxsd(<2 x i64> %{{[0-9]*}}, <2 x i64> // CHECK-PPC: error: call to 'vec_abs' is ambiguous res_vd = vec_abs(vda);