diff options
| author | Sanjay Patel <spatel@rotateright.com> | 2015-03-20 22:37:20 +0000 |
|---|---|---|
| committer | Sanjay Patel <spatel@rotateright.com> | 2015-03-20 22:37:20 +0000 |
| commit | 2ad80dac9b334bbf0634c857284fc1c0590f930b (patch) | |
| tree | 2dcfe45ab6a1f5213cc26ecaf5849db3f9ba4f6c /clang/test/CodeGen | |
| parent | 5829578bb003fd9821cd8459746d42a4bf92b75b (diff) | |
| download | bcm5719-llvm-2ad80dac9b334bbf0634c857284fc1c0590f930b.tar.gz bcm5719-llvm-2ad80dac9b334bbf0634c857284fc1c0590f930b.zip | |
fixed vperm2* intrinsics to check for shuffles
This corresponds to llvm r232852:
http://reviews.llvm.org/rL232852
llvm-svn: 232857
Diffstat (limited to 'clang/test/CodeGen')
| -rw-r--r-- | clang/test/CodeGen/avx-shuffle-builtins.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/CodeGen/avx-shuffle-builtins.c b/clang/test/CodeGen/avx-shuffle-builtins.c index 2800ff89bda..af4bcbd23ba 100644 --- a/clang/test/CodeGen/avx-shuffle-builtins.c +++ b/clang/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{{.*}}<i32 2, i32 3, i32 6, i32 7> 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> <i32 12, i32 13, i32 14, i32 15, i32 4, i32 5, i32 6, i32 7> 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> <i32 0, i32 1, i32 2, i32 3, i32 8, i32 9, i32 10, i32 11> return _mm256_permute2f128_si256(a, b, 0x20); } |

