LLVM/project e39f33cllvm/lib/Target/X86 X86ISelLowering.cpp, llvm/test/CodeGen/X86/apx ccmp.ll

[X86][CCMP] Fix invalid CCMP emission (#211161)

This patch ports AArch64's negation-aware conjunction algorithm to fix
invalid CCMP emission when OR nested inside an AND.

Example: https://godbolt.org/z/ave7f61hK

Before the change, the above case returns 5 rather the 9 when CCMP
enabled.

Assisted-by: Claude Opus 4.8
(cherry picked from commit 45b30651cf94ddb32676550cca7ddd3f6a5e66e0)
DeltaFile
+140-59llvm/lib/Target/X86/X86ISelLowering.cpp
+60-18llvm/test/CodeGen/X86/apx/ccmp.ll
+200-772 files

LLVM/project 060d53fllvm/include/llvm/DebugInfo/DWARF DWARFTypePrinter.h, llvm/test/tools/llvm-dwarfdump/X86 verify_simplified_template_names.yaml

[DebugInfo] Don't assert on missing template parameter names (#211412)

The DWARF verifier reconstructs simplified template names through
DWARFTypePrinter to compare them against the original DW_AT_name. On
malformed input, a template parameter can have no recoverable name,
which tripped assert(RawName) and aborted instead of letting the
verifier report the problem.

Assisted-by: Claude

rdar://182715403
(cherry picked from commit bdddd134c1af6b0c5196ea944edf4c5c76019306)
DeltaFile
+83-0llvm/test/tools/llvm-dwarfdump/X86/verify_simplified_template_names.yaml
+4-2llvm/include/llvm/DebugInfo/DWARF/DWARFTypePrinter.h
+87-22 files

OPNSense/core 69d6e9csrc/opnsense/mvc/app/controllers/OPNsense/Core/Api BackupController.php, src/opnsense/mvc/app/controllers/OPNsense/Diagnostics/Api LvtemplateController.php DnsController.php

mvc: fix imports for Backend
DeltaFile
+20-23src/opnsense/mvc/app/models/OPNsense/IPsec/FieldTypes/SPDField.php
+0-1src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/CategoryController.php
+0-1src/opnsense/mvc/app/controllers/OPNsense/Diagnostics/Api/LvtemplateController.php
+0-1src/opnsense/mvc/app/models/OPNsense/Core/Migrations/MHA1_0_1.php
+0-1src/opnsense/mvc/app/controllers/OPNsense/Core/Api/BackupController.php
+0-1src/opnsense/mvc/app/controllers/OPNsense/Diagnostics/Api/DnsController.php
+20-286 files

OPNSense/core fb803d6src/opnsense/mvc/app/models/OPNsense/Auth Group.php, src/opnsense/mvc/app/models/OPNsense/Base BaseModel.php

mvc: fix stale imports for Message
DeltaFile
+1-3src/opnsense/mvc/app/models/OPNsense/Diagnostics/PacketCapture.php
+0-1src/opnsense/mvc/app/models/OPNsense/Hostdiscovery/Hostwatch.php
+0-1src/opnsense/mvc/app/models/OPNsense/Auth/Group.php
+0-1src/opnsense/mvc/app/models/OPNsense/Base/BaseModel.php
+0-1src/opnsense/mvc/app/models/OPNsense/Firewall/FieldTypes/AliasContentField.php
+0-1src/opnsense/mvc/app/models/OPNsense/Trust/Ca.php
+1-81 files not shown
+1-97 files

OPNSense/core c3806basrc/opnsense/mvc/app/controllers/OPNsense/Core/Api TunablesController.php, src/opnsense/mvc/app/controllers/OPNsense/Diagnostics/Api LvtemplateController.php

mvc: fix imports for UserException
DeltaFile
+21-24src/opnsense/mvc/app/controllers/OPNsense/Diagnostics/Api/LvtemplateController.php
+21-23src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/CategoryController.php
+1-1src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/GroupController.php
+0-1src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/OneToOneController.php
+0-1src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/DNatController.php
+0-1src/opnsense/mvc/app/controllers/OPNsense/Core/Api/TunablesController.php
+43-511 files not shown
+43-527 files

LLVM/project 09b884allvm/lib/Transforms/Vectorize VPlanTransforms.cpp, llvm/test/Transforms/LoopVectorize fmax-without-fast-math-flags.ll

[VPlan] Use VPlan::hasTailFolded in materializeConstantVectorTC. (#209502)

The current checks in materializeConstantVectorTripCount miss
tail-folded cases when vectorizing loops with fmax without fast-math
flags. Use recently added hasTailFolded helper to ensure we always bail
out on tail-folded loops.

Fixes https://github.com/llvm/llvm-project/issues/209159.
DeltaFile
+1-1llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+1-1llvm/test/Transforms/LoopVectorize/fmax-without-fast-math-flags.ll
+2-22 files

LLVM/project 18f4b59llvm/test/Transforms/LoopVectorize fmax-without-fast-math-flags.ll

[LV] Add test showing incorrect trip count materialization (NFC) (#209460)

Add test case showing mis-compile for
https://github.com/llvm/llvm-project/issues/209159.
DeltaFile
+105-0llvm/test/Transforms/LoopVectorize/fmax-without-fast-math-flags.ll
+105-01 files

LLVM/project 906f520mlir/include/mlir/IR BuiltinAttributes.td, mlir/lib/IR BuiltinAttributes.cpp

[mlir] Fix alignment assertion for empty DenseArrayAttr (#211730)

After #207274, libc++ fails __assume_aligned assertion in
__assume_valid_range.

https://lab.llvm.org/buildbot/#/builders/25/builds/18994

`DenseArrayAttrImpl<T>::operator ArrayRef<T>()` is just a cast of
`raw.data()`. `raw` is aligned copy of range from
from BytecodeReader done by
Builtin_DenseArrayRawDataParameter allocator.
However, if range is empty, aligned copying was
omitted, leaving unaligned `ArrayRef<char>`.

The fix is to replace unaligned `ArrayRef<>` with
aligned default constructed.
DeltaFile
+3-0mlir/include/mlir/IR/BuiltinAttributes.td
+2-0mlir/lib/IR/BuiltinAttributes.cpp
+5-02 files

LLVM/project bac13e7libc/src/string/memory_utils op_x86.h, libc/src/string/memory_utils/x86_64 inline_memcpy.h

[libc] Fix compilation when AVX is not available (#211726)
DeltaFile
+23-15libc/src/string/memory_utils/x86_64/inline_memcpy.h
+11-1libc/src/string/memory_utils/op_x86.h
+34-162 files

LLVM/project ff11bbfmlir/lib/IR BuiltinAttributes.cpp

format

Created using spr 1.3.7
DeltaFile
+1-1mlir/lib/IR/BuiltinAttributes.cpp
+1-11 files

LLVM/project 6fa48eamlir/include/mlir/IR BuiltinAttributes.td, mlir/lib/IR BuiltinAttributes.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+3-0mlir/include/mlir/IR/BuiltinAttributes.td
+2-0mlir/lib/IR/BuiltinAttributes.cpp
+5-02 files

LLVM/project 2f73fdcclang/lib/Sema SemaOverload.cpp, clang/test/SemaCXX deleted-function-deduction-failure.cpp cxx-deprecated.cpp

[clang][sema] Call expressions are constructed for undeduced deleted functions (#208488)

The deleted function path of overload resolution always constructed a CallExpr node
for the called function even if the function could not be deduced.
This case is handled in other paths by DiagnoseUseOfDecl which does perform that
test. The delete path cannot use that path though, as DiagnoseUseOfDecl rejects
deleted functions, and the entire point of this code is to permit the continued
evaluation of code even if the resolved function was deleted.

To fix this we now manually check for a complete type before continuing to construct
a potentially bogus CallExpr.
DeltaFile
+49-0clang/test/SemaCXX/deleted-function-deduction-failure.cpp
+4-2clang/test/SemaCXX/cxx-deprecated.cpp
+4-0clang/lib/Sema/SemaOverload.cpp
+3-0clang/test/SemaCXX/deduced-return-type-cxx14.cpp
+60-24 files

LLVM/project 7d13e22.github/workflows/containers/libc Dockerfile

Create symlink for llvm-link in libc docker image (#210929)
DeltaFile
+3-2.github/workflows/containers/libc/Dockerfile
+3-21 files

NetBSD/pkgsrc m2rDFeddoc CHANGES-2026

   doc: Updated lang/gcc15-gnat-libs to 15.3.0nb1
VersionDeltaFile
1.4731+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc Xgahy2Sdoc CHANGES-2026

   doc: Updated lang/gcc15-gnat to 15.3.0
VersionDeltaFile
1.4730+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc rbTmJXQlang/gcc15-gnat distinfo Makefile, lang/gcc15-gnat-libs Makefile

   gcc15-gnat,gcc15-gnat-libs: update to 15.3

   This is a bug-fix release, containing fixes for regressions in
   GCC 15.2 relative to previous releases of GCC.
VersionDeltaFile
1.5+4-4lang/gcc15-gnat/distinfo
1.6+3-3lang/gcc15-gnat-libs/Makefile
1.8+3-3lang/gcc15-gnat/Makefile
1.6+3-3lang/gcc15-gnat/buildlink3.mk
+13-134 files

LLVM/project 1be72f0llvm/lib/Target/AMDGPU SISchedule.td GCNHazardRecognizer.cpp, llvm/test/CodeGen/AMDGPU wmma-hazards-gfx1250-w32.mir wmma-coexecution-valu-hazards.mir

[AMDGPU] Fix gfx1250 WMMA latencies (#202522)

- 16x16x64 FP8/BF8 WMMA run in 4 cycles, not 8. Add a 4-cycle
WriteXDL1PassWMMA write and split the FP8/BF8 InstRW by shape so that
16x16x128 FP8/BF8 (and F16/BF16) keep the 8-cycle latency.
- f8f6f4 WMMA run in 4 cycles when both matrix inputs are f4 and 8
cycles when any input is f6 or f8, instead of the previous 8/16. Update
the scheduling predicate accordingly.
DeltaFile
+0-117llvm/test/CodeGen/AMDGPU/wmma-hazards-gfx1250-w32.mir
+0-67llvm/test/CodeGen/AMDGPU/wmma-coexecution-valu-hazards.mir
+66-0llvm/test/tools/llvm-mca/AMDGPU/gfx1250-wmma-cycles.s
+17-10llvm/lib/Target/AMDGPU/SISchedule.td
+14-8llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
+0-4llvm/test/CodeGen/AMDGPU/misched-into-wmma-hazard-shadow.mir
+97-2066 files

OpenBSD/src 77JA7UNusr.sbin/bgpctl bgpctl.c

   Another imsg_get to imsg_getbuf conversion.

   OK tb@
VersionDeltaFile
1.324+3-3usr.sbin/bgpctl/bgpctl.c
+3-31 files

OpenBSD/src FQm31MBusr.sbin/bgpd rde.c rtr.c

   Convert from imsg_get() to imsgbuf_get()

   imsg_get should no longer be used.
   OK tb@
VersionDeltaFile
1.711+7-7usr.sbin/bgpd/rde.c
1.36+5-5usr.sbin/bgpd/rtr.c
1.540+3-4usr.sbin/bgpd/session.c
1.292+2-3usr.sbin/bgpd/bgpd.c
1.142+2-3usr.sbin/bgpd/control.c
+19-225 files

OPNSense/core 221f639src/opnsense/mvc/app/models/OPNsense/Interfaces NetworkInterface.php

interfaces: remove leftover
DeltaFile
+0-1src/opnsense/mvc/app/models/OPNsense/Interfaces/NetworkInterface.php
+0-11 files

FreeBSD/src 5b5a10e. .git-blame-ignore-revs

.git-blame-ignore-revs: Fix hash for sys/kern/kern_cpu.c whitespace changes

Really fill in the hash of the MFCed commit, removing the placeholder
I forgot to update before commit.

This is a direct commit to stable/14.

Fixes:          83e087e0ea21 (".git-blame-ignore-revs: sys/kern/kern_cpu.c whitespace changes")
Sponsored by:   The FreeBSD Foundation
DeltaFile
+1-1.git-blame-ignore-revs
+1-11 files

FreeBSD/src 815c439. .git-blame-ignore-revs

.git-blame-ignore-revs: Fix hash for sys/kern/kern_cpu.c whitespace changes

Really fill in the hash of the MFCed commit, removing the placeholder
I forgot to update before commit.

This is a direct commit to stable/15.

Fixes:          bd13516d400b (".git-blame-ignore-revs: sys/kern/kern_cpu.c whitespace changes")
Sponsored by:   The FreeBSD Foundation
DeltaFile
+1-1.git-blame-ignore-revs
+1-11 files

LLVM/project 8e075ecllvm/utils profcheck-xfail.txt

[ProfCheck] XFail 3 coro tests (#211719)

These are still failing after 4f8de7694a0aab7a55c21970855dd8659f3700c6.
DeltaFile
+3-0llvm/utils/profcheck-xfail.txt
+3-01 files

FreeBSD/src f594f06sys/dev/acpica acpi_cpu.c

acpi_cpu(4): Call ACPI_GET_FEATURES() on a reset 'features' variable

This is to prevent child drivers from using the features returned by
previous drivers (in an arbitrary order).  None of the existing ones do
that, so this is purely defensive.

MFC after:      2 weeks
Sponsored by:   The FreeBSD Foundation

(cherry picked from commit 664ad9ac4c9047d29d5f37d43174e1b469e2ec80)
DeltaFile
+2-1sys/dev/acpica/acpi_cpu.c
+2-11 files

FreeBSD/src 45254c2sys/x86/include apicvar.h, sys/x86/x86 local_apic.c

x86/local_apic.c: Fiddle with thermal LVT slot only if supported

The thermal LVT slot does not necessarily exist.

According to Intel's Software Developers Manual, for Intel processors
supporting 64-bit operation (amd64), probably even the earliest ones
should have a local APIC with such a slot (the slot was introduced with
Pentium 4 and Xeon processors according to the manual, and the 64-bit
implementation in some later versions of them).  AMD's Architecture
Programmer's Manual also seems to imply that all AMD processors
supporting amd64 should have the slot too.  So this change may not be
needed when i386's code is dropped, but it does not hurt to have it, and
it might ease possible MFCs.

Change the signature of lapic_enable_thermal() so that it can report
failure (if there is no local APIC or if there is no thermal LVT slot).

Reviewed by:    bnovkov, kib
MFC after:      2 weeks

    [4 lines not shown]
DeltaFile
+16-6sys/x86/x86/local_apic.c
+1-1sys/x86/include/apicvar.h
+17-72 files

FreeBSD/src f02f552sys/i386/include pcpu.h

i386: provide PCPU pc_small_core for amd64 compat

Provide pc_small_core for i386 too to fix an i386 build break from x86
code referring to it.  It won't be set.

Reviewed by:    aokblast, kib
Fixes:  7b26353a59d6 ("hwpstate_intel: Disable package control on hybrid CPU")
Differential Revision:  https://reviews.freebsd.org/D58335

(cherry picked from commit 29d15d658d175139196d821b123c30a5b58e135e)
DeltaFile
+2-1sys/i386/include/pcpu.h
+2-11 files

FreeBSD/src 49f19f3sys/i386/i386 apic_vector.S

i386: supply thermal interrupt handler

This fixes a build break for i386.

Reviewed by:    kib, olce, Koine Yuusuke <koinec at yahoo.co.jp>
Fixes:  87ba088fa310 ("x86/local_apic.c: Add support for installing a thermal interrupt handler")
Differential Revision:  https://reviews.freebsd.org/D58332

(cherry picked from commit cb325dcedfa291c9bfe350a513694df3776a17a4)
DeltaFile
+15-0sys/i386/i386/apic_vector.S
+15-01 files

FreeBSD/src 93dbde1sys/x86/x86 local_apic.c

x86/local_apic.c: Factor out version read and max LVT slot computation

This makes the code slightly more compact and easier to read.

No functional change intended.

Reviewed by:    bnovkov
MFC after:      2 weeks
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D58110

(cherry picked from commit 060ecf296664fd150328ac6dcdc24764a427bc3a)
DeltaFile
+36-36sys/x86/x86/local_apic.c
+36-361 files

FreeBSD/src de695c6sys/x86/include apicvar.h, sys/x86/x86 local_apic.c

x86/local_apic.c: Thermal interrupt support: Additional style fixes

Rename handler function type 'lapic_thermal_handle_function' to the
shorter 'lapic_thermal_handler_t'.  Move it closer to the function
declaration block where it is used.  Make it a true function type (no
pointer) and add explicit pointer marks on usage.

Rename 'lapic_thermal_function_value' to the more immediately clear
'lapic_thermal_function_arg'.  In lapic_thermal_enable(), use 'func_arg'
as the argument name for the handler argument, which at least refers to
function 'func', rather than the generic 'value'.

Finally, rename the global handler variable from
'lapic_thermal_function_ptr' to the shorter 'lapic_thermal_function'
(dynamic functions can be referenced only through a pointer).

MFC with:       87ba088fa310 ("x86/local_apic.c: Add support for installing a thermal interrupt handler")
Sponsored by:   The FreeBSD Foundation

(cherry picked from commit e1f4a8cb8656e64a1fe2b1ab519821b14c4985a0)
DeltaFile
+11-11sys/x86/x86/local_apic.c
+4-2sys/x86/include/apicvar.h
+15-132 files

FreeBSD/src 387646csys/conf files.riscv files.arm64

files: riscv, arm64: Remove redundant 'ofw_cpu.c'

Should have been removed when that line was moved from 'files.arm' to
'files'.

Fixes:          14e1a2cd295d ("Move ofw_cpu file to the main files conf file.")
MFC after:      2 weeks
Event:          Halifax Hackathon 202606
Location:       Seat 36K in AC667, over Maine near Canadian border
Sponsored by:   The FreeBSD Foundation

(cherry picked from commit 10213f01773f22ab948ec1e87c880b1d19a1fc45)
DeltaFile
+0-1sys/conf/files.riscv
+0-1sys/conf/files.arm64
+0-22 files