diff options
Diffstat (limited to 'test/CodeGen/builtin-clflushopt.c')
-rw-r--r-- | test/CodeGen/builtin-clflushopt.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/builtin-clflushopt.c b/test/CodeGen/builtin-clflushopt.c new file mode 100644 index 000000000000..7248d378a4e1 --- /dev/null +++ b/test/CodeGen/builtin-clflushopt.c @@ -0,0 +1,9 @@ +// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin -target-feature +clflushopt -emit-llvm -o - -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); +} |