[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / CodeGen / X86 / avx512copy-builtins.c
blob06f7507bde53ed15dde620219780684ca782494c
1 // RUN: %clang_cc1 %s -flax-vector-conversions=none -ffreestanding -triple=x86_64-unknown-unknown -target-feature +avx10.2-512 \
2 // RUN: -emit-llvm -o - -Wall -Werror -pedantic -Wno-gnu-statement-expression | FileCheck %s
4 #include <immintrin.h>
5 #include <stddef.h>
7 __m128i test_mm_move_epi32(__m128i A) {
8 // CHECK-LABEL: test_mm_move_epi32
9 // CHECK: shufflevector <4 x i32> %{{.*}}, <4 x i32> %{{.*}}, <4 x i32> <i32 0, i32 4, i32 4, i32 4>
10 return _mm_move_epi32(A);
13 __m128i test_mm_move_epi16(__m128i A) {
14 // CHECK-LABEL: test_mm_move_epi16
15 // CHECK: shufflevector <8 x i16> %{{.*}}, <8 x i16> %{{.*}}, <8 x i32> <i32 0, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8>
16 return _mm_move_epi16(A);