[X86] Add missing checks for attribute target testing (#218697)
Attribute target testing was missing a bunch of checks -- this adds
them. One test (attr-target-x86-mmx.c) is now redundant.
Patch done with usage of claude code
---------
Co-authored-by: Simon Pilgrim <llvm-dev at redking.me.uk>
NAS-142662 / 27.0.0-BETA.1 / Add s3 to audit service (#19547)
Add the S3 service into our auditing framework. This isn't wired up yet
but is added here to keep review manageable.
(cherry picked from commit e192549a887d66de9831e393ce834b8565e855b9)
NAS-142662 / 27.0.0-BETA.1 / Add s3 to audit service (#19547)
Add the S3 service into our auditing framework. This isn't wired up yet
but is added here to keep review manageable.
security/libgcrypt: Fix build on hardware lacking SM4-EVEX
The failure comes from cipher/sm4-intel-avx512-amd64.S, which uses the
EVEX-encoded (zmm) SM4 instructions. The base system assembler only
knows the VEX/ymm forms, and configure's SM4 probe only tests those, so
the AVX512 implementation is assembled anyway and breaks.
This patch extends the probe with the zmm forms, so the Intel SM4
assembly is disabled automatically where the assembler lacks SM4-EVEX.
GFNI-based SM4 and all other AVX512 code remain enabled, and the check
heals itself once LLVM gains these instructions.
PR: 297987
UPDATING: Fix entry for getgroups(2)/setgroups(2)
Fix a typo, grammar, and generally rephrase for better clarity.
Fixes: 3463f02706db ("UPDATING: add an entry for [gs]etgroups")
MFC after: 1 day
MFC to: stable/15
Sponsored by: The FreeBSD Foundation
[libc++] Use new/delete expressions for memory allocation in <any> (#219153)
This simplifies the implementation a bit more and avoids some includes.
This is a step towards removing `__libcpp_allocate`.
[Clang] Cast UBSan globals to appropriate generic address space (#219023)
Summary:
For GPU targets trying to use these checks, it would cause some issues.
the RTL function takes a flat pointer, but the global would be generated
as AS(1) with no cast. This seemed to work fine, mostly because for
AMDGPU the flat and global address spaces are byte identical, but it's
broken heavior. It lead to the backend not being able to fully identify
the call graph because it was not calling the 'right' function. Just add
an address space cast, these are no-ops in the vast majority of cases.
[C++20] [Modules] Handling merging predefined decls from std (#219151)
Close https://github.com/llvm/llvm-project/issues/218152
This was only reported in windows as MSSTL chose to implement std module
by wrapping the STL into extern "C++", which is different from libstdc++
and libc++.
But technically this is not specific to windows and we're able to
preoduce it in linux although we won't face it in linux.
py-async: removed; DEPRECATION NOTE: Please do not use this library ! It’s not working correctly in python 3, and besides that might be called a failed experiment.
[X86] Add TuningSlowPDEP/PEXT flags and control vector PDEP/PEXT scalarization with them (#218980)
bdver4/znver1/znver2 have notoriously bad implementations of the
PDEP/PEXT scalar instructions - we're much better off keeping vector
expansions