LLVM/project dcd58a8llvm/lib/Analysis InlineCost.cpp, llvm/test/Transforms/Inline attributes.ll

[Inline] Allow inlining with null_pointer_is_valid mismatch (#190510)

If the callee has null_pointer_is_valid but the caller does not, we
should still inline and add null_pointer_is_valid to the caller (which
is handled by an already existing inline adjustment rule).

This does mean that optimizations in the caller may be reduced by
unnecessarily preserving null checks, but that's still better than not
inlining at all. In particular, this check causes issues with LTO in the
Linux kernel, as the C portions are compiled with null_pointer_is_valid,
but the Rust portions are not.

The test is modified to show that the previous alwaysinline behavior now
always holds.
DeltaFile
+8-28llvm/test/Transforms/Inline/attributes.ll
+0-5llvm/lib/Analysis/InlineCost.cpp
+8-332 files

LLVM/project 774ac31llvm/test/CodeGen/AMDGPU llvm.amdgcn.ds.gws.barrier.ll llvm.amdgcn.ds.gws.barrier-bundle.ll

[AMDGPU][NFC] Split and auto-generate ds.gws.barrier test checks (#190680)

Split MIR checks into a separate test file.
DeltaFile
+733-127llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ds.gws.barrier.ll
+172-0llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ds.gws.barrier-bundle.ll
+905-1272 files

LLVM/project 39e5034clang/lib/CIR/CodeGen CIRGenBuiltinAArch64.cpp, clang/test/CodeGen/AArch64 bf16-getset-intrinsics.c

[CIR][AArch64] Implement vget_lane_bf16 and vgetq_lane_bf16 builtins (#186866)

Implements vget_lane_bf16 and vgetq_lane_bf16 builtins. Updates test
with CIR test.
Part of #185382
DeltaFile
+44-0clang/test/CodeGen/AArch64/neon/bf16-getset.c
+0-36clang/test/CodeGen/AArch64/bf16-getset-intrinsics.c
+9-18clang/lib/CIR/CodeGen/CIRGenBuiltinAArch64.cpp
+53-543 files

OPNSense/core defb87fsrc/etc/inc interfaces.inc

interfaces: small cleanups in previous as a starting point
DeltaFile
+10-19src/etc/inc/interfaces.inc
+10-191 files

OPNSense/core 7b0faf1src/etc/inc interfaces.inc

Cleanup HA/CARP safety checks for PPP links patch

Proper indentation and better comment for HA/CARP safety checks for PPP links
DeltaFile
+23-23src/etc/inc/interfaces.inc
+23-231 files

OPNSense/core 36959a4src/etc/inc interfaces.inc

Add HA/CARP safety for PPP link startup

Implement HA/CARP safety checks for PPP links to prevent startup if no parent interface is CARP MASTER when 'Disconnect dialup interfaces' is enabled.
DeltaFile
+33-0src/etc/inc/interfaces.inc
+33-01 files

LLVM/project 4c2e49dclang/lib/AST StmtProfile.cpp, clang/test/Modules callable-require-clause-merge.cppm polluted-operator.cppm

[C++20] [Modules] Don't profiling the callee of CXXFoldExpr (#190732)

Close https://github.com/llvm/llvm-project/issues/190333

For the test case, the root cause of the problem is, the compiler
thought the declaration of `operator &&` in consumer.cpp may change the
meaning of '&&' in the requrie clause of `F::operator()`. But it doesn't
make sense. Here we skip profiling the callee to solve the problem. Note
that we've already record the kind of the operator. So '&&' and '||'
won't be confused.
DeltaFile
+35-0clang/test/Modules/callable-require-clause-merge.cppm
+29-1clang/lib/AST/StmtProfile.cpp
+0-7clang/test/Modules/polluted-operator.cppm
+64-83 files

OPNSense/core ff2fde4src/opnsense/mvc/app/library/OPNsense/Firewall ForwardRule.php

Firewall: NAT: Destination NAT - regression in https://github.com/opnsense/core/commit/e0f0cbf922ff8ddf688362b78c5bc151f5ff20f3, closes https://github.com/opnsense/core/issues/9702

(cherry picked from commit 48eeef5b8203410863707e52a328edc31db66e3a)
DeltaFile
+2-2src/opnsense/mvc/app/library/OPNsense/Firewall/ForwardRule.php
+2-21 files

OPNSense/core 6a66759. SECURITY.md, .github/ISSUE_TEMPLATE bug_report.md feature_request.md

github: changes via @sopex
DeltaFile
+4-4SECURITY.md
+2-2.github/ISSUE_TEMPLATE/bug_report.md
+2-2.github/ISSUE_TEMPLATE/feature_request.md
+2-2.github/ISSUE_TEMPLATE/question.md
+10-104 files

OPNSense/core 926154aMk git.mk

make: unhide PHP error in `vim' target

(cherry picked from commit 4db48f0c271e317810f25054f152959e55229b3f)
DeltaFile
+1-1Mk/git.mk
+1-11 files

LLVM/project 8460cb9clang-tools-extra/clang-tidy ClangTidy.cpp, clang-tools-extra/test lit.cfg.py

[clang-tidy] [Modules] Skip checking decls in clang-tidy (#145630) (#190733)

Close https://github.com/llvm/llvm-project/issues/145628

Note that I am not sure if this is the proper fix. On the one hand, the
fix lives in ASTMachers instead of clang-tidy. On the other hand, I feel
this may be a more general fix.
DeltaFile
+29-0clang-tools-extra/test/clang-tidy/infrastructure/cxx20-modules.cppm
+4-0clang/lib/ASTMatchers/ASTMatchFinder.cpp
+3-0clang-tools-extra/clang-tidy/ClangTidy.cpp
+2-0clang/include/clang/ASTMatchers/ASTMatchFinder.h
+1-0clang-tools-extra/test/lit.cfg.py
+39-05 files

LLVM/project aed3c80llvm/include/llvm/Passes CodeGenPassBuilder.h, llvm/include/llvm/Transforms/Scalar LoopStrengthReduce.h

[NPM] Make LoopStrengthReduce function pass
DeltaFile
+40-7llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
+9-8llvm/include/llvm/Passes/CodeGenPassBuilder.h
+4-4llvm/test/CodeGen/AMDGPU/llc-pipeline-npm.ll
+4-4llvm/test/CodeGen/X86/llc-pipeline-npm.ll
+1-2llvm/include/llvm/Transforms/Scalar/LoopStrengthReduce.h
+1-1llvm/test/Transforms/LoopStrengthReduce/callbr-critical-edge-splitting2.ll
+59-2612 files not shown
+71-3818 files

FreeBSD/ports d96a7dbdevel/bazel8 Makefile, devel/bazel9 Makefile

devel/bazel{8,9}: pin to Java 21 to fix build with JDK 23+

Java 23 changed annotation processing defaults (JDK-8321314), breaking
the bootstrap compilation when openjdk23+ is selected via JAVA_VERSION=21+.
The port infrastructure already assumes Java 21 throughout (toolchain names,
config_settings), so pin to the exact version instead of passing -proc:full.
DeltaFile
+1-1devel/bazel9/Makefile
+1-1devel/bazel8/Makefile
+2-22 files

LLVM/project a89f174clang/lib/Sema SemaDecl.cpp, clang/test/SemaTemplate GH187909.cpp

[clang] Fix crash on invalid out-of-line enum definition with template parameters (#188246)

clang crashes when an invalid out-of-line enum definition is provided
with template parameters. In these cases, clang produces a dependent
type within a non-dependent context, violating internal invariants.

The fix is to fallback the underlying type of the enum to `int` during
error recovery in `Sema::ActOnTag` when `Invalid` is true, making it
safe for downstream processing while still preserving the invalid
declaration in the AST.


Fixes #187909
DeltaFile
+10-0clang/test/SemaTemplate/GH187909.cpp
+2-1clang/lib/Sema/SemaDecl.cpp
+12-12 files

LLVM/project d55122eclang/lib/Rewrite Rewriter.cpp, clang/unittests/Rewrite RewriterTest.cpp

[clang][Rewriter] Adjust end offset before RewriteBuffer::getMappedOffset() call (#187374)

Without this patch, only cases when a token length increased were
supported.
If a token length decreased, we returned a larger string than expected
(e.g. in the added tests, "xretur " would be returned instead of
"xretur")
DeltaFile
+8-0clang/unittests/Rewrite/RewriterTest.cpp
+4-4clang/lib/Rewrite/Rewriter.cpp
+12-42 files

LLVM/project d8391e4llvm/include/llvm/Passes CodeGenPassBuilder.h, llvm/include/llvm/Transforms/Scalar LoopStrengthReduce.h

[NPM] Make LoopStrengthReduce function pass
DeltaFile
+40-7llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
+10-8llvm/include/llvm/Passes/CodeGenPassBuilder.h
+4-4llvm/test/CodeGen/AMDGPU/llc-pipeline-npm.ll
+4-4llvm/test/CodeGen/X86/llc-pipeline-npm.ll
+1-2llvm/include/llvm/Transforms/Scalar/LoopStrengthReduce.h
+1-1llvm/test/Transforms/LoopStrengthReduce/depth-limit-overrun.ll
+60-2612 files not shown
+72-3818 files

LLVM/project a485f1cllvm/lib/Target/AMDGPU SILowerSGPRSpills.cpp, llvm/test/CodeGen/AMDGPU si-lower-sgpr-spills-cycle-header.ll si-lower-sgpr-spills-multi-entry-cycle.mir

[AMDGPU][SILowerSGPRSpills] Correct insertion of IMPLICIT_DEF in cycles (#186348)

si-lower-sgpr spills was observed inserting IMPLICIT_DEF for lane VGPR
restores in the cycle header. The virtual VGPR is therefore not live-in
to the header and wwm regallocfast does not insert a restore. This
results in the vgpr being clobbered after each backedge.

Correct this by inserting the IMPLICIT_DEF in a block that dominates
all entries.

Assisted by Claude.
DeltaFile
+206-0llvm/test/CodeGen/AMDGPU/si-lower-sgpr-spills-cycle-header.ll
+149-0llvm/test/CodeGen/AMDGPU/si-lower-sgpr-spills-multi-entry-cycle.mir
+114-0llvm/test/CodeGen/AMDGPU/si-lower-sgpr-spills-cycle-header.mir
+66-21llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp
+72-0llvm/test/CodeGen/AMDGPU/si-lower-sgpr-spills-initial-insert-in-body.mir
+63-0llvm/test/CodeGen/AMDGPU/si-lower-sgpr-spills-initial-insert-in-latch.mir
+670-214 files not shown
+687-2510 files

OpenBSD/ports HAaQGuknet/pounce Makefile distinfo, net/pounce/patches patch-state_c

   update net/pounce to 3.2
VersionDeltaFile
1.9+2-4net/pounce/Makefile
1.3+2-2net/pounce/distinfo
1.4+0-2net/pounce/pkg/PLIST
1.2+0-0net/pounce/patches/patch-state_c
+4-84 files

LLVM/project b6759f1lldb/source/Host/aix Host.cpp, lldb/source/Plugins/ObjectFile/XCOFF ObjectFileXCOFF.cpp ObjectFileXCOFF.h

[lldb][AIX] Extract CPU type and set up process architecture accordingly (#189910)

This PR is in reference to porting LLDB on AIX. Ref discusssions: [llvm
discourse](https://discourse.llvm.org/t/port-lldb-to-ibm-aix/80640) and
[#101657](https://github.com/llvm/llvm-project/issues/101657).
Complete changes together in this draft:
- [Extending LLDB to work on AIX
#102601](https://github.com/llvm/llvm-project/pull/102601)

Description:
The process architecture was previously initialized using a hardcoded
TCPU_PPC64 CPU type.

The logic has been updated to determine the CPU type dynamically by
inspecting the magic bytes and the XCOFF header. Based on this
information, the appropriate CPU type (TCPU_PPC or TCPU_PPC64) is
selected and used when constructing and setting the ArchSpec.

This change ensures that the process architecture correctly reflects the
underlying binary format.
DeltaFile
+20-29lldb/source/Plugins/ObjectFile/XCOFF/ObjectFileXCOFF.cpp
+37-3lldb/source/Host/aix/Host.cpp
+3-2lldb/source/Plugins/ObjectFile/XCOFF/ObjectFileXCOFF.h
+1-1lldb/source/Utility/ArchSpec.cpp
+1-1lldb/test/Shell/ObjectFile/XCOFF/basic-info32.yaml
+62-365 files

FreeBSD/ports bc4339dnet-mgmt/zabbix6-proxy Makefile, net-mgmt/zabbix6-server Makefile

net-mgmt/zabbix*-server: Switch to respect DEFAULT_VERSIONS for MySQL

To help tracking of default MySQL client version, switch the default MySQL
requirement from fixed version (8.0, 8.4, ...) to DEFAULT_VERSIONS.

Reported by:    Simon Wright <simon.wright at gmx.net>
DeltaFile
+5-5net-mgmt/zabbix72-server/Makefile
+5-5net-mgmt/zabbix6-server/Makefile
+5-5net-mgmt/zabbix7-server/Makefile
+4-4net-mgmt/zabbix74-server/Makefile
+1-1net-mgmt/zabbix72-proxy/Makefile
+1-1net-mgmt/zabbix6-proxy/Makefile
+21-212 files not shown
+23-238 files

LLVM/project 9e72ab6clang/lib/Sema SemaChecking.cpp, clang/test/Analysis bstring.c

[Clang][Sema] Add fortify warnings for bcopy and bzero  (#168965) (#186522)

Add fortify warnings for bcopy and bzero as part of
[llvm#142230](https://github.com/llvm/llvm-project/issues/142230)
DeltaFile
+12-0clang/test/Sema/warn-fortify-source.c
+9-0clang/lib/Sema/SemaChecking.cpp
+2-1clang/test/Analysis/bstring.c
+23-13 files

HardenedBSD/src 50964d7sys/net if.c

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+19-10sys/net/if.c
+19-101 files

HardenedBSD/src b177954sys/net if.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+19-10sys/net/if.c
+19-101 files

OpenBSD/ports GffDcYXdevel/py-simpleeval distinfo Makefile

   update devel/py-simpleeval to 1.0.7
VersionDeltaFile
1.11+2-2devel/py-simpleeval/distinfo
1.24+1-2devel/py-simpleeval/Makefile
+3-42 files

NetBSD/pkgsrc akCUcHjsysutils/py-psutil distinfo

   sysutils/psutil: Update the patch checksum
VersionDeltaFile
1.67+2-2sysutils/py-psutil/distinfo
+2-21 files

HardenedBSD/ports 1e4830ajapanese/font-migu Makefile distinfo, news/nzbhydra2 Makefile

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+27-31japanese/font-migu/Makefile
+29-29x11-wm/herbstluftwm/pkg-plist
+20-23news/nzbhydra2/Makefile
+3-15x11-wm/herbstluftwm/Makefile
+9-8japanese/font-migu/distinfo
+7-7news/nzbhydra2/files/nzbhydra2.in
+95-11312 files not shown
+122-14018 files

FreeBSD/ports 2392528databases/postgresql-libpqxx distinfo Makefile

databases/postgresql-libpqxx: Update to 8.0.1

Release notes:  https://github.com/jtv/libpqxx/releases/tag/8.0.1
MFH:            2026Q2 (buffer overrun)

(cherry picked from commit cf29b029f5d05f5d911353b2cc09a02897906f16)
DeltaFile
+3-3databases/postgresql-libpqxx/distinfo
+1-1databases/postgresql-libpqxx/Makefile
+0-1databases/postgresql-libpqxx/pkg-plist
+4-53 files

LLVM/project 45494d9llvm/lib/Target/RISCV RISCVInstrInfoZa.td

[RISCV] Fix address type in Zacas seq_cst atomic pattern (#190729)

The seq_cst pattern in AMOCASPat used (vt GPR:$addr) for the address
operand, while all other patterns (monotonic, acquire, release, acq_rel)
consistently use (XLenVT GPR:$addr). This would produce a wrong type for
the address when vt differs from XLenVT (e.g., amocas.d on RV32 where
vt=i64).

Co-authored-by: Claude Opus 4.6 (1M context) <noreply at anthropic.com>
DeltaFile
+1-1llvm/lib/Target/RISCV/RISCVInstrInfoZa.td
+1-11 files

LLVM/project cab7d1emlir/lib/Reducer ReductionTreePass.cpp, mlir/test/mlir-reduce test.sh false.sh

[mlir][reducer] Repalce module.emitWarning with module.emitError in ReductionTree pass (#190584)

This PR fixes the diagnostic message for mlir-reduce's reduction-tree
pass when the input module is not "interesting". Previously, running
with the warning pass would fail silently, and enabling debug options
would only show a generic "pass manager run failed" message without any
useful diagnostic information.
DeltaFile
+0-6mlir/test/mlir-reduce/test.sh
+6-0mlir/test/mlir-reduce/false.sh
+6-0mlir/test/mlir-reduce/true.sh
+4-1mlir/test/mlir-reduce/invalid.mlir
+2-2mlir/lib/Reducer/ReductionTreePass.cpp
+1-1mlir/test/mlir-reduce/simple-test.mlir
+19-106 files

OpenBSD/ports UH5Eovwx11/stumpwm Makefile

   bump x11/stumpwm after lang/sbcl update
VersionDeltaFile
1.41+1-1x11/stumpwm/Makefile
+1-11 files