1 // RUN: %clang_cc1 %s -ffreestanding -triple x86_64-unknown-unknown -target-feature +serialize -emit-llvm -o - | FileCheck %s
2 // RUN: %clang_cc1 %s -ffreestanding -triple i386-unknown-unknown -target-feature +serialize -emit-llvm -o - | FileCheck %s
3 
4 #include <immintrin.h>
5 
test_serialize(void)6 void test_serialize(void)
7 {
8 // CHECK-LABEL: test_serialize
9 // CHECK: call void @llvm.x86.serialize()
10   _serialize();
11 }
12