LLVM/project 1f1e888 — clang/include/clang/Basic DiagnosticParseKinds.td, clang/test/Parser c2y-if-decl-while.c

[Clang][C2y] Make the 'if' declaration extension warning on by default

Declarations in the condition of 'if' and 'switch' statements (N3356)
were previously only diagnosed in pre-C2y modes under -pedantic, since
the C compatibility warnings default to Extension. Promote the
diagnostic to an ExtWarn so users on older language modes are told
they are relying on a C2y extension; -Wno-c2y-extensions silences it.

Co-Authored-By: Claude Fable 5.1 <noreply at anthropic.com>
DeltaFile
+4-0clang/test/Parser/c2y-if-decl-while.c
+2-1clang/include/clang/Basic/DiagnosticParseKinds.td
+6-12 files

LLVM/project b0499a4 — clang/lib/Parse ParseStmt.cpp

[Clang][C2y] Simplify condition-declaration diagnostics in C

Key the diagnostics on whether a declaration is permitted as the
condition (only as the sole clause of an 'if' or 'switch'), so the two
"expected expression" emissions collapse into one and the first-clause
check is no longer nested inside the branching. No functional change.

Co-Authored-By: Claude Fable 5.1 <noreply at anthropic.com>
DeltaFile
+19-21clang/lib/Parse/ParseStmt.cpp
+19-211 files

LLVM/project 346da8d — clang/include/clang/StaticAnalyzer/Core/PathSensitive CheckerContext.h

[analyzer] Default to fresh state in addTransitionImpl (#234123)

When `CheckerContext::addTransitionImpl` is called with a null `State`,
it defaulted to using the state of the node that was passed to the
constructor of `CheckerContext` -- even if the parent of the new node
(`P`) was another more recent node.

This logic could have "jumped back" to a slightly older, obsolete state
in the case when the state of `P` was distinct from the state of the
node that was passed to the constructor of `CheckerContext`. I did not
observe this in practice (and I verified that it never happens among the
LIT tests), but it is better to completely rule it out.

Using the state of `P` should be a very safe fallback choice, so I don't
expect disruptions from this change. A checker has to be _very_ buggy if
this change (i.e. _not_ forgetting its state updates) triggered buggy
behavior in it.
DeltaFile
+1-5clang/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h
+1-51 files

LLVM/project 6368446 — llvm/lib/Target/AArch64 AArch64FrameLowering.cpp, llvm/test/CodeGen/AArch64 sme-vg-to-stack.ll sme2-intrinsics-int-dots.ll

[AArch64] Enable quad variant st1b/ld1b for callee-saved spills (#225100)

Currently, only the pair variant is generated by callee-saved spills.
Generate quad variants when:
- 4 consecutive registers  (example: z8, z9, z10, z11)
- First register will be divisible by 4. (example: z8)
- Offset will be divisible by 4. (example: 4, mul vl)
- Offset in range -32 to 28

A correction was also made in the expensive checks block, where I
corrected the c.Reg1 == PPR to c.Type == PPR
DeltaFile
+192-368llvm/test/CodeGen/AArch64/sme2-intrinsics-ldnt1.ll
+192-368llvm/test/CodeGen/AArch64/sme2-intrinsics-ld1.ll
+38-76llvm/test/CodeGen/AArch64/sve-callee-save-restore-pairs.ll
+84-27llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
+16-32llvm/test/CodeGen/AArch64/sme2-intrinsics-int-dots.ll
+12-24llvm/test/CodeGen/AArch64/sme-vg-to-stack.ll
+534-8957 files not shown
+559-94013 files

NetBSD/src B3ea6ZQ — usr.bin/seq seq.c

   Fix compilation warning -Wdiscarded-qualifiers
VersionDeltaFile
1.16+2-2usr.bin/seq/seq.c
+2-21 files

FreeNAS/freenas dbd5d42 — src/middlewared/middlewared/plugins/service_/services base_interface.py webshare.py

Handle webshare sidecar units rate limits

(cherry picked from commit c5ed15fbc7506dff45961547262fed7de248bcbe)
DeltaFile
+9-0src/middlewared/middlewared/plugins/service_/services/base.py
+6-0src/middlewared/middlewared/plugins/service_/services/webshare.py
+1-0src/middlewared/middlewared/plugins/service_/services/base_interface.py
+16-03 files

FreeNAS/freenas 70b1e7e — src/middlewared/middlewared/test/integration/assets webshare.py, tests/api2 test_webshare.py

Wait for webshare link service to be up
DeltaFile
+11-9src/middlewared/middlewared/test/integration/assets/webshare.py
+1-0tests/api2/test_webshare.py
+12-92 files

LLVM/project 899f3a8 — llvm/lib/Transforms/Instrumentation HWAddressSanitizer.cpp, llvm/test/Instrumentation/HWAddressSanitizer disable-sanitizer-instrumentation.ll

[Sanitizers] Update more sanitizers to respect disable_sanitizer_instr (#233596)

Update various sanitizer to respect disable_sanitizer_instrumentation
and not instrument such functions.

In preparation to use it to avoid instrumenting oracle functions,
see https://github.com/llvm/llvm-project/pull/226669.

PR: https://github.com/llvm/llvm-project/pull/233596
DeltaFile
+16-0llvm/test/Instrumentation/HWAddressSanitizer/disable-sanitizer-instrumentation.ll
+14-0llvm/test/Instrumentation/Instrumentor/disable-sanitizer-instrumentation.ll
+14-0llvm/test/Instrumentation/TypeSanitizer/disable-sanitizer-instrumentation.ll
+14-0llvm/test/Instrumentation/RealtimeSanitizer/disable-sanitizer-instrumentation.ll
+14-0llvm/test/Instrumentation/NumericalStabilitySanitizer/disable-sanitizer-instrumentation.ll
+5-1llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
+77-14 files not shown
+87-110 files

FreeBSD/ports 8eadfb9 — games/LibreMines Makefile distinfo

games/LibreMines: update to 3.0.0

Also drop gl from USE_GL, only libOpenGL is linked.

Changelog:      https://github.com/Bollos00/LibreMines/releases/tag/v3.0.0
DeltaFile
+3-3games/LibreMines/distinfo
+2-2games/LibreMines/Makefile
+5-52 files

FreeBSD/ports a83f2fb — security/zeek/files patch-auxil_spicy_3rdparty_fiber_CMakeLists.txt patch-auxil_spicy_3rdparty_fiber_include_fiber_fiber__mach.h

security/zeek: fix build on powerpc64

The 9.0.0 update dropped the powerpc64 patches from 144863452393. Bring back
the ones still needed: the VSX hash kernel stays off on big-endian (it
computes wrong hashes there) and the bundled fiber library enables its
ppc64 ELFv2 assembly on big-endian too (upstream simonfxr/fiber
dc084920bc81). The hilti stack-direction change is upstream now.
DeltaFile
+36-0security/zeek/files/patch-auxil_highwayhash_highwayhash_instruction__sets.h
+16-0security/zeek/files/patch-src_CMakeLists.txt
+15-0security/zeek/files/patch-auxil_spicy_3rdparty_fiber_CMakeLists.txt
+15-0security/zeek/files/patch-auxil_spicy_3rdparty_fiber_include_fiber_fiber__mach.h
+82-04 files

FreeBSD/ports 2654dbb — lang/fpc-wasip1-devel/files patch-compiler_systems_i__bsd.pas

lang/fpc-wasip1-devel: fix build on powerpc64le

fpc only marks a FreeBSD/powerpc64 host as little endian when building
the native compiler. The wasm32 cross compiler misses that, thinks it's
cross-endian and wants llvm-mc. Test the CPU define instead, like the
Linux target does.
DeltaFile
+11-0lang/fpc-wasip1-devel/files/patch-compiler_systems_i__bsd.pas
+11-01 files

FreeBSD/ports 6d1bbf3 — devel/sccache Makefile

devel/sccache: enable on powerpc64*

ring 0.17 supports 64-bit PowerPC, the old restriction no longer applies.
DeltaFile
+1-1devel/sccache/Makefile
+1-11 files

FreeBSD/ports ee1867a — sysutils/bareos24-server Makefile

sysutils/bareos24-server: enable on powerpc64*
DeltaFile
+1-1sysutils/bareos24-server/Makefile
+1-11 files

FreeBSD/ports 3325b8a — multimedia/vapoursynth Makefile

multimedia/vapoursynth: enable on powerpc64*

Switch the 64-bit-only gate to NOT_FOR_ARCHS.
DeltaFile
+2-2multimedia/vapoursynth/Makefile
+2-21 files

FreeBSD/ports cf6e54c — net-p2p/pulsar-client-cpp Makefile

net-p2p/pulsar-client-cpp: enable on powerpc64*

-mcrc32 and -mpclmul are x86-only flags; upstream has a software CRC32C
fallback for other architectures.
DeltaFile
+3-2net-p2p/pulsar-client-cpp/Makefile
+3-21 files

FreeBSD/ports f43b364 — sysutils/reptyr distinfo Makefile

sysutils/reptyr: enable on powerpc64*

Add the powerpc64 ptrace backend: syscall number in r0, arguments in
r3-r8, PC rewound by one instruction after the stub.  Merged upstream
as 59aa0dcb9911.
DeltaFile
+4-1sysutils/reptyr/Makefile
+3-1sysutils/reptyr/distinfo
+7-22 files

LLVM/project 186e70f — clang-tools-extra/clangd/refactor/tweaks ExtractFunction.cpp, clang-tools-extra/clangd/unittests/tweaks ExtractFunctionTests.cpp

[clangd] Extract to function: Suppress pure forwarding wrappers (#232654)

Extracting a single statement that's just a lone call (or a return of
one), where every operand that would need to become a parameter is
already exactly that parameter value unchanged, produces nothing but a
renamed call: `foo(x);` becomes `void extracted(int x) { foo(x); }`
called as `extracted(x);`, with no abstraction gained. A value-less
`return;` is the same kind of no-op: there's nothing to abstract over
at all. Both are now rejected.

This is deliberately narrow and per-operand, not a naive argument-count
check: `foo(100)` (a literal), `foo(globalVar)` (an already-visible
global), and `foo(x + y)` (real computation) are all still offered,
since each does something a plain rename wouldn't.

Assisted-by: Claude Code
DeltaFile
+303-17clang-tools-extra/clangd/unittests/tweaks/ExtractFunctionTests.cpp
+143-3clang-tools-extra/clangd/refactor/tweaks/ExtractFunction.cpp
+446-202 files

LLVM/project 4c740d2 — clang/test/Parser c2y-if-decl-while.c

[Clang][C2y] Fix pre-c2y-compat expectations in c2y-if-decl-while.c

The -std=c2y run line passes -Wpre-c2y-compat, so the compat form of the
'if'/'switch' declaration diagnostic fires. Give that run a 'compat'
prefix and expect the warnings.

Co-Authored-By: Claude Fable 5.1 <noreply at anthropic.com>
DeltaFile
+5-3clang/test/Parser/c2y-if-decl-while.c
+5-31 files

LLVM/project 0b4338d — llvm/tools/sancov sancov.cpp

[sancov][NFC] Store raw coverage addresses in a DenseSet

Union inserts the same addresses over and over. A std::set walks a tree for every one of them. A hash set checks whether the address is already present in one step. Sort once on output so the bytes stay ordered. On 5,000 llc dumps, union went from 39s to 5s.

Assisted-by: Cursor (Grok 4.7)
DeltaFile
+22-15llvm/tools/sancov/sancov.cpp
+22-151 files

LLVM/project 9145f3d — llvm/tools/sancov sancov.cpp

[sancov][NFC] Append a coverage file into an existing address set

Union was reading each .sancov file into its own address set and then
inserting that set into the union. Read the file straight into the
caller's set instead. append returns the file header so a bitness
mismatch still warns, and read is implemented on top of it.

Assisted-by: Cursor (Grok 4.7)
DeltaFile
+20-16llvm/tools/sancov/sancov.cpp
+20-161 files

LLVM/project b0b3f57 — llvm/lib/Target/X86 X86ISelLowering.cpp, llvm/test/Analysis/CostModel/X86 arith-mulh.ll

[X86] Remove v4i64 S/UMUL_LOHI lowering and consistently rely on MULHS/U (#231976)

Improve the MULH lowering logic - only scalarize if i64 MUL is legal
(i.e. 64-bit target) and vXi64 VPMULLQ isn't, - always for MULHS and
only for MULHU if the operands have other uses.

v8i64 is always better to stay on the FPU as scalarization is so messy,
even if we don't have VPMULLQ.
DeltaFile
+36-57llvm/test/CodeGen/X86/mulhu-v4i64-umul-lohi-guard.ll
+11-12llvm/lib/Target/X86/X86ISelLowering.cpp
+4-4llvm/test/Analysis/CostModel/X86/arith-mulh.ll
+51-733 files

FreeNAS/freenas 5138a04 — src/middlewared/middlewared/plugins/account_ privilege_admins.py privilege_groups.py, src/middlewared/middlewared/pytest/unit/utils test_privilege.py

Convert `privilege` plugin to new style
DeltaFile
+158-471src/middlewared/middlewared/plugins/account_/privilege.py
+157-0src/middlewared/middlewared/plugins/account_/privilege_crud.py
+125-0src/middlewared/middlewared/plugins/account_/privilege_compose.py
+111-0src/middlewared/middlewared/plugins/account_/privilege_groups.py
+46-44src/middlewared/middlewared/pytest/unit/utils/test_privilege.py
+90-0src/middlewared/middlewared/plugins/account_/privilege_admins.py
+687-51523 files not shown
+880-60729 files

LLVM/project 1fea21a — llvm/include/llvm/CodeGen MIRYamlMapping.h, llvm/lib/CodeGen MIRPrinter.cpp

[MIR] Use block references in callSites and calledGlobals (#229320)

The bb field of callSites and calledGlobals is the number of the block,
as the MIR printer writes it, but the parser used it as the position of
the block in the function. The two differ once a pass adds, removes or
moves blocks without renumbering them, for example after block placement
or when a custom inserter splits a block in finalize-isel. Such MIR then
fails to parse, or an entry is silently attached to the call in another
block.

Make the field a block reference, printed and parsed like the blocks of
jump tables and savePoint, and update the tests that use it.
DeltaFile
+48-0llvm/test/CodeGen/MIR/X86/call-site-info-block-numbers.mir
+20-21llvm/lib/CodeGen/MIRParser/MIRParser.cpp
+21-18llvm/lib/CodeGen/MIRPrinter.cpp
+5-5llvm/include/llvm/CodeGen/MIRYamlMapping.h
+4-4llvm/test/DebugInfo/MIR/AArch64/dbgcall-site-interpret-movzxi.mir
+4-4llvm/test/CodeGen/MIR/AArch64/called-globals.mir
+102-5257 files not shown
+202-14963 files

LLVM/project 974646e — llvm/lib/Target/AArch64 AArch64SVEInstrInfo.td SVEInstrFormats.td, llvm/test/CodeGen/AArch64 sve-strict-round-discard.ll

[AArch64] Preserve exceptions from discarded strict SVE FP operations (#230112)

Mark strict AArch64 target SDNodes as IsStrictFP and advertise FP
exception capability on the SVE FP-unary undef pseudos. Both metadata
properties are needed to preserve observable exception effects when the
numeric result is unused.

Add a regression covering discarded strict f16/f32/f64 round calls with
SVE and streaming SME, selected MIR without nofpexcept, and removable
ignore-mode f32/f64 controls.

Signed-off-by: Sriram Shastry <sriramshastry at gmail.com>
DeltaFile
+130-0llvm/test/CodeGen/AArch64/sve-strict-round-discard.ll
+3-1llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
+4-0llvm/lib/Target/AArch64/SVEInstrFormats.td
+137-13 files

FreeBSD/ports 5c94c46 — www/evcc Makefile distinfo

www/evcc: update to 0.317.2

Changes: https://github.com/evcc-io/evcc/releases
DeltaFile
+7-7www/evcc/distinfo
+3-4www/evcc/Makefile
+10-112 files

FreeBSD/ports 438c558 — devel/gitlab-runner Makefile distinfo

devel/gitlab-runner: update to 19.5.0

Changes:        https://gitlab.com/gitlab-org/gitlab-runner/blob/main/CHANGELOG.md
DeltaFile
+9-9devel/gitlab-runner/distinfo
+2-3devel/gitlab-runner/Makefile
+11-122 files

LLVM/project b880f44 — lldb/source/Host/openbsd Host.cpp

[lldb][OpenBSD] Fix sysctl usage for process info (#122534)

The OpenBSD Host code used FreeBSD-style sysctl MIBs, which don't
match OpenBSD's interface, so process lookups failed.

- GetOpenBSDProcessArgs: use {CTL_KERN, KERN_PROC_ARGS, pid,
  KERN_PROC_ARGV}. OpenBSD returns a NULL-terminated argv array
  whose pointers point into the returned buffer, so iterate it
  directly.
- GetOpenBSDProcessUserAndGroup, FindProcessesImpl: KERN_PROC
  takes a 6-element MIB on OpenBSD, with the kinfo_proc element
  size and element count as the last two entries.
DeltaFile
+47-48lldb/source/Host/openbsd/Host.cpp
+47-481 files

LLVM/project 651f531 — llvm/tools/sancov sancov.cpp

[sancov][NFC] Store raw coverage addresses in a DenseSet

Union inserts the same addresses over and over. A std::set walks a tree for every one of them. A hash set checks whether the address is already present in one step. Sort once on output so the bytes stay ordered. On 5,000 llc dumps, union went from 39s to 5s.

Assisted-by: Cursor (Grok 4.7)
DeltaFile
+22-15llvm/tools/sancov/sancov.cpp
+22-151 files

LLVM/project 5c479e5 — llvm/tools/sancov sancov.cpp

[sancov][NFC] Append a coverage file into an existing address set

Union was reading each .sancov file into its own address set and then
inserting that set into the union. Read the file straight into the
caller's set instead. append returns the file header so a bitness
mismatch still warns, and read is implemented on top of it.

Assisted-by: Cursor (Grok 4.7)
DeltaFile
+21-14llvm/tools/sancov/sancov.cpp
+21-141 files

LLVM/project 5f16b00 — llvm/tools/sancov sancov.cpp

[sancov][NFC] Add a RawAddrSet typedef

Typedef the .sancov address set as RawAddrSet. It is still std::set<uint64_t>.

Assisted-by: Cursor (Grok 4.7)
DeltaFile
+7-7llvm/tools/sancov/sancov.cpp
+7-71 files