summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-04-15 22:18:10 +0000
committerCraig Topper <craig.topper@gmail.com>2012-04-15 22:18:10 +0000
commitb5491f3d7b688b37745397fafd6c1f10548fd5c2 (patch)
tree6c2931c9fb965aa524d5a6d72722f5acfbb851d0 /test
parent030c7e9d105fdd9b5cb11b5b16c258bcb39bdac1 (diff)
Change _mm256_permute4x64_epi64 and _mm256_permute4x64_pd to use builtin_shufflevector instead of specific builtins. Old builtins will be removed from llvm now that vpermq/vpermpd are supported by shuffle lowering code.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154777 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/avx2-builtins.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/avx2-builtins.c b/test/CodeGen/avx2-builtins.c
index a5ddc8eb2e..e56e55d205 100644
--- a/test/CodeGen/avx2-builtins.c
+++ b/test/CodeGen/avx2-builtins.c
@@ -662,7 +662,7 @@ __m256i test_mm256_permutevar8x32_epi32(__m256i a, __m256i b) {
}
__m256d test_mm256_permute4x64_pd(__m256d a) {
- // CHECK: @llvm.x86.avx2.permpd
+ // CHECK: shufflevector{{.*}}<i32 1, i32 2, i32 1, i32 0>
return _mm256_permute4x64_pd(a, 25);
}
@@ -672,7 +672,7 @@ __m256 test_mm256_permutevar8x32_ps(__m256 a, __m256 b) {
}
__m256i test_mm256_permute4x64_epi64(__m256i a) {
- // CHECK: @llvm.x86.avx2.permq
+ // CHECK: shufflevector{{.*}}<i32 3, i32 0, i32 2, i32 0>
return _mm256_permute4x64_epi64(a, 35);
}