| 1 | // 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 | |
| 7 | void test_mm_pause() { |
| 8 | // CHECK-LABEL: test_mm_pause |
| 9 | // CHECK: call void @llvm.x86.sse2.pause() |
| 10 | return _mm_pause(); |
| 11 | } |
| 12 |