1 // RUN: %clang_cc1 %s -ffreestanding -triple=x86_64-unknown-unknown -target-feature +invpcid -emit-llvm -o - -Wall -Werror -pedantic | FileCheck %s
2 // RUN: %clang_cc1 %s -ffreestanding -triple=i386-unknown-unknown -target-feature +invpcid -emit-llvm -o - -Wall -Werror -pedantic | FileCheck %s
8 void test_invpcid(uint32_t type
, void *descriptor
) {
9 //CHECK-LABEL: @test_invpcid
10 //CHECK: call void @llvm.x86.invpcid(i32 %{{.*}}, ptr %{{.*}})
11 _invpcid(type
, descriptor
);