From ad5d07156753a0761c02ecc0980d9952d3deb35d Mon Sep 17 00:00:00 2001 From: Sanjay Patel Date: Fri, 20 Mar 2015 22:37:20 +0000 Subject: [PATCH] fixed vperm2* intrinsics to check for shuffles This corresponds to llvm r232852: http://reviews.llvm.org/rL232852 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@232857 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/avx-shuffle-builtins.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/CodeGen/avx-shuffle-builtins.c b/test/CodeGen/avx-shuffle-builtins.c index 2800ff89bd..af4bcbd23b 100644 --- a/test/CodeGen/avx-shuffle-builtins.c +++ b/test/CodeGen/avx-shuffle-builtins.c @@ -48,19 +48,19 @@ __m256 test_mm256_permute_ps(__m256 a) { __m256d test_mm256_permute2f128_pd(__m256d a, __m256d b) { // Check if the mask is correct - // CHECK: @llvm.x86.avx.vperm2f128.pd.256 + // CHECK: shufflevector{{.*}} return _mm256_permute2f128_pd(a, b, 0x31); } __m256 test_mm256_permute2f128_ps(__m256 a, __m256 b) { // Check if the mask is correct - // CHECK: @llvm.x86.avx.vperm2f128.ps.256 + // CHECK: shufflevector{{.*}} <8 x i32> return _mm256_permute2f128_ps(a, b, 0x13); } __m256i test_mm256_permute2f128_si256(__m256i a, __m256i b) { // Check if the mask is correct - // CHECK: @llvm.x86.avx.vperm2f128.si.256 + // CHECK: shufflevector{{.*}} <8 x i32> return _mm256_permute2f128_si256(a, b, 0x20); } -- 2.40.0