llvm-for-llvmta/tools/clang/test/CodeGen/X86/builtin-wbnoinvd.c

10 lines
282 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 %s -ffreestanding -triple=x86_64-unknown-unknown -target-feature +wbnoinvd -emit-llvm -o - -Wall -Werror | FileCheck %s
#include <immintrin.h>
void test_wbnoinvd(void) {
//CHECK-LABEL: @test_wbnoinvd
//CHECK: call void @llvm.x86.wbnoinvd()
_wbnoinvd();
}