diff options
author | Harsh Tiwary <harshtiwary2012@gmail.com> | 2025-09-15 02:40:27 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-15 09:40:27 +0000 |
commit | 44061d14fb03ebbd38050c628ed009ae4db2714c (patch) | |
tree | 73471b5af6946f53073e173e9eff7e5fe9574c11 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 273917e5c0d935af5736770bdc9d0b03ce04dd8c (diff) | |
download | llvm-44061d14fb03ebbd38050c628ed009ae4db2714c.zip llvm-44061d14fb03ebbd38050c628ed009ae4db2714c.tar.gz llvm-44061d14fb03ebbd38050c628ed009ae4db2714c.tar.bz2 |
[Headers][X86] Allow AVX512 masked blend intrinsics to be used in constexpr (#156234)
This patch enables AVX-512 masked blend intrinsics to be usable in
constant expressions (`constexpr`) across various vector widths
(128-bit, 256-bit, 512-bit). It updates the respective Clang headers to
include the `__DEFAULT_FN_ATTRS_CONSTEXPR` annotation where applicable,
and supplements the change with thorough `TEST_CONSTEXPR` checks in the
X86 CodeGen test suite to validate constexpr evaluation.
Fixes #155796.
---------
Co-authored-by: Simon Pilgrim <llvm-dev@redking.me.uk>
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions