| // RUN: %check_clang_tidy %s portability-simd-intrinsics %t -- \ |
| // RUN: -config='{CheckOptions: [ \ |
| // RUN: {key: portability-simd-intrinsics.Suggest, value: 1} \ |
| // RUN: ]}' -- -target x86_64 -std=c++11 |
| typedef long long __m128i __attribute__((vector_size(16))); |
| typedef double __m256 __attribute__((vector_size(32))); |
| __m128i _mm_add_epi32(__m128i, __m128i); |
| __m256 _mm256_load_pd(double const *); |
| void _mm256_store_pd(double *, __m256); |
| int _mm_add_fake(int, int); |
| // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: '_mm_add_epi32' can be replaced by operator+ on std::experimental::simd objects [portability-simd-intrinsics] |