[asan][AIX] Change #ifdef to #if for AIX guard (#180280)
When `SANITIZER_AIX` is introduced in #131866, it will always be defined
to either 0 or 1, so this guard should use `#if`.
sys/sysctl.h: Add missing <sys/kassert.h> include
Hopefully, 'sys/sysctl.h' is really self-contained now.
This fixes the GENERIC-NODEBUG compilation error in 'hwpstate_common.c'
after commit 804329587508 (see below).
Fixes: 1a446f765d9c ("sys/sysctl.h: Make it self-contained when included from the kernel")
Fixes: 804329587508 ("hwpstate{_amd,intel}(4): Move common knobs to a separate file")
Sponsored by: The FreeBSD Foundation
[WebAssembly][FastISel] Make use of `sign-ext` proposals instructions when available (#179855)
Enables FastISel to use the dedicated sign-extension instructions
(rather than shl, shr) when available.
[objcopy][Wasm] Make strip-all remove all non-engine-interpreted sections (#180246)
Currently the default strip-all behavior is to remove sections known
to LLVM but leave others. Now that the standard specifies the section
name
"metadata.code.*" as used for compiler annotations interpreted by Wasm
engines, we can more confidently give strip its more conventional
behavior
of removing everything that won't be used by the engine.
[AMDGPU] Add DPP16 Row Share optimization for llvm.amdgcn.wave.shuffle (#177470)
Adds logic to detect cases where the llvm.amdgcn.wave.shuffle intrinsic
is being applied to an index operand that would make the result
equivalent to the various Row Share flavors of DPP16 operations, and
replaces the intrinsic and the instructions computing the index with an
equivalent llvm.amdgcn.update.dpp call.
tests: add FilterRule testing for #9744
The test already revealed an issue with the refactor:
replacing "any" with "" and then "" with "in" is not in
the interest of the inventor. Fix follows.
Refactor msort(). Fix #16654
The msort() function doesn't account for sorting flags. Replace the logic
the native PHP function array_multisort() and update msort() to accept
sorting flags. Additionally include the SORT_NATURAL flag by default.
go: update to 1.25.7 and 1.24.13
These releases include 2 security fixes following the security policy:
- cmd/cgo: remove user-content from doc strings in cgo ASTs
A discrepancy between how Go and C/C++ comments
were parsed allowed for code smuggling into the
resulting cgo binary.
To prevent this behavior, the cgo compiler
will no longer parse user-provided doc
comments.
Thank you to RyotaK (https://ryotak.net) of
GMO Flatt Security Inc. for reporting this issue.
This is CVE-2025-61732 and https://go.dev/issue/76697.
[30 lines not shown]
go126: update to 1.26 RC 3.
This release includes 1 security fix following the security policy:
crypto/tls: unexpected session resumption when using Config.GetConfigForClient
Config.GetConfigForClient is documented to use the original Config's session
ticket keys unless explicitly overridden. This can cause unexpected behavior if
the returned Config modifies authentication parameters, like ClientCAs: a
connection initially established with the parent (or a sibling) Config can be
resumed, bypassing the modified authentication requirements.
If ClientAuth is VerifyClientCertIfGiven or RequireAndVerifyClientCert (on the
server) or InsecureSkipVerify is false (on the client), crypto/tls now checks
that the root of the previously-verified chain is still in ClientCAs/RootCAs
when resuming a connection.
Go 1.26 Release Candidate 2, Go 1.25.6, and Go 1.24.12 had fixed a similar issue
related to session ticket keys being implicitly shared by Config.Clone. Since
[11 lines not shown]
[flang][NFC] Extract ArraySectionAnalyzer from OptimizedBufferization
Extract `ArraySectionAnalyzer` from `OptimizedBufferization` into a standalone
analysis utility so it can be reused by other passes (e.g., `ScheduleOrderedAssignments`).
This is an NFC change that moves the `ArraySectionAnalyzer` class and its helper
methods to `flang/Optimizer/Analysis/ArraySectionAnalyzer.h` and `.cpp`.
Also extracts the logic to detect if a designate is using the indices
of an elemental operation in storage order.
[flang] optimize WHERE with array sections
Improve `ScheduleOrderedAssignments` to avoid creating temporary storage for
masks in `WHERE` constructs when the mask modification is "aligned" with the
assignment (e.g., `where(a(i)>0) a(i)=...`).
- Identify "aligned" conflicts (identical array elements accessed in order)
using the `ArraySectionAnalyzer` that is extracted from
OptimizedBufferization.
- Defer saving regions with aligned conflicts, allowing fusion if possible.
- Implement retroactive saving: if a region was modified in a previous run
(fused via aligned conflict) but is needed by a later split run, insert
a `SaveEntity` action before the modifying run.
- Use `std::list` for the schedule to support stable iterators for run insertion.
- Update tests to verify fewer temporaries and correct retroactive saves.
- Update flang pipeline at O2 and more to try fusing assignments in
WHERE/FORALL. This allows maximizing the chances that mask temps are not
needed (because a mask variable cannot be reused in a later run/loop
nest if it was modified even if all the accesses are in order, being in
[4 lines not shown]
17793 loader.efi: rename img to boot_img and query it once
Reviewed by: Bill Sommerfeld <sommerfeld at hamachi.org>
Approved by: Dan McDonald <danmcd at edgecast.io>