Clang Project

clang_source_code/test/CodeGen/builtin-clflushopt.c
1// RUN: %clang_cc1 %s -ffreestanding -triple=x86_64-apple-darwin -target-feature +clflushopt  -emit-llvm -o - -Wall -Werror | FileCheck %s
2
3#include <immintrin.h>
4
5void test_mm_clflushopt(char * __m) {
6  //CHECK-LABEL: @test_mm_clflushopt
7  //CHECK: @llvm.x86.clflushopt
8  _mm_clflushopt(__m);
9}
10