[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Headers / mm_malloc.c
bloba436ff3013bf6bbe4a91bf82c5b59414a9f69698
2 // RUN: %clang_cc1 -internal-isystem %S/Inputs/include %s -emit-llvm -O1 -triple x86_64-linux-gnu -o - | FileCheck %s
3 #include <mm_malloc.h>
5 _Bool align_test(void) {
6 // CHECK-LABEL: @align_test(
7 // CHECK: ret i1 true
8 void *p = _mm_malloc(1024, 16);
9 _Bool ret = ((__UINTPTR_TYPE__)p % 16) == 0;
10 _mm_free(p);
11 return ret;