[mlir][linalg] Fix splat fold crash on non-TypedAttr element types (#218012)
`getScalarConstantAttrFromDenseSplat` returns
`getSplatValue<TypedAttr>()`, which for a derived attribute type is an
unchecked `llvm::cast`. Complex element types store their splat as an
`ArrayAttr` of two values, and `ArrayAttr` does not implement
`TypedAttr`, so the cast asserts on
%cst = arith.constant dense<(1.0,2.0)> : tensor<3xcomplex<f32>>
%0 = linalg.broadcast ins(%cst : tensor<3xcomplex<f32>>)
outs(%init : tensor<2x3xcomplex<f32>>) dimensions = [0]
under `mlir-opt --canonicalize`. Integer and float splats yield
`IntegerAttr`/`FloatAttr`, which are `TypedAttr`, so only non-scalar
element types are affected.
Guard with a `dyn_cast` and decline the fold when the splat value has no
`TypedAttr` representation. The helper is shared by the broadcast
pattern added in PR 195980 and the transpose patterns added in PR
195991, so both call sites are fixed; a test is added for each, as the
transpose case was not previously covered.
Interfaces: Wireless: Devices - Migrate to MVC code, first phase for https://github.com/opnsense/core/issues/10751 (#10782)
This commit just replaces the existing (rather minimal) wireless clone configuration section with an mvc implementation, so we have a landing spot for the actual settings later.
Impact of this change should be relatively low and easy to merge to production as it doesn't change configuration settings.
To not impact the weirdness with "Persist common settings", we currently only overlay the clone property in the wireless container.
[libc++] Implement single element vector::insert in terms of emplace (#210284)
This also ports an optimization to `emplace`: if we copy/move construct
the element we can avoid constructing a temporary.
[libc++] Revert extra-attempts to original value (#218416)
This reverts ab4cccdf16 now that lnt.llvm.org is stable, the bots have
caught up and all machines have data for all the commits.
[GlobalISel][NFC] Remove incorrect attempt to find fewest uses (#218037)
When folding: `(fadd (fma x, y, (fmul u, v)), z) -> (fma x, y, (fma u,
v, z))` remove code that was looking for the addend with the fewest uses
in an expression of the form `(fadd (fmul u, v), (fmul x, y))`. This is
a mismatch and also subsequent code already only allows optimization if
the fma and fmul each have only one non-debug use.
Also fix incorrect comment when looking for the operand with fewest uses
in (fsub (fmul u, v), (fmul x, y)).
---------
Signed-off-by: John Lu <John.Lu at amd.com>
mail/phpmailer: Deprecate and set expiration date
Upstream states that PHPMailer 5.2 is no longer supported, even for security
updates. The last release v5.2.28 and the final commit on the 5.2-stable
branch both date from March 2020. Switch to mail/phpmailer6 or
mail/phpmailer7, both of which are maintained.
MFH: 2026Q3
Sponsored by: Netzkommune GmbH
(cherry picked from commit c74ee35e2f9476ee34fde527f3801a5ae4dd6b74)
Revert "[AssumptionCache] Limit the number of assumptions inspected p… (#218390)
Reverts llvm/llvm-project#217525
A new check introduced in a frequently executed code path affected the
build performance.
mail/phpmailer: Deprecate and set expiration date
Upstream states that PHPMailer 5.2 is no longer supported, even for security
updates. The last release v5.2.28 and the final commit on the 5.2-stable
branch both date from March 2020. Switch to mail/phpmailer6 or
mail/phpmailer7, both of which are maintained.
MFH: 2026Q3
Sponsored by: Netzkommune GmbH
www/{nginx,nginx-devel,freenginx}: 3rd-party modules management
Point the MODSECURITY3 option at the owasp-modsecurity account, which now
hosts ModSecurity-nginx; the SpiderLabs path only works through GitHub's
redirect. Pin all three ports to the same commit 9eb44fd; they carried
v1.0.3, fd28e6a and v1.0.3.
Also restore two mangled lines in the freenginx MODSECURITY3 branch, which
had lost their first character, leaving the port without --with-ld-opt and
without the pcre2 dependency when the option was on.
Sponsored by: Netzkommune GmbH
security/modsecurity3-nginx: Switch to the owasp-modsecurity account
The ModSecurity-nginx repository now lives in the owasp-modsecurity
organisation; the SpiderLabs path only works through GitHub's redirect.
Move the pin from e6a568a to 9eb44fd, the current master, which is what the
nginx ports use as well.
Sponsored by: Netzkommune GmbH
devel/py-schematics-patched: Deprecate/Set to expire
* Upstream is inactive since +8 years and there are no more consumers
left in the tree.
* Bump PORTREVISION to force a rebuild so that users get informed about
the deprecation.
MFH: 2026Q3
(cherry picked from commit e4ce5a57d22cb3996a10d845bc7c56c3f700138c)
devel/py-schematics-patched: Deprecate/Set to expire
* Upstream is inactive since +8 years and there are no more consumers
left in the tree.
* Bump PORTREVISION to force a rebuild so that users get informed about
the deprecation.
MFH: 2026Q3