[PATCH] D99465: [Clang][X86] Mark some VAES builtins as conditionally defined

LemonBoy via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Mar 28 11:09:12 PDT 2021


LemonBoy added a comment.

In D99465#2654633 <https://reviews.llvm.org/D99465#2654633>, @craig.topper wrote:

> We can't use preprocessor defines in the intrinsic header files. It prevents being able to use the intrinsics with attribute(target("avx512f,vaes")). What's preventing __m512i from being defined?

`__VAES__` is defined but `__AVX512F__` is not hence `avx512fintrin.h` is never included in `immintrin.h`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99465/new/

https://reviews.llvm.org/D99465



More information about the cfe-commits mailing list