DragonFlyBSD/src 007001c — lib/libc/gen utmpx.c

libc: Minor style cleanups to utmpx.c
DeltaFile
+32-34lib/libc/gen/utmpx.c
+32-341 files

DragonFlyBSD/src 166068f — sys/kern vfs_nlookup.c

Revert "kern: Fix write-open "." or ".." to return EISDIR instead of EEXIST"

This reverts commit d5838e7c8154895375e3f278fa0c03a2b913132c.

That change broke mkdir() and maybe others, causing them to return
the wrong EISDIR instead of EEXIST. For example:

```
% mkdir .
mkdir: .: Is a directory
```

We'll need to fix the original issue in another way.

Reported-by: swildner, mneumann
DeltaFile
+1-1sys/kern/vfs_nlookup.c
+1-11 files

DragonFlyBSD/src 36cadcb — lib/libc/gen utmpx.c

pututxline(3): Improve lastlogx struct setup for updlastlogx()

* Additionally fill 'll_ss' field.
* Use bounded strlcpy() to be future-proof.
DeltaFile
+3-2lib/libc/gen/utmpx.c
+3-21 files

DragonFlyBSD/src 8010ac5 — lib/libc/gen endutxent.3 utmpx.c

setutxdb(3): Support UTX_DB_LASTLOGX to read last login records

Before this fix, setutxdb(3) returned EINVAL for choosing
UTX_DB_LASTLOGX, so getutxuser() was unable to get last login records
from the lastlogx(5) database.  This exact problem caused sshd(8)
failing to print the 'Last login' message on login.

Fix setutxdb(3) to support UTX_DB_LASTLOGX.  Note that the lastlogx(5)
database is a Berkeley DB hash keyed by uid and uses the 'lastlogx'
struct.

Assisted-by: DeepSeek-v4.1-flash (with Pi Coding Agent)
DeltaFile
+102-17lib/libc/gen/utmpx.c
+21-10lib/libc/gen/endutxent.3
+123-272 files

LLVM/project 1491508 — mlir/include/mlir/Dialect/LLVMIR LLVMOpBase.td LLVMOps.td, mlir/lib/Dialect/LLVMIR/IR LLVMDialect.cpp

[mlir][LLVM] Add ignore_denormal_mode UnitAttr to LLVM::AtomicRMWOp (#217588)

Add an `ignore_denormal_mode` unit attribute to `llvm.atomicrmw`. It
maps 1:1 to the target-independent `!atomic.ignore.denormal.mode`
instruction metadata (#217585): export attaches the metadata when the
attribute is set, and import sets the attribute when the metadata is
present.

The metadata tells the backend that the atomic may ignore the function's
denormal mode, so a native atomic instruction with fixed denormal
behavior can be used instead of a CAS loop. AMDGPU already honors it,
and NVPTX does as of #217586. Until now MLIR could only produce it on
AMDGPU, through the discardable `rocdl.ignore_denormal_mode` attribute.
That leaves frontends like XLA with no way to request it for NVPTX, and
forces target-specific code for something that is target-independent in
LLVM IR.

The attribute is modeled like `volatile_`: an inherent unit attribute
with an optional `ignore_denormal_mode` keyword in the assembly format

    [12 lines not shown]
DeltaFile
+22-5mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
+8-7mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
+8-0mlir/test/Dialect/LLVMIR/invalid.mlir
+7-0mlir/include/mlir/Dialect/LLVMIR/LLVMOpBase.td
+4-0mlir/test/Target/LLVMIR/Import/instructions.ll
+4-0mlir/test/Dialect/LLVMIR/roundtrip.mlir
+53-121 files not shown
+55-127 files

LLVM/project 9612cc2 — llvm/lib/Target/AArch64 AArch64InstrFormats.td, llvm/lib/Target/AArch64/AsmParser AArch64AsmParser.cpp

fixup! Also rename the tablegen and case names, and re-order the DiagnosticType so it matches the operand name
DeltaFile
+74-74llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+37-36llvm/lib/Target/AArch64/AArch64InstrFormats.td
+111-1102 files

FreeBSD/doc 489a184 — website/themes/beastie/layouts home.html

Website - home: Fix HTML warnings

PR:     297509
DeltaFile
+6-6website/themes/beastie/layouts/home.html
+6-61 files

LLVM/project 5621ea5 — llvm/lib/CodeGen RegAllocGreedy.h RegAllocGreedy.cpp

RegAllocGreedy: Skip redundant hint recoloring walks

Each broken hint starts a walk over its copy-connected registers. When
many broken hints share one large component, as happens after PHI
elimination splits many critical edges into a block, the same component
is walked over and over, which is quadratic.

A walk that recolors nothing changes no assignments, so a later walk
from any register it reached would also recolor nothing. Skip those
seeds until the next recoloring.

On a stress test with 4000 split critical edges, Greedy drops from 40.8G
to 3.8G instructions.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+17-3llvm/lib/CodeGen/RegAllocGreedy.cpp
+1-1llvm/lib/CodeGen/RegAllocGreedy.h
+18-42 files

LLVM/project 8e02f08 — llvm/lib/Analysis InstructionSimplify.cpp, llvm/lib/Transforms/InstCombine InstCombineCalls.cpp

Implement in Simplify
DeltaFile
+10-20llvm/test/Transforms/InstSimplify/fptoi-sat.ll
+17-0llvm/lib/Analysis/InstructionSimplify.cpp
+0-14llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
+27-343 files

LLVM/project bd737a9 — llvm/lib/Transforms/InstCombine InstCombineCalls.cpp

[InstCombine] Fold fpto[su]i.sat of NaN guarded select

fpto[su]i.sat returns 0 for both NaN and $\pm 0.0$, so a select that
replaces a NaN input with zero does not change the result, and the call
can take X directly.

```llvm
%not.nan = fcmp ord float %x, 0.0
%sel = select i1 %not.nan, float %x, float 0.0
%r = call i32 @llvm.fptosi.sat.i32.f32(float %sel)
  -->
%r = call i32 @llvm.fptosi.sat.i32.f32(float %x)
```

The inverted form `select (fcmp uno X, 0.0), 0.0, X` is folded too.
Only the canonical `fcmp ord/uno X, 0.0` is matched, which also covers
`oeq/une X, X` after fcmp canonicalization.
DeltaFile
+16-1llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
+16-11 files

LLVM/project a35d563 — llvm/test/Transforms/InstSimplify fptoi-sat.ll

[InstCombine] Add tests for fpto[su]i.sat of NaN guarded select. NFC

fpto[su]i.sat returns 0 for NaN and +/-0.0, so the select is redundant.
Cover ord/oeq/uno/une checks, scalar and vector, and negative cases.
DeltaFile
+163-0llvm/test/Transforms/InstSimplify/fptoi-sat.ll
+163-01 files

LLVM/project 368f3f8 — llvm/lib/CodeGen/AsmPrinter DbgEntityHistoryCalculator.cpp

[DebugInfo] Skip debug history clobber scans without register locations (NFC) (#230590)

Improves compile-time across all debug configurations.

CTMark results [1]:

- stage1-O0-g -0.35%
- stage1-aarch64-O0-g -0.37%
- stage2-O0-g -0.36%

[1] https://llvm-compile-time-tracker.com/compare.php?from=fc90bd3cfb0bab14a2bf7cbd33f5f1e904c7e133&to=46ed6c07b21098bf8299e05bfeb4ccf433d5d807&stat=instructions:u

Assisted-by: codex
DeltaFile
+4-0llvm/lib/CodeGen/AsmPrinter/DbgEntityHistoryCalculator.cpp
+4-01 files

LLVM/project 3261d9d — clang/lib/CIR/CodeGen CIRGenDecl.cpp CIRGenModule.h, clang/test/CIR/CodeGenHIP spirv-constant-addrspace.hip

[CIR][HIP][SPIR-V] Emit constant globals in addrspace(1) (#230813)

CIR treated HIP `__constant__` like OpenCL constant, which is
addrspace(2) on SPIR-V

Align behavior with classic codegen
DeltaFile
+38-0clang/test/CIR/CodeGenHIP/spirv-constant-addrspace.hip
+17-5clang/lib/CIR/CodeGen/CIRGenModule.cpp
+2-2clang/lib/CIR/CodeGen/CIRGenDecl.cpp
+4-0clang/lib/CIR/CodeGen/CIRGenModule.h
+61-74 files

LLVM/project a84637d — llvm/lib/Target/SystemZ SystemZISelLowering.cpp SystemZISelLowering.h

SystemZ: Move getPreferredVectorAction out of line (NFC) (#231093)

Shrink the diff in a future change.
DeltaFile
+2-23llvm/lib/Target/SystemZ/SystemZISelLowering.h
+24-0llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
+26-232 files

LLVM/project ec14118 — llvm/lib/Target/Mips MipsSetMachineRegisterFlags.cpp MipsSEInstrInfo.cpp, llvm/test/CodeGen/Mips fpbr.ll r6-fp-condition-subregs.ll

[Mips] Fix R6 floating-point condition register handling (#226838)

Sharing a predicate between R6 floating-point selects can produce copies
between incompatible register classes and crash in copyPhysReg. The
condition classes model both CMP.S and CMP.D results as i32, despite the
instructions writing 32-bit and 64-bit FPRs respectively.

Use ordinary FPR classes for compare results and tied select operands.
Represent the legalized i32 condition with a same-width copy for CMP.S
and a low-word subregister for CMP.D. Insert the condition into the low
word for SEL.D, leaving the unused upper word undefined. This lets
register coalescing handle shared predicates and mixed-precision users,
removing the special condition classes, copy heuristics and
register-flags pass.

Select BC1EQZ/BC1NEZ directly for FP comparison conditions, including
their microMIPS counterparts, and support them in branch analysis. These
branches read bit zero, avoiding a GPR transfer and boolean
normalization. Fold normalization of known 0/-1 masks into zero/nonzero

    [14 lines not shown]
DeltaFile
+434-0llvm/test/CodeGen/Mips/r6-fp-branch.ll
+217-0llvm/test/CodeGen/Mips/r6-fp-condition-subregs.ll
+103-62llvm/lib/Target/Mips/Mips32r6InstrInfo.td
+24-116llvm/lib/Target/Mips/MipsSEInstrInfo.cpp
+0-111llvm/lib/Target/Mips/MipsSetMachineRegisterFlags.cpp
+47-40llvm/test/CodeGen/Mips/fpbr.ll
+825-32920 files not shown
+975-49626 files

LLVM/project ee5fc90 — clang/lib/AST/ByteCode EvaluationResult.cpp, clang/test/AST/ByteCode invalid.cpp

[clang][bytecode] Check for invalid record decls when returning a pointer from an evaluation (#230907)

We do allow creating such records for diagnostic purposes, but we
shouldn't allow returning them from an evaluation.
DeltaFile
+11-0clang/test/AST/ByteCode/invalid.cpp
+5-0clang/lib/AST/ByteCode/EvaluationResult.cpp
+16-02 files

LLVM/project 054e658 — llvm/include/llvm/TableGen Record.h, llvm/lib/TableGen Record.cpp

TableGen: Cache resolved class instantiations

The same class instantiation is often referenced many times in one
record, and each reference was resolved from scratch along with
everything nested in its arguments. Cache the results in MapResolver and
RecordResolver, and share them with any TrackUnresolvedResolver wrapping
those.

Gigainstructions executed by llvm-tblgen --null-backend

             before   after
  AMDGPU.td   71.75   18.22  -74.6%
  X86.td       6.10    6.15   +0.8%
  AArch64.td   3.28    3.32   +1.3%
  RISCV.td     8.18    8.26   +1.0%

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+138-3llvm/include/llvm/TableGen/Record.h
+14-4llvm/lib/TableGen/Record.cpp
+152-72 files

LLVM/project c4488bc — llvm/include/llvm/TableGen Record.h, llvm/lib/TableGen Record.cpp

TableGen: Skip resolving values that cannot change (#231083)

Lists, dags, bits and arguments made only of leaf values always resolve
to themselves, but resolving them still walked every element. Record
this when they are created and return early.

Gigainstructions executed by llvm-tblgen --null-backend

|             |before |after |      |
|-------------|-------|------|------|
|  AMDGPU.td  |79.12  |71.73 | -9.3%|
|  X86.td     | 6.25  | 6.12 | -2.1%|
|  AArch64.td | 3.40  | 3.28 | -3.7%|
|  RISCV.td   | 8.34  | 8.19 | -1.8%|

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+18-2llvm/include/llvm/TableGen/Record.h
+19-0llvm/lib/TableGen/Record.cpp
+37-22 files

LLVM/project dc6d254 — llvm/include/llvm/IR RuntimeLibcalls.td

RuntimeLibcalls: Fix wrong types of some vector math functions

The f32 x86 libmvec __expf_finite, __logf_finite and __powf_finite
variants were assigned to the f64 libcalls, and amd_vrd4_erf and
amd_vrd8_erf to the f32 ones.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+10-13llvm/include/llvm/IR/RuntimeLibcalls.td
+10-131 files

OPNSense/core 2881fb1 — src/opnsense/mvc/app/views/layouts default.volt, src/www head.inc

ui: close mobile menu when a menu entry opens another tab of the current page (#10942)
DeltaFile
+3-0src/www/head.inc
+3-0src/opnsense/mvc/app/views/layouts/default.volt
+6-02 files

LLVM/project b3256ae — llvm/docs LangRef.md, llvm/include/llvm/Analysis Loads.h

[VectorCombine] Ignore frees when checking dereferenceability for load widening (#218657)

For load widening, we can ignore frees in dereferenceability checks: The
presence of the load proves that the object cannot have been freed.

The only concern here is in-place shrinkage of allocations. In that
case, it could be that the object is no longer dereferenceable for the
wide load type, but still dereferenceable for the narrow load type.

LangRef currently does not allow shrinking allocations. We discussed
whether we plan to allow this in the future in a recent formal spec WG
meeting, and I believe there was a quite strong consensus that we do not
want to allow shrinking allocations in the future. I believe that
follow-up discussions on the Rust side also failed to produce any
compelling use-cases.

So this PR makes use of the fact that allocations can't shrink in
VectorCombine.
DeltaFile
+58-0llvm/test/Transforms/VectorCombine/X86/load-inseltpoison.ll
+10-3llvm/lib/Transforms/Vectorize/VectorCombine.cpp
+7-5llvm/lib/Analysis/Loads.cpp
+4-2llvm/include/llvm/Analysis/Loads.h
+2-2llvm/docs/LangRef.md
+81-125 files

LLVM/project c3af28d — llvm/lib/CodeGen/SelectionDAG TargetLowering.cpp, llvm/test/CodeGen/AVR expand-wide-mul.ll

[SDAG] Don't expand forceExpandWideMUL to libcall with unsuitable types. (#230522)

When the wide type is legal or the narrow type isn't, emit a wide MUL
and let it legalise normally to avoid setting up the call incorrectly.

This came up while doing more testing with [su]mulh intrinsics. It seems
it could also be triggered with umulfix, for instance.
DeltaFile
+63-0llvm/test/CodeGen/AVR/expand-wide-mul.ll
+15-0llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+78-02 files

FreeBSD/ports 24adb56 — audio/sidplayfp Makefile distinfo

audio/sidplayfp: Update to 3.2.2
DeltaFile
+3-3audio/sidplayfp/distinfo
+1-1audio/sidplayfp/Makefile
+4-42 files

FreeNAS/freenas 63b25f2 — tests/api2 test_s3_bucket.py

Fix force_disable_versioning object lock test

## Problem
`sharing.s3.force_disable_versioning` refuses a bucket with object lock by raising a single `ValidationError`, which the API client re-raises as that same class. The test expected `ValidationErrors`, so the refusal escaped `pytest.raises` and the test failed.

## Solution
Catch `ValidationError` and assert on its `errmsg` directly. The latch xattr is now set with `os.setxattr` through `python3` over ssh instead of `setfattr`, following the precedent in `tests/sharing_protocols/smb/test_smb_protocol_base.py`, which sets xattrs on the remote host the same way.
DeltaFile
+9-6tests/api2/test_s3_bucket.py
+9-61 files

FreeBSD/ports 9cfbd7f — mail/mlmmj-webview Makefile distinfo

mail/mlmmj-webview: update to 0.2.0

Harden some input validations
DeltaFile
+3-3mail/mlmmj-webview/distinfo
+1-1mail/mlmmj-webview/Makefile
+4-42 files

FreeBSD/doc baabff3 — website/themes/beastie/layouts/_partials site-footer.html

Website - Footer: Fix HTML validation errors

PR:     297509
DeltaFile
+4-4website/themes/beastie/layouts/_partials/site-footer.html
+4-41 files

NetBSD/pkgsrc 8dSUSdS — lang/wasi-libc Makefile

   wasi-libc: needs wasm-ld, so tool-depend on lld package
VersionDeltaFile
1.30+3-1lang/wasi-libc/Makefile
+3-11 files

FreeBSD/ports 135d22a — security/git-credential-gopass Makefile distinfo

security/git-credential-gopass: Update to 1.17.4
DeltaFile
+7-7security/git-credential-gopass/distinfo
+1-2security/git-credential-gopass/Makefile
+8-92 files

FreeBSD/ports a6d3cc9 — x11-fm/xfe Makefile distinfo

x11-fm/xfe: Update to 2.1.12
DeltaFile
+3-3x11-fm/xfe/distinfo
+1-1x11-fm/xfe/Makefile
+4-42 files

OpenBSD/src ZWyBlWz — usr.bin/tmux grid.c

   Do not treat compact padding cells as width 1, make them width 0. GitHub
   issue 5718 from dustgle at gmail dot com.
VersionDeltaFile
1.160+6-3usr.bin/tmux/grid.c
+6-31 files