Home | History | Annotate | Download | only in CodeGen
      1 // RUN: %clang_cc1 %s -triple=x86_64-linux-gnu -S -verify -o -
      2 #define __MM_MALLOC_H
      3 #include <x86intrin.h>
      4 
      5 int baz(__m256i a) {
      6   return _mm256_extract_epi32(a, 3); // expected-error {{always_inline function '_mm256_extract_epi32' requires target feature 'sse4.2', but would be inlined into function 'baz' that is compiled without support for 'sse4.2'}}
      7 }
      8