LLVM/project ec11e4cllvm/include/llvm/CodeGen LiveRangeEdit.h, llvm/lib/CodeGen LiveRangeEdit.cpp

CodeGen: Pass instruction to LiveRangeEdit::useIsKill

The helper only used the operand to recover its parent instruction. Pass the
containing instruction directly so it no longer depends on the
MachineOperand parent.

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
DeltaFile
+2-3llvm/lib/CodeGen/LiveRangeEdit.cpp
+3-2llvm/include/llvm/CodeGen/LiveRangeEdit.h
+5-52 files

LLVM/project 053468cllvm/lib/Target/AMDGPU SIInstrInfo.cpp

AMDGPU: Avoid querying operand parent in isLegalRegOperand

This is accessible through MachineRegisterInfo and doesn't need to
look at the operand parent chain.

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
DeltaFile
+2-2llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+2-21 files

FreeBSD/ports 6fee1f1net/netpeek Makefile distinfo

net/netpeek: Update 0.3.2 => 0.3.3

While here, update features list in pkg-descr and
remove unnecessary args from USES=python.

Changelog:
https://github.com/zingytomato/netpeek/releases/tag/v0.3.3

Reported by:    portscout!
Approved by:    osa, vvd (Mentors, implicit)
DeltaFile
+13-5net/netpeek/pkg-descr
+3-3net/netpeek/distinfo
+2-2net/netpeek/Makefile
+18-103 files

LLVM/project a5320f8flang/lib/Parser prescan.h prescan.cpp, flang/test/Parser continuation-before-c-comment02.f90 continuation-before-c-comment01.f90

[flang] Allow C style comments in continuation lines (#214336)

With this change, C-style comments in continuation lines are accepted
and treated as space.

This causes some previously-accepted code to be rejected now, such as
`/* c */ &`, which is now equivalent to ` &`, already invalid before.

Known limitation / follow-up: comment-only continuation lines (e.g.
`i&`, `/* c */`, `= 5`) are now accepted with no `-pedantic` warning,
whereas comments with code on the same line still warn. This is
consistent with the long-standing behavior for standalone comment
lines, which have never warned either. A uniform fix in the
comment-line classification path would be good follow-up material,
but is out of scope for this PR.

Fixes #129455
DeltaFile
+78-23flang/lib/Parser/prescan.cpp
+74-0flang/test/Parser/continuation-before-c-comment01.f90
+35-0flang/test/Parser/continuation-before-c-comment02.f90
+5-1flang/lib/Parser/prescan.h
+192-244 files

LLVM/project 027441fllvm/lib/Target/AMDGPU AMDGPUSubtarget.cpp, llvm/test/CodeGen/AMDGPU large-work-group-promote-alloca.ll promote-alloca-lds-granularity-limit.ll

[AMDGPU] getMaxLocalMemSizeWithWaveCount: Align to LDS granularity (#219172)

The AMDGPUSutarget class was recently extended by a
LDSAllocationGranularity field in PR #205637. This was added
to make the occupancy calculation in getOccupancyWithWorkgroupSize
more precise by rounding the LDS allocation size to the allocation
granularity. The getMaxLocalMemSizeWithWaveCount function does
an "inverse" computation, computing available LDS from occupancy.
This should also round to a multiple of the LDS allocation granularity
since otherwise the available LDS may be overestimated.  This leads
to incorrect alloca promotions in the AMDGPUPromoteAlloca pass.

Add rounding to getMaxLocalMemSizeWithWaveCount and add a test
demonstrating the impact on AMDGPUPromoteAlloca.
DeltaFile
+37-0llvm/test/CodeGen/AMDGPU/promote-alloca-lds-granularity-limit.ll
+2-2llvm/test/CodeGen/AMDGPU/large-work-group-promote-alloca.ll
+2-1llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
+41-33 files

LLVM/project 760be15llvm/lib/Target/WebAssembly WebAssemblyMCInstLower.h WebAssemblyMCInstLower.cpp

WebAssembly: Take GlobalValue and DebugLoc in GetGlobalAddressSymbol

GetGlobalAddressSymbol only needed the IR GlobalValue from the operand
and the instruction's DebugLoc for a diagnostic. Directly pass these instead
of depending on looking at the MachineOperand's parent to find the instruction
and function.

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
DeltaFile
+12-17llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp
+4-1llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.h
+16-182 files

LLVM/project 82081a4llvm/lib/Target/PowerPC PPCTLSDynamicCall.cpp

PowerPC: Use use_instructions in TLSDynamicCall user collection (#219409)

The loop only collects the using instructions, so iterate
use_instructions() instead of the operands to get their parents.

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
DeltaFile
+2-2llvm/lib/Target/PowerPC/PPCTLSDynamicCall.cpp
+2-21 files

LLVM/project a290bf9llvm/lib/Transforms/Utils SimplifyCFG.cpp, llvm/test/Transforms/SimplifyCFG fold-branch-to-common-dest-phis.ll fcmp-branch-phi-to-select.ll

[SimplifyCFG] Remove conservative fcmp guard from speculativelyExecuteBB (#211611)

Previously it rejected to perform if conversion when the condition was
an FCmpInst. That guard predated the current cost model which now takes
into consideration target-dependent knobs such as getCmpSelInstrCost()
via validateAndCostRequiredSelects.
    
Also propagate fast-math flags from the phi to the replacement select
using CreateSelectFMF instead of CreateSelect (which technically works
but I am not sure whether it's intended to be used for both types of
selects).
DeltaFile
+139-0llvm/test/Transforms/SimplifyCFG/fcmp-branch-phi-to-select.ll
+59-0llvm/test/Transforms/SimplifyCFG/X86/fcmp-branch-phi-to-select.ll
+4-6llvm/lib/Transforms/Utils/SimplifyCFG.cpp
+2-3llvm/test/Transforms/SimplifyCFG/fold-branch-to-common-dest-phis.ll
+204-94 files

NetBSD/pkgsrc dgNPc1Rchat/znc Makefile

   bump pkgrevision for the fix ctype failure commit I just did:wq
VersionDeltaFile
1.64+2-2chat/znc/Makefile
+2-21 files

FreeNAS/freenas ffcc203src/middlewared/middlewared/pytest/unit/alert test_applicability_matrix.py test_alert_run_loop.py

Clean redundant test
DeltaFile
+0-207src/middlewared/middlewared/pytest/unit/alert/harness.py
+0-197src/middlewared/middlewared/pytest/unit/alert/test_alert_plugin_applicability.py
+0-163src/middlewared/middlewared/pytest/unit/alert/test_alert_send_alerts.py
+0-151src/middlewared/middlewared/pytest/unit/alert/test_run_gates.py
+0-124src/middlewared/middlewared/pytest/unit/alert/test_alert_run_loop.py
+38-1src/middlewared/middlewared/pytest/unit/alert/test_applicability_matrix.py
+38-8431 files not shown
+39-8457 files

LLVM/project ce5d743llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/X86 narrowed-reduction-leftover-leaf.ll

[SLP]Fix erasing external-use replacements of narrowed reduction leaves

A narrowed reduction leaf that stays a leftover reduction value but is
vectorized as part of the tree has no reduction op user, so its
external-use replacement is swept as a dead operand together with the
tree scalars, and the reduction epilogue reuses the dead value. Keep
the replacements of reduced values without reduction op users.

Fixes https://github.com/llvm/llvm-project/pull/216062#issuecomment-5451142901

Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/219460
DeltaFile
+59-0llvm/test/Transforms/SLPVectorizer/X86/narrowed-reduction-leftover-leaf.ll
+18-0llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+77-02 files

DragonFlyBSD/src 087e70ccontrib/mpfr/src add1sp.c mpfr.h

vendor/MPFR: Upgrade from 3.1.2 to 4.2.2
DeltaFile
+1,654-490contrib/mpfr/src/sub1sp.c
+1,456-617contrib/mpfr/src/mpfr-impl.h
+1,350-271contrib/mpfr/src/sum.c
+901-496contrib/mpfr/src/vasprintf.c
+740-530contrib/mpfr/src/mpfr.h
+929-221contrib/mpfr/src/add1sp.c
+7,030-2,625291 files not shown
+30,578-11,427297 files

LLVM/project 5cb8d1aflang/lib/Semantics resolve-names.cpp, flang/test/Semantics resolve37.f90

[Flang] Handle self-referencing KIND selectors (#216668)

EarlyDummyTypeDeclaration may implicitly type a name referenced by a
KIND selector when that name is also declared by the same type
declaration statement. This can lead to an inconsistent semantic state
and a compiler crash.

Return early when the KIND selector refers to an entity being declared
by the same statement.

Add a regression test for this case.

Fixes https://github.com/llvm/llvm-project/issues/209505

Co-authored-by: yixiao <yixiao at hygon.cn>
DeltaFile
+19-0flang/lib/Semantics/resolve-names.cpp
+5-0flang/test/Semantics/resolve37.f90
+24-02 files

LLVM/project 878fd15clang-tools-extra/clangd AST.cpp, clang/docs ReleaseNotes.md

[Clang] Fix getReturnTypeSourceRange() for trailing return types (#219101)

I'm not quite sure what that 'self-referential' meant and that logic
doesn't seem to make much sense and it doesn't work for trailing return
types.

Fixes #162649
DeltaFile
+12-0clang/test/SemaCXX/trailing-return-0x.cpp
+5-2clang/docs/ReleaseNotes.md
+1-4clang/lib/AST/Decl.cpp
+3-2clang/test/Sema/warn-main-return-type.c
+2-1clang-tools-extra/clangd/AST.cpp
+23-95 files

FreeNAS/freenas f9a0c55src/middlewared/middlewared/pytest/unit/alert harness.py test_alert_plugin_applicability.py

Clean redundant test
DeltaFile
+0-197src/middlewared/middlewared/pytest/unit/alert/test_alert_plugin_applicability.py
+0-1src/middlewared/middlewared/pytest/unit/alert/harness.py
+0-1982 files

OPNSense/core 5847e45src/etc rc.freebsd

rc: log timeout case as well
DeltaFile
+2-0src/etc/rc.freebsd
+2-01 files

OPNSense/core 33b4c24src/opnsense/mvc/app/controllers/OPNsense/Firewall/forms dialogSNatRule.xml

Can be visible in grid
DeltaFile
+2-2src/opnsense/mvc/app/controllers/OPNsense/Firewall/forms/dialogSNatRule.xml
+2-21 files

LLVM/project ab1570ellvm/lib/Target/RISCV RISCVVLOptimizer.cpp

RISCV: Pass instruction and operand index to isVectorOpUsedAsScalarOp (#219448)
DeltaFile
+7-7llvm/lib/Target/RISCV/RISCVVLOptimizer.cpp
+7-71 files

NetBSD/pkgsrc slGr1cTchat/znc distinfo, chat/znc/patches patch-src_ZNCString.cpp

   fix ctype(3) failure with toupper() and tolower()
VersionDeltaFile
1.1+24-0chat/znc/patches/patch-src_ZNCString.cpp
1.16+2-1chat/znc/distinfo
+26-12 files

LLVM/project 452269aflang/lib/Evaluate tools.cpp, flang/test/Semantics func-proc-result.f90 func-proc-result-intrinsics.f90

[Flang] Fix IsProcedure() for procedure-valued function references (#216322)

IsProcedure() does not recognize function references whose results are
procedures. This can cause an assertion failure in intrinsic argument
checking when such an expression is passed as an actual argument.

Update IsProcedure() to inspect the result symbol of a ProcedureRef and
determine whether the function result is a procedure.

Add a regression test for procedure-valued function references.

Fixes #209978

Co-authored-by: yixiao <yixiao at hygon.cn>
DeltaFile
+47-0flang/test/Semantics/func-proc-result-intrinsics.f90
+30-0flang/test/Semantics/func-proc-result.f90
+15-1flang/lib/Evaluate/tools.cpp
+92-13 files

OPNSense/core 2894df8src/opnsense/mvc/app/controllers/OPNsense/Firewall/forms dialogSNatRule.xml, src/opnsense/mvc/app/models/OPNsense/Firewall Filter.xml Filter.php

Firewall: NAT: Source NAT: add source hash key
DeltaFile
+10-0src/opnsense/mvc/app/controllers/OPNsense/Firewall/forms/dialogSNatRule.xml
+9-0src/opnsense/mvc/app/models/OPNsense/Firewall/Filter.php
+4-0src/opnsense/mvc/app/models/OPNsense/Firewall/Filter.xml
+1-0src/opnsense/scripts/filter/list_legacy_outbound_nat.php
+24-04 files

OPNSense/core 64ad201src/opnsense/mvc/app/controllers/OPNsense/Firewall/forms dialogSNatRule.xml, src/opnsense/mvc/app/models/OPNsense/Firewall Filter.xml

Firewall: NAT: Source NAT: add pool options
DeltaFile
+11-0src/opnsense/mvc/app/models/OPNsense/Firewall/Filter.xml
+10-0src/opnsense/mvc/app/controllers/OPNsense/Firewall/forms/dialogSNatRule.xml
+1-0src/opnsense/scripts/filter/list_legacy_outbound_nat.php
+22-03 files

DragonFlyBSD/src 073d983contrib/mpc/src pow.c log10.c

vendor/MPC: Upgrade from 1.0.3 to 1.4.1
DeltaFile
+710-0contrib/mpc/src/radius.c
+452-32contrib/mpc/src/asin.c
+425-0contrib/mpc/src/balls.c
+399-10contrib/mpc/src/fr_div.c
+121-248contrib/mpc/src/log10.c
+263-104contrib/mpc/src/pow.c
+2,370-39445 files not shown
+4,793-1,44251 files

FreeNAS/freenas 411fae3src/middlewared/middlewared/plugins alert.py

Fix comments
DeltaFile
+0-6src/middlewared/middlewared/plugins/alert.py
+0-61 files

OPNSense/core e0226besrc/etc rc.freebsd

rc: simplify further, switch to 30 seconds
DeltaFile
+12-32src/etc/rc.freebsd
+12-321 files

LLVM/project d3480d8clang/lib/CodeGen CGOpenMPRuntime.cpp, clang/test/OpenMP distribute_parallel_for_simd_num_threads_codegen.cpp distribute_parallel_for_num_threads_codegen.cpp

[clang][OpenMP] Fix thread count upper bound for target directives (#218018)

Fix the UpperBound-computing ternary, which was inverted: std::min is
only reachable when UpperBound is 0, where it is a no-op, so any clause
with a bound to combine simply overwrites it.
Two consequences:

- A clause can raise the bound above a smaller one. 'target teams
distribute parallel for thread_limit(8) num_threads(64)' gets a bound of
64.
- A non-constant clause pins the bound at 0 and discards every constant
clause after it, losing the bound entirely.

Additionally, let a construct split over separate 'target', 'teams' and
worksharing directives find its num_threads clause, so it agrees with
the combined spelling.

Note that the codegen changes in
`clang/test/OpenMP/distribute_parallel_for_num_threads_codegen.cpp` and

    [5 lines not shown]
DeltaFile
+82-0clang/test/OpenMP/thread_limit_gpu.c
+29-8clang/lib/CodeGen/CGOpenMPRuntime.cpp
+8-8clang/test/OpenMP/distribute_parallel_for_simd_num_threads_codegen.cpp
+8-8clang/test/OpenMP/distribute_parallel_for_num_threads_codegen.cpp
+127-244 files

FreeBSD/ports 7fbbfb6biology/py-pydeseq2 distinfo Makefile

biology/py-pydeseq2: Update to 0.5.4

Drop support for python 3.10
Modernize build system
A few fixes and enhancements
Changes: https://github.com/scverse/PyDESeq2/releases

Reported by:    portscout
DeltaFile
+6-4biology/py-pydeseq2/Makefile
+3-3biology/py-pydeseq2/distinfo
+9-72 files

FreeBSD/ports 43ba561net-im/teams Makefile distinfo, net-im/teams/files/packagejsons package-lock.json package.json

net-im/teams: Update to 2.18.1

Changelog:
- https://github.com/IsmaelMartinez/teams-for-linux/releases/tag/v2.18.0
- https://github.com/IsmaelMartinez/teams-for-linux/releases/tag/v2.18.1

Reported by:    portscout
DeltaFile
+34-28net-im/teams/files/packagejsons/package.json
+19-19net-im/teams/files/packagejsons/package-lock.json
+5-5net-im/teams/distinfo
+1-2net-im/teams/Makefile
+59-544 files

LLVM/project f29af29clang/docs ReleaseNotes.md, clang/lib/Sema SemaDecl.cpp

[Clang] Fix "Unions cannot be dynamic classes" assertion (#217942)

Fixes #213854

An ill-formed qualified member definition like `void B::foo() {}` inside
a union gets diagnosed, but recovery keeps the declaration around: it
belongs to `B` semantically while sitting lexically inside the union.
Since `B::foo` overrides a virtual function, it counted as a virtual
member of the union when it was added to it, so the union was marked
polymorphic and record layout later asserted with `"Unions cannot be
dynamic classes."`. A non-union enclosing class hits the same bug
silently and just gets a bogus vtable pointer.

The fix is in `HandleDeclarator`: once the qualifier is diagnosed as
naming a different class, the declaration is marked invalid, the same
way we already handle `virtual` in a union. Invalid declarations don't
contribute to the properties of the class they're added to, so the class
can't become polymorphic, while the body is still parsed and the node
stays in the AST. As a side effect, the qualified specializations in

    [6 lines not shown]
DeltaFile
+48-0clang/test/SemaCXX/GH213854.cpp
+4-0clang/docs/ReleaseNotes.md
+2-0clang/lib/Sema/SemaDecl.cpp
+0-1clang/test/CXX/drs/cwg7xx.cpp
+54-14 files

NetBSD/src i88tSFosys/kern kern_fork.c, tests/kernel t_signal_and_sp.c

   fork(2), vfork(2): Copy the parent's stack base pointer to the child.

   Don't just leak whatever random stack pointer some recycled struct
   proc had!

   TBD: Move p_stackbase in struct proc so this is covered by the memcpy
   above, in a separate commit so we can pull this one up without any
   change to the layout of struct proc.

   PR kern/60653: posix_spawn(3) causes incorrect stack base information
VersionDeltaFile
1.24+2-10tests/kernel/t_signal_and_sp.c
1.235+10-2sys/kern/kern_fork.c
+12-122 files