[mlir][tosa] Shape operation level checks limited to MAX_SHAPE_LEN (#175020)
As a result of a recent specification change:
https://github.com/arm/tosa-specification/pull/29, the level checks for
TOSA shape operations are limited to MAX_SHAPE_LEN as opposed to
MAX_RANK. The reason for doing so is detailed in the specification
commit message.
This change also removes prior code which incorrectly checked all
`shapeTypes`, rather than checking the `shapeType` levels of just shape
operations, further aligning with the specification.
NAS-139196 / 26.04 / Standardize repr output for listen delegates (#18022)
## Problem
The output of the `repr` method in the **port listen delegate** is not
standardized.
As a result, **attachment delegates** can produce two different output
formats. Since the **Pydantic model** supports only a single output
structure, this inconsistency leads to **validation errors**.
## Solution
Standardize the output of the **listen delegate** so it always matches
the expected **Pydantic model**, ensuring consistent behaviour and
preventing validation errors.
[Delinearization] Enable `delinearize-use-fixed-size-array-heuristic` (#175770)
It's time to enable this option so we can take the next steps,
see also the discussion in #175173. I.e., this is required to see
if we can take advantage of the size of statically declared
arrays during delinearization.
interfaces: make Dnsmasq the default IPv6 provider (#9595)
* Services: Dnsmasq DNS & DHCP: Add default IPv6 configuration to config.xml.sample
An additional DHCP range constructs RA from the WAN prefix. LAN requires track interface for this to work.
ra-stateless will set the O and A bit, allowing clients to use SLAAC and optionally receive other options via DHCPv6.
Clients will not request a DHCPv6 address which is more inline with most client implementations, as SLAAC is the common supported choice.
The RDNSS option will be offered via eaf7630.
* Fix typo in constructor, an IPv6 address (GUA or ULA) must exist on the interface
* Add DHCPv6 range and change mode to allow client to have SLAAC and IA_NA at same time
* system: adjust dhcpv6 range with isc default
---------
Co-authored-by: Franco Fichtner <franco at opnsense.org>
[llvm][Support] Remove unnecessary allocations when creating StringEr… (#175863)
…rors
The String Error class has three constructors .
StringError::StringError(const Twine &S, std::error_code EC)
StringError::StringError(std::error_code EC, const Twine &S)
StringError::StringError(std::string &&S, std::error_code EC, bool
PrintMsgOnly)
When we use the `createStringError(std::error_code, char const *, ... )`
it ends up using twine variant and ends up creating a new string twice
[ADT][NFC] Expose fltSemantics struct (#175676)
This patch moves the `fltSemantics` struct definition (along with
`fltNonfiniteBehavior`
and `fltNanEncoding` enums) from APFloat.cpp to APFloat.h, making them
part of the
public API.
Currently, downstream projects cannot define custom floating-point
semantics because
`fltSemantics` is an opaque forward declaration in the header. This
forces projects
with specialized float formats to either patch LLVM locally or request
new formats be added upstream for each variant. By exposing the struct,
downstream users can define their own semantics.
[clang] Restore diagnostic for certain jumps into VLA(ish) scopes. (#175833)
Commit 543f112e148a enabled diagnostics for C++ compatibility for jumps
over initialization of variables. However, inadvertently this may cause
a prior diagnostic for jumps into scopes of variables with variably
modified types to be replaced with the less severe C++ compatibility
warning, resulting in impossible codegen.
This skips the check for the C++ compatibility warning if there is
already another diagnostic planned for the scope.
Fixes #175540
(cherry picked from commit ac15ac90e3ad3606b0a24de4c866b537fe41ceb7)
Revert "[LifetimeSafety] Merge lifetimebound attribute on implicit 'this' across method redeclarations (#172146)"
This caused assertion failures, see comment on the PR:
clang/lib/Sema/TypeLocBuilder.cpp:89:
TypeLoc clang::TypeLocBuilder::pushImpl(QualType, size_t, unsigned int):
Assertion `TLast == LastTy && "mismatch between last type and new type's inner type"' failed.
> Followup on https://github.com/llvm/llvm-project/pull/107627
> Fixes https://github.com/llvm/llvm-project/issues/62072
> Fixes https://github.com/llvm/llvm-project/issues/172013
> Fixes https://github.com/llvm/llvm-project/issues/175391
>
> This PR adds support for merging the `lifetimebound` attribute on the implicit `this` parameter when merging method declarations. Previously, if a method was declared with `lifetimebound` on its function type (which represents the implicit `this` parameter), this attribute would not be propagated to the method definition, causing lifetime safety warnings to be missed.
>
> The implementation adds helper functions to extract the `lifetimebound` attribute from a function type and to merge this attribute from an old method declaration to a new one when appropriate.
This reverts commit ef90ba684d012790c86ac1b5e7c6b325abe78803.
interface: multi-dhcp6c support and custom PD association #7647
This splits off rtsold and dhcp6c into separate processes
which frees us from the restrictions of faked iterative IDs
for PD associations. For NA we simply default to 0 now.
I'm not entirely sure why we settled for a single deamon of
dhcp6c back in the day, but there are certianly downsides to
it and I don't see something that wasn't fixed in the meantime
that makes this not work.
Update to 0.29
Upstream changes:
2025-12-09 Ricardo Signes <cpan at semiotic.systems>
* lib/Test/Unit.pm: version 0.29
* some cleanup of text of the code (whitespace, etc)
* update for 5.6 basics: use warnings, our $VAR
* MAJOR bug fix: Previously, non-Error-based exceptions could be lost during
test runs, causing tests to appear to pass, when they has only terminated
early. If the test worker was required for any subsequent test, it would
fail, but if no other test would run afterward, the problem could be
undetected.
2025-12-02 Ricardo Signes <cpan at semiotic.systems>
* lib/Test/Unit.pm: version 0.28
* replace tabs with spaces in a bunch of places
* no functional changes
[Delinearization] Precommit global decl test. NFC. (#175173)
This precommits a test that should demonstrate that Delinearization can
succeed when we analyse the size of the global variable definition.
[SPIRV] Added Support for the SPV_ALTERA_arbitrary_precision_floating_point Extension (#160054)
Added support for the SPV_ALTERA_arbitrary_precision_floating_point
extension, enabling all the arbitrary precision floating-point
operations with instruction definitions and test files.
[SPIRV] Added support for the constrained arithmetic(Fmuladd) intrinsic (#170270)
Added SPIR-V support for constrained arithmetic intrinsic fmuladd,
lowered as a sequence of OpFMul and OpFAdd with roundingmode, consistent
with the SPIR-V translator.