From 2a7adec11783ba0d3caa20a1f4ec05918450676c Mon Sep 17 00:00:00 2001 From: Michael Kuperstein Date: Wed, 28 Dec 2016 00:30:43 +0000 Subject: [PATCH] Update test that relies on the optimizer to match new output. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@290642 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/avx-shuffle-builtins.c | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/test/CodeGen/avx-shuffle-builtins.c b/test/CodeGen/avx-shuffle-builtins.c index 3d6c46d802..b5bac89bd1 100644 --- a/test/CodeGen/avx-shuffle-builtins.c +++ b/test/CodeGen/avx-shuffle-builtins.c @@ -67,9 +67,7 @@ __m128 test_mm_broadcast_ss(float const *__a) { // CHECK-LABEL: @test_mm_broadcast_ss // CHECK: insertelement <4 x float> {{.*}}, i32 0 - // CHECK: insertelement <4 x float> {{.*}}, i32 1 - // CHECK: insertelement <4 x float> {{.*}}, i32 2 - // CHECK: insertelement <4 x float> {{.*}}, i32 3 + // CHECK: shufflevector <4 x float> {{.*}}, <4 x float> undef, <4 x i32> zeroinitializer return _mm_broadcast_ss(__a); } @@ -77,9 +75,7 @@ __m256d test_mm256_broadcast_sd(double const *__a) { // CHECK-LABEL: @test_mm256_broadcast_sd // CHECK: insertelement <4 x double> {{.*}}, i32 0 - // CHECK: insertelement <4 x double> {{.*}}, i32 1 - // CHECK: insertelement <4 x double> {{.*}}, i32 2 - // CHECK: insertelement <4 x double> {{.*}}, i32 3 + // CHECK: shufflevector <4 x double> {{.*}}, <4 x double> undef, <4 x i32> zeroinitializer return _mm256_broadcast_sd(__a); } @@ -87,13 +83,7 @@ __m256 test_mm256_broadcast_ss(float const *__a) { // CHECK-LABEL: @test_mm256_broadcast_ss // CHECK: insertelement <8 x float> {{.*}}, i32 0 - // CHECK: insertelement <8 x float> {{.*}}, i32 1 - // CHECK: insertelement <8 x float> {{.*}}, i32 2 - // CHECK: insertelement <8 x float> {{.*}}, i32 3 - // CHECK: insertelement <8 x float> {{.*}}, i32 4 - // CHECK: insertelement <8 x float> {{.*}}, i32 5 - // CHECK: insertelement <8 x float> {{.*}}, i32 6 - // CHECK: insertelement <8 x float> {{.*}}, i32 7 + // CHECK: shufflevector <8 x float> {{.*}}, <8 x float> undef, <8 x i32> zeroinitializer return _mm256_broadcast_ss(__a); } -- 2.40.0