blob: 1a8e10aec043c5ce9f3f9235548e3398f24a437f [file] [log] [blame]
Craig Topper9d8e9ff2017-08-05 23:35:54 +00001// RUN: %clang_cc1 -ffreestanding %s -triple=i386-pc-win32 -target-feature -sse2 -emit-llvm -o - -Wall -Werror | FileCheck %s
2// RUN: %clang_cc1 -ffreestanding %s -triple=i386-pc-win32 -target-feature +sse2 -emit-llvm -o - -Wall -Werror | FileCheck %s
3
4
5#include <x86intrin.h>
6
7void test_mm_pause() {
8 // CHECK-LABEL: test_mm_pause
9 // CHECK: call void @llvm.x86.sse2.pause()
10 return _mm_pause();
11}