llvm-project/clang/test/CodeGen/builtin-clflushopt.c
Eric Christopher abb2b54ad3 After PR28761 use -Wall with -Werror in builtins tests to identify
possible problems in headers.

llvm-svn: 277696
2016-08-04 06:02:50 +00:00

10 lines
302 B
C

// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin -target-feature +clflushopt -emit-llvm -o - -Wall -Werror | FileCheck %s
#define __MM_MALLOC_H
#include <immintrin.h>
void test_mm_clflushopt(char * __m) {
//CHECK-LABLE: @test_mm_clflushopt
//CHECK: @llvm.x86.clflushopt
_mm_clflushopt(__m);
}