[LLVM][IR] Use splat syntax when printing ConstantExpr based splats. (#116856)
[llvm-project.git] / clang / test / CodeGen / X86 / pause.c
blob1321d9527225fc5737266c0c1cf484a868f91cf6
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
5 #include <x86intrin.h>
7 void test_mm_pause(void) {
8 // CHECK-LABEL: test_mm_pause
9 // CHECK: call void @llvm.x86.sse2.pause()
10 return _mm_pause();