[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 and
lowering share one FenvAttr::canIgnoreExceptions() check (masked and not
strict, lowered to fpexcept.ignore), so 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).
[SLP] NFC: make candidate state ownership explicit (#229846)
BoUpSLP contains a mixture of state which relates to the current
candidate and state which persists beyond its lifetime. Gather this
state onto a new CandidateState object which belongs to BoUpSLP.
[C23] Issue 1033 is Not a Defect rather than Fixed (#245581)
I verified offline that this went from Review to Closed and not from
Review to Fixed status; no impact on Clang as this is a library issue.
Services: Kea DHCPv4: add BOOTP boot settings for DHCPv4 subnets and reservations (#11305)
* Services: Kea DHCPv4: add BOOTP boot settings for DHCPv4 subnets and reservations
Add server hostname and boot filename fields mapped directly to Kea's
BOOTP parameters. Group them with next server under Boot settings,
separate from DHCP option data.
[SPIRV] Enable NSDI features by default for AMD
Enable -spirv-debug-lexical-block-discriminator-scope,
-spirv-debug-scope-forward-refs and -spirv-debug-declare-untyped-variable
when the target vendor is AMD.
Fix link-local nexthop calculation for P2P networks
The information used to lookup the link LSA of a router depends on the
rtr_link type. For transit networks the nbr_rtr_id and nbr_iface_id are
set to the DR rtr_id and iface_id. In that case the adv_rtr and iface_id
of that router need to be used for the lookup. For p2p and virtual links
the nbr_rtr_id and nbr_iface_id need to be used instead.
This fixes a case where wrong nexthops were selected for p2p links.
Also fix rt_nexthop_add and compare not only the nexthop address but also
the interface index aka scope since all nexthops are link-local and IPv6
is such a beautiful creature that needs scopes.
Based on a report and diff tested by Kapetanakis Giannis (bilias at edu.physics.uoc.gr)
[StackColoring] Don't merge slots into zero-sized allocas (#239612)
StackColoring merges AllocaInst on basis of stack object size. But a 1
byte AllocaInst and a 0 byte AllocaInst will both have stack object size
of 1 byte. If StackColoring merges the two AllocaInsts such that the
surviving alloca has size 0, the accesses of the AllocaInst which had 1
byte size are then described by a 0 byte object, so BasicAA reports
NoAlias, and the machine scheduler can reorder accesses which break
program behaviour.
This change fixes the issue by preventing merging into slots with
zero-sized AllocaInst
Assisted-by: Opus 5.5
---------
Co-authored-by: Nathan Corbyn <n_corbyn at apple.com>
mkvtoolnix: updated to 104.0
Version 104.0 "Chimera" 2026-11-22
Bug fixes
* build system: fixed a syntax error with the upcoming Ruby 4.1.0.
* mkvmerge: AVC/H.264, HEVC/H.265, VC-1, MPEG-1/2 video: when calculating
timestamps for frames for which the source container doesn't provide a
timestamp (e.g. when reading elementary streams, or for container types
where exact timestamps are only available for some of the frames such as
MPEG transport/program streams) the timestamps will now be calculated from
the stream's last provided timestamp and the frame timing information in the
bitstream if that information is present. Fixes timestamp calculation being
off by 1ms between what mkvmerge calculates based on nanoseconds vs. what
the bitstream's internal clock says. Patch by wingedonezero.
* mkvmerge: AVC/H.264: fix bitstream timing information: when `60000/1001p` is
selected the wrong rational `120/1` was written to the bistream. Fixed to
write `120.000/1.001` instead.
[25 lines not shown]
[offload][debug] Add REPORT_WARN and REPORT_FATAL macros
Add two new macros in the same style as REPORT(). REPORT_WARN prints a warning,
while REPORT_FATAL prints a fatal error and exits the program with status 1.
Assisted-by: Claude Sonnet 5.5
[SPIRV] Add flag to allow OpUntypedVariableKHR in DebugDeclare
NonSemantic.Shader.DebugInfo requires DebugDeclare's Variable operand to be
an OpVariable, so accepting an OpUntypedVariableKHR is not allowed.
Add -spirv-debug-declare-untyped-variable, off by default, to allow it.
Correctly handle VPN import into the FIB
If a VPN route was imported into the FIB and a later update changes the
import to exclude that route the route is not correctly withdrawn from the
FIB. The problem is that only the new prefix is checked for import and
simply skipped the insertion if it is not selected for import.
Add the missing check which deletes a possible old entry if it was imported
before.
Reported by N0zoM1z0 PR#181
OK tb@
[OMPIRBuilder] Assert that runtime calls have a debug location (#234676)
We recently fixed issues in multiple PRs (#211254, #217407, #218961,
#220605, #221253, #221303, #221842, #228622, #233934) where the debug
location was missing from a call to an OpenMP runtime function. This is
not a problem as such, and the verifier does not catch it while the
runtime function is only a declaration. But it becomes an error at link
time when a device runtime built with debug information is linked in, as
the verifier then requires these calls to have a location.
This patch asserts that no such call exists in the IR. That helps us
avoid these fixes regressing, and stops new code from adding the problem
back. The check only runs in assertions builds, when finalize() is
called for the whole module.
Some unit tests needed adjusting as they did not use a debug location on
the calls.
Assisted By: Cursor
Services: Kea DHCPv4: add BOOTP boot settings for DHCPv4 subnets and reservations
Add server hostname and boot filename fields mapped directly to Kea's
BOOTP parameters. Group them with next server under Boot settings,
separate from DHCP option data.