Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / CodeGen / X86 / x86-serialize-intrin.c
bloba3587efc88835bc0b55d56e8ba54ed5e5c2896f7
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
4 #include <immintrin.h>
6 void test_serialize(void)
8 // CHECK-LABEL: test_serialize
9 // CHECK: call void @llvm.x86.serialize()
10 _serialize();