Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / CodeGen / X86 / x86-tsxldtrk-builtins.c
blob62f2c9e2bccf9f8971587d73ac625bf4f5272593
1 // RUN: %clang_cc1 %s -ffreestanding -triple i386-unknown-unknown -target-feature +tsxldtrk -emit-llvm -o - | FileCheck %s
2 // RUN: %clang_cc1 %s -ffreestanding -triple x86_64-unknown-unknown -target-feature +tsxldtrk -emit-llvm -o - | FileCheck %s
4 #include <immintrin.h>
6 void test_xsusldtrk(void) {
7 // CHECK-LABEL: test_xsusldtrk
8 // CHECK: call void @llvm.x86.xsusldtrk()
9 _xsusldtrk();
12 void test_xresldtrk(void) {
13 // CHECK-LABEL: test_xresldtrk
14 // CHECK: call void @llvm.x86.xresldtrk()
15 _xresldtrk();