2017-10-13 01:21:01 +08:00
|
|
|
// RUN: %clang_cc1 %s -ffreestanding -triple=x86_64-apple-darwin -target-feature +clflushopt -emit-llvm -o - -Wall -Werror | FileCheck %s
|
|
|
|
|
2018-05-24 15:09:08 +08:00
|
|
|
#include <immintrin.h>
|
2016-07-05 23:56:03 +08:00
|
|
|
|
|
|
|
void test_mm_clflushopt(char * __m) {
|
2017-02-09 14:10:14 +08:00
|
|
|
//CHECK-LABEL: @test_mm_clflushopt
|
2016-07-05 23:56:03 +08:00
|
|
|
//CHECK: @llvm.x86.clflushopt
|
|
|
|
_mm_clflushopt(__m);
|
|
|
|
}
|