LLVM/project abfa3bcclang/lib/Basic/Targets PPC.cpp PPC.h, clang/lib/CodeGen CodeGenFunction.cpp CodeGenModule.cpp

code review

code review

code review
DeltaFile
+3-9clang/lib/CodeGen/CodeGenFunction.cpp
+4-6clang/lib/CodeGen/CodeGenModule.cpp
+0-7clang/lib/Basic/Targets/PPC.cpp
+0-1clang/lib/Basic/Targets/PPC.h
+7-234 files

ELF Tool Chain/elftoolchain 4363trunk/tests/tet/libelf/tset/gelf_xlate xlate.m4

libelf/testsuite: Fix a -Wsigned-compare warning.
DeltaFile
+2-1trunk/tests/tet/libelf/tset/gelf_xlate/xlate.m4
+2-11 files

LLVM/project e2b3120llvm/include/llvm/DebugInfo/LogicalView/Readers LVCodeViewVisitor.h, llvm/lib/DebugInfo/LogicalView/Readers LVCodeViewVisitor.cpp

[llvm-debuginfo-analyzer] Refactor type assignment for locals (#186117)

From
https://github.com/llvm/llvm-project/pull/183172#discussion_r2918524548:
Assigning and scoping the type of a local variable was duplicated in
`S_BPREL32`, `S_REGREL32` (and now) `S_REGREL32_INDIR`. I moved these
into a separate method in this PR.

`S_LOCAL` shares a similar part, but not the exact one. There, it's not
checked if the type element has a parent scope
(`Element->getParentScope()`). As all these records represent a local
variable (or a parameter/this), I figured this was an oversight.
DeltaFile
+24-62llvm/lib/DebugInfo/LogicalView/Readers/LVCodeViewVisitor.cpp
+2-0llvm/include/llvm/DebugInfo/LogicalView/Readers/LVCodeViewVisitor.h
+26-622 files

ELF Tool Chain/elftoolchain 4362trunk/brandelf brandelf.c, trunk/cxxfilt cxxfilt.c

Use a dedicated header for elftc_get_program_name(3).

This change allows the function to be used without needing
<libelf.h> (included via <libelftc.h>) to be present.
DeltaFile
+42-0trunk/libelftc/elftc_get_program_name.h
+2-2trunk/libelftc/elftc_get_program_name.3
+2-0trunk/brandelf/brandelf.c
+2-0trunk/cxxfilt/cxxfilt.c
+2-0trunk/elfcopy/main.c
+2-0trunk/elfdump/elfdump.c
+52-211 files not shown
+71-317 files

FreeNAS/freenas 3e2fd05src/middlewared/middlewared/alert base.py, src/middlewared/middlewared/alert/source mseries_nvdimm_and_bios.py smart.py

NAS-140207 / 27.0.0-BETA.1 / Full alerts mypy (#18409)

Key changes:
* Alert class configuration moved to `AlertClassConfig`
* Each alert that has parameters is a dataclass now
* Alerts are instantiated using that dataclass constructor and we're
able to statically check its arguments
DeltaFile
+252-142src/middlewared/middlewared/alert/base.py
+138-123src/middlewared/middlewared/plugins/alert.py
+130-86src/middlewared/middlewared/alert/source/mseries_nvdimm_and_bios.py
+83-61src/middlewared/middlewared/alert/source/smart.py
+92-45src/middlewared/middlewared/alert/source/jbof.py
+84-51src/middlewared/middlewared/alert/source/smb.py
+779-508126 files not shown
+3,329-2,029132 files

LLVM/project c488825clang-tools-extra/clang-tidy/readability ContainerSizeEmptyCheck.cpp, clang-tools-extra/docs ReleaseNotes.rst

[clang-tidy] Remove note about `empty` source location in readability-container-size-empty (#185085)

Closes #185007.
DeltaFile
+0-39clang-tools-extra/test/clang-tidy/checkers/readability/container-size-empty.cpp
+9-25clang-tools-extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp
+6-2clang-tools-extra/docs/ReleaseNotes.rst
+0-2clang-tools-extra/test/clang-tidy/checkers/readability/container-size-empty-cxx20.cpp
+15-684 files

LLVM/project 6f296a5mlir/test/CAPI global_constructors.c, mlir/test/Conversion/ArithToSPIRV arith-to-spirv-le-specific.mlir

[AIX] XFAIL mlir testcases on AIX to be investigated NFC (#186157)

XFAILing the following failing mlir testcases on AIX pending
investigation
DeltaFile
+1-1mlir/unittests/ExecutionEngine/Invoke.cpp
+1-0mlir/test/CAPI/global_constructors.c
+1-0mlir/test/Conversion/ArithToSPIRV/arith-to-spirv-le-specific.mlir
+1-0mlir/test/IR/elements-attr-interface.mlir
+1-0mlir/test/Target/LLVMIR/llvmir-le-specific.mlir
+1-0mlir/test/mlir-runner/async-error.mlir
+6-119 files not shown
+25-125 files

LLVM/project 48887a5mlir/lib/Dialect/Arith/Transforms IntRangeOptimizations.cpp

[mlir][arith] Fix crash in IntRangeOptimizations due to stale solver state (#186187)

When the IntRangeOptimizationsPass runs applyPatternsGreedily with
constant folding enabled, constant folding can restructure blocks — for
example by removing a block argument. The integer range solver, which
pre-computed range information for the original block arguments, is now
out of sync: subsequent range queries about the new (reused) argument
positions return stale information computed for the old arguments,
causing crashes.

Fix by passing enableConstantFolding(false) in GreedyRewriteConfig so
that the solver's state remains consistent with the IR throughout the
rewrite.

Fixes #122076

Assisted-by: Claude Code
DeltaFile
+6-1mlir/lib/Dialect/Arith/Transforms/IntRangeOptimizations.cpp
+6-11 files

OpenBSD/ports kLbcSwWprint/poppler Makefile distinfo, print/poppler/patches patch-poppler_XRef_cc patch-CMakeLists_txt

   Update to poppler-26.03.0.
VersionDeltaFile
1.207+2-2print/poppler/Makefile
1.123+2-2print/poppler/distinfo
1.37+2-2print/poppler/patches/patch-poppler_XRef_cc
1.11+1-1print/poppler/patches/patch-CMakeLists_txt
+7-74 files

FreeNAS/freenas 3926c45src/middlewared/middlewared/plugins/truenas_connect hostname.py, src/middlewared/middlewared/pytest/unit/plugins test_truenas_connect.py

Fix TNC sync_interface_ips empty IPs and repeated concurrent calls

This commit fixes an issue where sync_interface_ips could send empty IPs to the
TNC account-service (causing 400 errors) and where concurrent netlink events
would each independently hit the TNC API with the same payload.

When the HTTP call failed due to empty IPs, the cache was never populated, so
every subsequent netlink event retried the same failing call — creating an
infinite retry storm. Additionally, a single DHCP renewal would fire 3-5 netlink
events, each scheduling a call_later(5), all passing the cache check
simultaneously, and all hitting the TNC API concurrently with identical payloads.

An asyncio.Lock serializes concurrent sync_interface_ips calls so only the first
performs the HTTP sync while subsequent calls hit the cache and return early. An
empty IP guard skips the HTTP call when no IPs are available (static + dynamic
combined) but still caches the result to prevent retry storms.
DeltaFile
+92-0src/middlewared/middlewared/pytest/unit/plugins/test_truenas_connect.py
+45-33src/middlewared/middlewared/plugins/truenas_connect/hostname.py
+137-332 files

LLVM/project 5e2d615clang/include/clang/Analysis/Analyses/LifetimeSafety LifetimeSafety.h, clang/lib/Analysis/LifetimeSafety Checker.cpp

[LifetimeSafety] Remove confidence tracking and simplify liveness analysis
DeltaFile
+31-69clang/unittests/Analysis/LifetimeSafetyTest.cpp
+43-37clang/lib/Analysis/LifetimeSafety/Checker.cpp
+34-41clang/test/Sema/warn-lifetime-safety.cpp
+4-14clang/include/clang/Analysis/Analyses/LifetimeSafety/LifetimeSafety.h
+4-4clang/lib/Sema/AnalysisBasedWarnings.cpp
+116-1655 files

NetBSD/src yJwDLpPusr.bin/sed compile.c misc.c

   - Simplify processing by centralizing: no need to prefix all errors with
     "%lu: %s: " and pass fname, lineno to each; do it in one place.
   - Use emalloc and friends instead of homegrown xmalloc and friends.
VersionDeltaFile
1.56+73-85usr.bin/sed/compile.c
1.16+21-34usr.bin/sed/misc.c
1.55+10-9usr.bin/sed/process.c
1.39+6-5usr.bin/sed/main.c
1.21+3-4usr.bin/sed/extern.h
1.18+3-1usr.bin/sed/Makefile
+116-1386 files

Illumos/gate b7ffd22usr/src/data/ucode/intel 000A06E1-01, usr/src/pkg/manifests system-microcode-intel.p5m

17936 Update Intel microcode to 20260227
Reviewed by: Toomas Soome <tsoome at me.com>
Reviewed by: Andy Fiddaman <illumos at fiddaman.net>
Approved by: Robert Mustacchi <rm+illumos at fingolfin.org>
DeltaFile
+1-1usr/src/pkg/manifests/system-microcode-intel.p5m
+0-0usr/src/data/ucode/intel/000A06E1-01
+1-12 files

LLVM/project 68dd91emlir/lib/Conversion/AffineToStandard AffineToStandard.cpp, mlir/lib/Dialect/Arith/IR ArithOps.cpp

[mlir][affine] Fix crash in AffineParallelLowering for unsupported reductions (#186189)

When lowering affine.parallel with a reduction kind that has no identity
value (e.g. "assign"), getIdentityValueAttr() returns nullptr. The
caller getIdentityValue() then passed this null TypedAttr to
arith::ConstantOp::create(), triggering an LLVM_ERROR crash:
  "Failed to infer result type(s): arith.constant"

Fixes #185250

Assisted-by: Claude Code
DeltaFile
+17-0mlir/test/Conversion/AffineToStandard/lower-affine-invalid.mlir
+7-3mlir/lib/Conversion/AffineToStandard/AffineToStandard.cpp
+4-3mlir/lib/Dialect/Arith/IR/ArithOps.cpp
+28-63 files

LLVM/project a8a00d5bolt/docs BinaryAnalysis.md

Drop FIXMEs, open separate issues instead
DeltaFile
+11-7bolt/docs/BinaryAnalysis.md
+11-71 files

OpenBSD/ports tFdRIRneditors/calligra/patches patch-filters_karbon_pdf_SvgOutputDev_cpp patch-filters_karbon_pdf_SvgOutputDev_h, editors/calligra/pkg PLIST

   Unbreak calligra

   spotted by naddy, tb and aja! Thanks
VersionDeltaFile
1.35+81-78editors/calligra/pkg/PLIST
1.12+0-0editors/calligra/patches/patch-filters_karbon_pdf_SvgOutputDev_cpp
1.6+0-0editors/calligra/patches/patch-filters_karbon_pdf_SvgOutputDev_h
+81-783 files

LLVM/project bd05e1bmlir/lib/Dialect/Arith/IR ArithOps.cpp, mlir/test/Dialect/Arith canonicalize.mlir

[mlir][arith] Fix crash when constant-folding truncf of inf to FiniteOnly float type (#186191)

When arith.truncf constant-folding converts a value such as infinity to
a type with fltNonfiniteBehavior::FiniteOnly (e.g. f4E2M1FN),
APFloat::convert hits an llvm_unreachable("semantics don't support
inf\!").

The fix adds early-exit guards in convertFloatValue() to return
failure() before calling APFloat::convert() when the source value is
infinity or NaN and the target type cannot represent it. This makes the
fold a no-op for unrepresentable special values, matching the existing
behavior for lossy ordinary conversions.

Fixes #185351

Assisted-by: Claude Code
DeltaFile
+26-0mlir/test/Dialect/Arith/canonicalize.mlir
+11-0mlir/lib/Dialect/Arith/IR/ArithOps.cpp
+37-02 files

LLVM/project b45ce46mlir/lib/Bindings/Python IRAttributes.cpp DialectLLVM.cpp

[mlir][python] Avoid needless std::string copies in properties. NFC. (#186190)

MlirStringRef is copied into a Python str by nanobind's type_caster
anyway, so the intermediate std::string was a redundant allocation.

---------

Co-authored-by: Claude Opus 4.6 <noreply at anthropic.com>
DeltaFile
+7-8mlir/lib/Bindings/Python/IRAttributes.cpp
+6-7mlir/lib/Bindings/Python/DialectLLVM.cpp
+13-152 files

LLVM/project 5e8375eflang/lib/Semantics check-omp-loop.cpp

Use PRId64 instead of %ld in format strings
DeltaFile
+8-3flang/lib/Semantics/check-omp-loop.cpp
+8-31 files

OpenBSD/src kRPrZ2Tsys/dev/fdt rkpinctrl.c

   Add RK3576 support.

   ok kevlo@
VersionDeltaFile
1.18+143-1sys/dev/fdt/rkpinctrl.c
+143-11 files

FreeBSD/ports e07265cscience/netcdf pkg-plist

science/netcdf: Fix pkg-plist for build with DOXYGEN

* Re-generate pkg-plist with panopticum(1)

Approved by:            portmgr@ (build fix, blanket)
Approved by:            db@, yuri@ (Mentors, implicit)
Differential Revision:  https://reviews.freebsd.org/D55421
DeltaFile
+23-8science/netcdf/pkg-plist
+23-81 files

LLVM/project 637e9bcmlir/lib/Dialect/XeGPU/Transforms XeGPUWgToSgDistribute.cpp

[mlir][xegpu] Allow `DistributeLayoutAttr` in structural type conversion in Wg to Sg pass.   (#186206)

Current approach fails if slice layouts are used in structural ops
arguments (scf.for etc)
DeltaFile
+2-2mlir/lib/Dialect/XeGPU/Transforms/XeGPUWgToSgDistribute.cpp
+2-21 files

LLVM/project 8950bf8flang/lib/Semantics resolve-directives.cpp, flang/test/Semantics/OpenMP resolve07.f90

[flang][OpenMP] Loop IVs inside TEAMS are predetermined private in 5.2+ (#185958)

Mark the induction variables of loops in a TEAMS construct as
predetermined private when OpenMP version is 5.2 or later.
DeltaFile
+41-0flang/test/Semantics/OpenMP/resolve07.f90
+7-1flang/lib/Semantics/resolve-directives.cpp
+48-12 files

FreeBSD/ports ed8b417audio/ft2-clone distinfo Makefile, audio/ft2-clone/files patch-CMakeLists.txt

audio/ft2-clone: Update to 2.11
DeltaFile
+0-11audio/ft2-clone/files/patch-CMakeLists.txt
+3-3audio/ft2-clone/distinfo
+1-1audio/ft2-clone/Makefile
+4-153 files

HardenedBSD/src b094b48sys/kern uipc_shm.c

HBSD: Make sure the kinfo_file struct always gets zeroed

Similar to FreeBSD commit 25cc459286a02b646751541ccde5a33319471c73,
apply a memset in one of the core functions used to fill the structure.
This ensures that all kinfo_file structure allocations are zeroed (at
least, at the point of calling shm_fill_kinfo_locked).

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
MFC-to:         15-STABLE
DeltaFile
+2-0sys/kern/uipc_shm.c
+2-01 files

FreeBSD/src 041e9ebsys/netinet in_pcb.h

inpcb: overhaul in_pcb.h

Pull up all user-visible stuff to the top of the file and isolate the
rest under _KERNEL.  The user visible parts are:
- struct in_conninfo
- struct xinpcb
- defines for inp_flags bits, that are shared between xinpcb and inpcb

PR:     293493
DeltaFile
+231-246sys/netinet/in_pcb.h
+231-2461 files

FreeBSD/src 0f1aa45sys/net debugnet_inet.c

debugnet: don't include udp_var.h

The module constructs UDP packets, but doesn't use the UDP stack.
DeltaFile
+0-1sys/net/debugnet_inet.c
+0-11 files

LLVM/project 82877a6llvm/lib/Transforms/IPO LowerTypeTests.cpp, llvm/test/Transforms/LowerTypeTests drop_type_test_select.ll

[LLVM] Fix assertion when dropping type tests with SelectInst users (#185523)

The `dropTypeTests` function assumes that after removing `llvm.assume`
users of `llvm.type.test` calls, any remaining users must be PHINodes
(from merged assumes). However, SimplifyCFG can also merge two
`assume(type.test(...))` sequences into `assume(select(cond,
type.test_1, type.test_2))`, leaving SelectInst users that trigger the
assertion.

Extend the assertion to also accept SelectInst. The
`replaceAllUsesWith(true)` call already handles all user types
correctly — only the assertion was too narrow.
DeltaFile
+19-0llvm/test/Transforms/LowerTypeTests/drop_type_test_select.ll
+3-3llvm/lib/Transforms/IPO/LowerTypeTests.cpp
+22-32 files

pfSense/pfsense abe85e6src/usr/local/www services_dhcpv6.php

Validate DHCPv6 Delegation Parameters. Fixes #16744
DeltaFile
+13-3src/usr/local/www/services_dhcpv6.php
+13-31 files

pfSense/pfsense 54b03casrc/etc/inc service-utils.inc util.inc

Validate PID file before use. Fixes #16743

Also ensure Captive Portal zone and OpenVPN service ID are valid before stopping services
DeltaFile
+7-5src/etc/inc/service-utils.inc
+4-1src/etc/inc/util.inc
+11-62 files