[NFC][HLSL] Share parsing of numthreads and wavesize attributes (#244701)
The `numthreads` and `wavesize` function attributes share the same value
format, but their parsing logic is duplicated across HLSL code
generation, DXIL metadata analysis, and the SPIR-V assembly printer.
This change consolidates that logic into a shared `parseThreadCounts`
function in HLSL LLVM Frontend library (declared in a new `HLSLUtils.h`
header).
www/freenginx: Fix excessive CPU usage with TLS 1.3 early data
The fork carries the same write filter code as nginx, so a client can keep
a worker process spinning on a send that never makes progress when
"ssl_early_data" is enabled. Upstream has not released a fix.
Security: cee7773d-e7dd-11f1-9b74-3497f65b111b
With hat: ports-secteam
Sponsored by: Netzkommune GmbH
www/nginx-devel: Security update to 1.31.10
A client can keep a worker process spinning on a send that never makes
progress when "ssl_early_data" is enabled.
Changelog: https://nginx.org/en/CHANGES
Security: cee7773d-e7dd-11f1-9b74-3497f65b111b
With hat: ports-secteam
Sponsored by: Netzkommune GmbH
www/nginx: Security update to 1.30.8
A client can keep a worker process spinning on a send that never makes
progress when "ssl_early_data" is enabled.
Changelog: https://nginx.org/en/CHANGES-1.30
Security: cee7773d-e7dd-11f1-9b74-3497f65b111b
With hat: ports-secteam
Sponsored by: Netzkommune GmbH
[Compiler-rt][Hexagon] Enable v79 XQFloat conversions only with HVX (#245370)
The XQFloat conversion runtime library should be enabled only when HVX
is enabled.
[analyzer][NFC] Mark the leaf CallEvent classes final and store the kind in the base class (#245674)
Two small changes to the CallEvent hierarchy:
- Mark the leaf CallEvent classes final, so calls through them can be
devirtualized.
- Store the kind in CallEvent and make getKind() non-virtual, as in
other LLVM class hierarchies. Every isa/dyn_cast on a CallEvent used to
be a virtual call and is now a load and a compare. The kind fits in
existing padding, so the classes don't grow.
On some LLVM TUs (GVN, LiveVariables, RegionStore, SemaExpr), together
these reduce the instructions of the static analyzer by 0.5-0.7%.
---------
Co-authored-by: Gabor Horvath <gaborh at apple.com>
[CIR] Shorten the #cir.fenv parameter names
Rename the #cir.fenv parameters dynamic_rounding_mode, except_mode and
strict_except to rounding, except and strict, so a constrained op prints as
fenv<rounding = tonearest, except = unknown, strict = true>. The fields stay
optional with the same meaning and defaults; the OrDefault helpers follow the
new getter names. No functional change.
Assisted-by: Claude Code (Opus 5.5).
[CIR] Give complex FP add/sub the fenv memory effects
cir.complex.fadd and cir.complex.fsub were Pure even with a constrained
fenv attribute, so they could be speculated or erased like unconstrained
ops. Derive them from CIR_FenvOp, as the other fenv ops are: constrained
ops read and write the FP environment and are only conditionally
speculatable, unconstrained ops stay effect-free.
Assisted-by: Claude Code (Opus 5.5).
[CIR] Reject the empty fenv attribute
`#cir.fenv<>` with no parameter set was accepted, printed as `fenv<>` and
lowered to a constrained intrinsic, so an unconstrained operation had two
spellings. Give `#cir.fenv` a verifier that requires at least one
parameter, leaving a missing `fenv` attribute as the only way to say an
operation is unconstrained. An absent parameter takes its value in the
default FP environment (tonearest, masked, non-strict). Speculation,
lowering and VecFCmpOp::fold share one FenvAttr::canIgnoreExceptions()
check (masked and not strict): such ops are speculatable, lower to
fpexcept.ignore and fold, and a strict op stays fpexcept.strict even when
masked. Drop FPEnvConstrainedOpInterface, whose only user was FenvOpTrait,
and let the trait read the attribute from the concrete op. Add a
CIR_FenvOp base class carrying the fenv traits and argument, which the
fenv ops prepend their operands to.
Assisted-by: Claude Code (Opus 5.5).
[MLIR][XeGPU] Replace the dataflow solver in layout propagation with a backward scan shared with layout recovery (#240986)
**Motivation**
Layout propagation used SparseBackwardDataFlowAnalysis, but choosing a
layout isn't a lattice merge: a value takes one layout, and any mismatch
is resolved later by ResolveLayoutConflicts. This caused four problems:
- An op could not override its own result layout. Result lattices
belonged to the consumers, so an op that requires a specific result
layout (e.g. a reduction) had to write it into the IR inside its
visitor. This causes an undesired design the IR being modified during
the data flow analysis.
- Order-dependent results. Anchor ops froze their layout on the first
visit (visitLoadNdOp calls setLayoutAttr, and later visits reuse it
through hasParamsOfLayoutKind). The result therefore depended on the
solver's worklist order, and a consumer layout that arrived later never
reached the producer.
- A second walk to patch the IR for the region OP. The solver doesn't
record region's arguments, init, and results. A separate walk had to
[88 lines not shown]
[OpenACC] Fix template instantiation of atomic decl-stmt. (#245673)
We originally replaced all 'failed' expressions to an atomic with a
RecoveryExpr. However, when we do this with a DeclStmt, this results in
it not properly being able to be instantiated/looked up later.
This patch just adds it to the AST unwrapped. Additionally, we suppress
it from being checked again during template instantiation.
Fixes: #245108
[clang] Add -fpass-plugin-arg=<plugin>,<arg> (#244917)
#227414 added `-plugin-arg=<plugin>,<arg>` to opt and llc; clang reaches
plugin options only through `-mllvm`.
Add `-fpass-plugin-arg=`, which, as in opt, reaches both
`-fpass-plugin=` plugins and statically linked extensions such as Polly.
Plugins parse arguments with cl::ParseCommandLineOptions, which obtains
the real file system for response file expansion, an I/O sandbox
violation in -cc1. Skip the expansion when no argument starts with '@'.
LLM-aided
[flang][OpenMP] Require an enclosing SIMD for construct={simd} (#245393)
A construct={simd} selector without properties was ignored, because SIMD
is a predefined trait selector name (it can take clause properties)
rather than a directive name. A DECLARE VARIANT or METADIRECTIVE
alternative that requires SIMD was therefore selected everywhere,
including outside any SIMD construct.
This patch record the SIMD construct trait for such selectors and teach
lowering to recognize `omp.simd` when building the construct trait set
from enclosing MLIR operations. Without this, calls inside SIMD regions
would no longer match.
Fixes #244759
Assisted-by: GitHub Copilot and Claude Opus 5.5
[GlobalISel] Drop unused DenseMapInfo<LLT> (#245409)
LLT wildcard matching is non-transitive.
Remove `DenseMapInfo<LLT>` because it is broken and unused.
py-libmc: updated to 1.8.0
New in version 1.8.0
This release is mostly about keys and correctness. pylibmc now checks every key
itself, as the memcached protocol says it should, so a stray space or newline
can no longer corrupt a connection or inject a command. Booleans come back as
booleans, numbers that do not fit are refused instead of wrapping around, and
the Linux wheels can log in with SASL. New are master keys, ``exists()``,
``incr`` and ``decr`` with an initial value, and more behaviors and exception
classes. pylibmc now needs Python 3.11 or later. Read the changes that can
break existing code before upgrading.
py-blessed: updated to 1.53.0
1.53
* change: type of :attr:`~Terminal.term_program` changed from ``Union[str,bool]`` to ``str``,
:ghpull:`433`
* improve: performance of :meth:`~Terminal.clip` and :meth:`~Terminal.truncate`, :ghpull:`434`.
* bugfix: small mathematics errors in :func:`~blessed.color.dist_cie2000` and
:func:`~blessed.color.dist_cie94` now match the test data published by Sharma, Wu & Dalal
(2005), :ghissue:`424`.
[mlir][vector] reject vector.mask around transfer ops with vector element source (#245111)
`MaskOp::verify` now emits an error, before querying the expected mask
type, when the wrapped op is a transfer whose source has vector element
type.
### why reject instead of support
transfer ops already reject masks on such sources, in both the parser
and `verifyTransferOp`.
https://github.com/llvm/llvm-project/blob/43c6316fbcb530f1556bcc1e9e5ad16e8ca0f47d/mlir/lib/Dialect/Vector/IR/VectorOps.cpp#L5430-L5433
i tried making `inferTransferOpMaskType` ignore the trailing
element-vector dims. `vector.mask` then verified, but
`-lower-vector-mask` on a wrapped `transfer_write` on a tensor moved the
mask onto the transfer, and the transfer verifier rejected it with the
[6 lines not shown]
[PowerPC] Handle signed char partial reduction (#234400)
PPC does not have an instruction for signed char partial reduction, but
it can be expanded into a sequence of multiply even, multiply odd, and
signed half partial reductions.
py-jwcrypto: updated to 1.6.2
1.6.2
Make ML-DSA optional
Harden JWE decrypt with recipient limit and early exit
Catch potential error importing key and re-raise
Enforce strict validation for JWT claims
Unify JOSE header merging and validation
Add support for Python 3.15
Enforce canonical base64url decoding
Add functions to generate a similar key
ci: Update ppc64le workflow
cd9660 tests: Require the cd9660 kernel module
When cd9660(4) is not loaded and cannot be loaded, mount(8) fails
with ENODEV instead of the expected EINVAL, and cd9660_rrip_pr296853
fails rather than skips.
Reviewed by: jfree
Approved by: jfree
Fixes: 1a4c2eedad5b ("cd9660: Fix dereferencing invalid RR outlen ptr")
Sponsored by: Netflix
Pull Request: https://ron-dev.freebsd.org/FreeBSD/src/pulls/132
cd9660 tests: Require the cd9660 kernel module
When cd9660(4) is not loaded and cannot be loaded, mount(8) fails
with ENODEV instead of the expected EINVAL, and cd9660_rrip_pr296853
fails rather than skips.
Reviewed by: jfree
Approved by: jfree
Fixes: 1a4c2eedad5b ("cd9660: Fix dereferencing invalid RR outlen ptr")
Sponsored by: Netflix
Pull Request: https://ron-dev.freebsd.org/FreeBSD/src/pulls/132