Eric Christopher | abb2b54 | 2016-08-04 06:02:50 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 %s -triple=x86_64-apple-darwin -target-feature +clflushopt -emit-llvm -o - -Wall -Werror | FileCheck %s |
Michael Zuckerman | b920665 | 2016-07-05 15:56:03 +0000 | [diff] [blame] | 2 | #define __MM_MALLOC_H |
3 | |||||
4 | #include <immintrin.h> | ||||
5 | void test_mm_clflushopt(char * __m) { | ||||
6 | //CHECK-LABLE: @test_mm_clflushopt | ||||
7 | //CHECK: @llvm.x86.clflushopt | ||||
8 | _mm_clflushopt(__m); | ||||
9 | } |