From f70a913e13ed943d5913a405c6830cdde6b9aa90 Mon Sep 17 00:00:00 2001 From: Tony Jiang Date: Wed, 24 May 2017 18:12:11 +0000 Subject: [PATCH] Fix one test case faiulre in commit 303766. It is clean when I build boostrap and run make checkall on my machine, I guess it could be I only build bootstrap with assert, while the buildbots may build without asserts, which could cause the difference. llvm-svn: 303786 --- clang/test/CodeGen/builtins-ppc-vsx.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/clang/test/CodeGen/builtins-ppc-vsx.c b/clang/test/CodeGen/builtins-ppc-vsx.c index 520c001fbb65..6dda19d5d9f3 100644 --- a/clang/test/CodeGen/builtins-ppc-vsx.c +++ b/clang/test/CodeGen/builtins-ppc-vsx.c @@ -1793,13 +1793,13 @@ vector int xxpermdi_should_not_assert(vector int a, vector int b) { vector double xxsldwi_should_not_assert(vector double a, vector double b) { return vec_xxsldwi(a, b, 0); // CHECK-LABEL: xxsldwi_should_not_assert -// CHECK: bitcast <2 x double> %0 to <4 x i32> -// CHECK-NEXT: bitcast <2 x double> %1 to <4 x i32> -// CHECK-NEXT: shufflevector <4 x i32> %2, <4 x i32> %3, <4 x i32> -// CHECK-NEXT: bitcast <4 x i32> %4 to <2 x double> +// CHECK: bitcast <2 x double> %{{[0-9]+}} to <4 x i32> +// CHECK-NEXT: bitcast <2 x double> %{{[0-9]+}} to <4 x i32> +// CHECK-NEXT: shufflevector <4 x i32> %{{[0-9]+}}, <4 x i32> %{{[0-9]+}}, <4 x i32> +// CHECK-NEXT: bitcast <4 x i32> %{{[0-9]+}} to <2 x double> -// CHECK-LE: bitcast <2 x double> %0 to <4 x i32> -// CHECK-NEXT-LE: bitcast <2 x double> %1 to <4 x i32> -// CHECK-NEXT-LE: shufflevector <4 x i32> %2, <4 x i32> %3, <4 x i32> -// CHECK-NEXT-LE: bitcast <4 x i32> %4 to <2 x double> +// CHECK-LE: bitcast <2 x double> %{{[0-9]+}} to <4 x i32> +// CHECK-NEXT-LE: bitcast <2 x double> %{{[0-9]+}} to <4 x i32> +// CHECK-NEXT-LE: shufflevector <4 x i32> %{{[0-9]+}}, <4 x i32> %{{[0-9]+}}, <4 x i32> +// CHECK-NEXT-LE: bitcast <4 x i32> %{{[0-9]+}} to <2 x double> }