Check the resolved path in filesystem permission changes
The path checks of filesystem.chown, filesystem.setperm and
filesystem.setacl compared filesystem.stat's realpath, which keeps ".."
components for anything that is not itself a symlink, and matched
prefixes without a component boundary. Check os.path.realpath() of the
path instead, and compare whole path components.
Also fix the schema name in the "Must be an absolute path" error.
[InstCombine] Fix demanded classes for fpext/fptrunc under flushing denormal modes (#236656)
Fixes https://github.com/llvm/llvm-project/issues/219300
Follow-up to https://github.com/llvm/llvm-project/pull/225188
Adds denormal mode handling to `SimplifyDemandedUseFPClass` for `fpext`
and `fptrunc`/`fptrunc_round`.
Conservatively assumes that the denormal mode is dynamic if either the
`src` or `dst` denormal mode is not IEEE for both output/input.
AI Disclosure:
I used Claude Opus 5 to help write the tests.
CodeGen: Look up instruction slot indexes without a hash map
Replace the DenseMap from MachineInstr to SlotIndex with a handle
stored in MachineInstr indexing the slot index entry table. There's a
padding slot available so this doesn't increase size.
This also will make it more natural to start serializing the slot
index in MIR which will make reproducing issues easier in greedy.
llc instructions:u over 40 files per target (CTMark for x86_64 and
aarch64, rocm bitcode sample for amdgpu):
x86_64 -0.64%
aarch64 -0.62%
amdgpu -0.43%
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
ARM: Expand atomic load/store orderings without barriers in IR
Targets without native atomics or barriers marked i32 ATOMIC_LOAD and
ATOMIC_STORE as Custom so it could change the lowering based on the
ordering. Orderings stronger than monotonic would use the legalizer's
expansion to ATOMIC_CMP_SWAP/ATOMIC_SWAP libcalls.
Make this ordering decision in the IR expansion hooks instead since
those are expressive enough to represent the ordering constraint. This
moves the handling to AtomicExpand instead of the DAG legalizer. This
is kind of a workaround, ideally the same hook would be used by both
paths. This allows setting accurate LibCall actions on
ATOMIC_LOAD/ATOMIC_STORE.
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
security/libmldsa and mldsa: update to version 20261118.
security/mlsignify - new package, providing the same mldsa(1) functionality
but with a command line interface similar to signify(1)
[clang][Modules] Fix unused AccessTimeRefreshInterval on Windows (#243847)
635f30899dd0 (#239747) uses AccessTimeRefreshInterval only in the
non-Windows path of refreshAccessTime, so Windows builds with -Werror
fail with -Wunused-const-variable. Define it under the same #ifndef
_WIN32 as its use.
Attributor: Use types instead of IDs in AAKindSet
Some MSVC builds reject the addresses of IDs of abstract attributes in
anonymous namespaces as template arguments. Pass the abstract attribute
types instead and compare the types to find the mask bits, which also
works with older GCC.
Fixes 19901848353e.
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
security/libmldsa and mldsa, and new security/mlsignify: update to version 20261118
Changes from previous version:
Bump mldsa to version 20261118
+ add embryonic mlsignify.1 man page
+ spruce up the mldsa.1 man page
+ fixup the Makefile.*.in files
+ specify the other options on the command line for mlsignify(1)
pkgsrc changes:
+ add an mlsignify package, which does the same work as mldsa,
but attempts to use the same command line options as the signify
utility. Note that even though not all signify(1) options make sense
to mlsignify(1), they are recognised, in an attempt to provide
compatibility
[libc++] Respect _LIBCPP_NO_ABI_TAG in _LIBCPP_HIDE_STRUCT_FROM_ABI (#241123)
`_LIBCPP_HIDE_STRUCT_FROM_ABI` macro was added in
7083c06372905081929ea43abea4751ef372761a to prevent certain private
classes from becoming the part of the stable ABI. However, this macro
always attaches ODR ABI tags to the symbols, even when
`_LIBCPP_NO_ABI_TAG` is specified (unlike the existing, and vastly more
popular, `_LIBCPP_HIDE_FROM_ABI` macro).
Only a handful of classes use this annotation, including, e.g.
`__shared_ptr_emplace`. ODR ABI tags
on those were duly changed by updates to the ODR signature in
6af0a79d7a4e8558e89290df56491521c6730acd and
d5f6c302fff1aeed8fb6a247c21a694b156778bc.
Unfortunately, these ODR ABI tags invalidate large portion of profiles
collected by MemProf to drive
profile-guided heap optimization, since every heap allocation done
through `std::make_shared` / `std::allocate_shared`, and thus uses a
[11 lines not shown]