r240912 - [PPC] fixes typos in builtins-ppc-p8vector.c

Jingyue Wu jingyue at google.com
Sun Jun 28 11:30:37 PDT 2015


Author: jingyue
Date: Sun Jun 28 13:30:36 2015
New Revision: 240912

URL: http://llvm.org/viewvc/llvm-project?rev=240912&view=rev
Log:
[PPC] fixes typos in builtins-ppc-p8vector.c

The extra ] causes %{{[0-9]]*}} to match only %<single digit> such as %1.

Modified:
    cfe/trunk/test/CodeGen/builtins-ppc-p8vector.c

Modified: cfe/trunk/test/CodeGen/builtins-ppc-p8vector.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/builtins-ppc-p8vector.c?rev=240912&r1=240911&r2=240912&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/builtins-ppc-p8vector.c (original)
+++ cfe/trunk/test/CodeGen/builtins-ppc-p8vector.c Sun Jun 28 13:30:36 2015
@@ -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);





More information about the cfe-commits mailing list