LLVM/project a7e3edallvm/include/llvm/Support Allocator.h, llvm/unittests/Support AllocatorTest.cpp

Revert "[Allocator] Keep bump pointer at a minimum alignment" (#205091)

Arithmetic on nullptr is UB and gets flagged by UBSan.

Reverts llvm/llvm-project#203718
DeltaFile
+27-51llvm/include/llvm/Support/Allocator.h
+0-19llvm/unittests/Support/AllocatorTest.cpp
+27-702 files

LLVM/project b0c2017mlir/lib/Dialect/X86/Transforms VectorContractToAMXDotProduct.cpp, mlir/test/Dialect/X86/AMX vector-contract-to-tiled-dp.mlir

[mlir][x86] Fail on missing read source operation (#205077)

Adds an extra check to AMX lowering to fail gracefully when a source
operation for contraction input data is not found.
DeltaFile
+69-0mlir/test/Dialect/X86/AMX/vector-contract-to-tiled-dp.mlir
+4-0mlir/lib/Dialect/X86/Transforms/VectorContractToAMXDotProduct.cpp
+73-02 files

LLVM/project 06dcba6flang/include/flang/Optimizer/Transforms Passes.td, flang/lib/Optimizer/Passes Pipelines.cpp

[flang][debug] Add fake use ops for dynamic array dimension variables (#200061)

In cases where the upper or lower bounds of a dynamic array are not
explicitly referenced in code, flang can optimize away the internal
variables that represent these values. This causes missing values to
appear in the debugger when examining the dynamic array's type. Adding
an llvm.fake.use op for each bound preserves it for use by a debugger,
similar to the fix for #185432.

Resolves #119474
DeltaFile
+135-0flang/test/Transforms/debug-fake-use-multiple-dimensions.fir
+116-0flang/test/Transforms/debug-fake-use-multiple-returns.fir
+48-15flang/lib/Optimizer/Transforms/AddDebugInfo.cpp
+42-3flang/test/Transforms/debug-fake-use.fir
+2-2flang/include/flang/Optimizer/Transforms/Passes.td
+1-1flang/lib/Optimizer/Passes/Pipelines.cpp
+344-216 files

LLVM/project a780818llvm/test/MC/AMDGPU gfx13_asm_vop3_dpp16.s

[AMDGPU][NFC] Templatise and roundtrip gfx13_asm_vop3_dpp16.s (#204849)

Again, this is based on the templatised version of
gfx12_asm_vop3_dpp16.s with the GFX13-specific changes re-applied on top
of it.

gfx13_dasm_vop3_dpp16.txt was never upstreamed, so no changes for the
disassembler side.
DeltaFile
+12,991-3,310llvm/test/MC/AMDGPU/gfx13_asm_vop3_dpp16.s
+12,991-3,3101 files

LLVM/project 27af208llvm/test/MC/AMDGPU gfx12_asm_vop3_dpp16.s, llvm/test/MC/Disassembler/AMDGPU gfx12_dasm_vop3_dpp16.txt gfx12_dasm_vop3_dpp16-fake.txt

[AMDGPU][NFC] Templatise and roundtrip gfx12_asm_vop3_dpp16.s (#203953)

This is effectively the changes between the non-template versions of
gfx11/12_asm_vop3_dpp16.s applied on top of the templatised
gfx11_asm_vop3_dpp16.s.
DeltaFile
+11,856-3,719llvm/test/MC/AMDGPU/gfx12_asm_vop3_dpp16.s
+0-8,306llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vop3_dpp16.txt
+5,672-0llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vop3_dpp16-fake.txt
+17,528-12,0253 files

FreeBSD/ports 774f3cfdevel/sbt distinfo Makefile

devel/sbt: update to 1.12.13 release.
DeltaFile
+3-3devel/sbt/distinfo
+1-1devel/sbt/Makefile
+4-42 files

OpenBSD/src mYCXKYasys/dev/pci/drm drm_linux.c, sys/dev/pci/drm/include/generated autoconf.h

   add dma_length member to struct scatterlist

   inteldrm code assumes that sg_dma_len() does not return the length
   member of the struct as it increments both.

   Problem reported by Ryan Fahy in FreeBSD drm-kmod PR 468.

   Avoids a 'Data modified on freelist' panic on boot when using discrete
   Intel cards (DG2).  DG2 has other issues, so remains disabled for now.
VersionDeltaFile
1.9+3-2sys/dev/pci/drm/include/linux/scatterlist.h
1.140+2-1sys/dev/pci/drm/drm_linux.c
1.21+2-0sys/dev/pci/drm/include/generated/autoconf.h
1.10+1-0sys/dev/pci/drm/include/linux/dma-mapping.h
+8-34 files

LLVM/project 8616fadlldb/source/Target Memory.cpp

[lldb] Avoid tautological copying of a newly created object (NFC) (#204998)
DeltaFile
+1-2lldb/source/Target/Memory.cpp
+1-21 files

FreeNAS/freenas adbc1e7

Empty commit to create PR on github.

You should reset it
DeltaFile
+0-00 files

FreeNAS/freenas d0b9d80src/middlewared/middlewared/alert/source smart.py, src/middlewared/middlewared/pytest/unit/alert/source test_smart.py

NAS-141215 / 25.10.5 / fix SMART test checks for ATA drives (by yocalebo) (by bugclerk) (#19176)

This properly parses SMART self-tests for ATA drives. Most modern drives
support the GP log (48bit extended self-test log) while older drives
don't. Smartctl puts each test in the `extended` and `standard`
top-level keys appropriately. This fixes the check and adds a unit test
along with developer comment pointing to where I confirmed this in
source. I also ran the associated smartctl command on an ATA drive and
confirmed the json output.

Original PR: https://github.com/truenas/middleware/pull/19061


Original PR: https://github.com/truenas/middleware/pull/19063

---------

Co-authored-by: Logan Cary <logan.cary at ixsystems.com>
DeltaFile
+101-0src/middlewared/middlewared/pytest/unit/alert/source/test_smart.py
+16-2src/middlewared/middlewared/alert/source/smart.py
+117-22 files

LLVM/project 4f5c444orc-rt/include/orc-rt QueueingRunner.h, orc-rt/unittests QueueingRunnerTest.cpp SessionTest.cpp

[orc-rt] Default QueueingRunner to a synchronized queue. (#205088)

Adds orc_rt::detail::SynchronizedDeque<T>, a mutex-protected deque whose
pop_front / pop_back return std::optional<T> (std::nullopt indicates the
queue is empty), and makes it QueueingRunner's default WorkQueue type.

Using a synchronized queue type allows QueueingRunner to be used in
multi-threaded contexts.

Updates SessionTest and InProcessControllerAccessTest to use the new
default, and extends QueueingRunnerTest to cover the new contract.
DeltaFile
+54-19orc-rt/include/orc-rt/QueueingRunner.h
+54-13orc-rt/unittests/QueueingRunnerTest.cpp
+14-17orc-rt/unittests/SessionTest.cpp
+2-4orc-rt/unittests/InProcessControllerAccessTest.cpp
+124-534 files

FreeNAS/freenas 3f99662src/middlewared/middlewared/plugins/enclosure_ nvme2.py

NAS-141181 / 25.10.5 / fix vseries rear nvme bay mapping (by yocalebo) (by bugclerk) (#19178)

When this platform is fully populated a pci device can hang off root
port tree causing the existing logic for mapping the rear nvme bays to
be off by 1. This changes the logic to map similar to what was done in
5cd50ecebf5aa679e06f71d54177176ecf2a7a98

Original PR: https://github.com/truenas/middleware/pull/19026


Original PR: https://github.com/truenas/middleware/pull/19031

---------

Co-authored-by: caleb <yocalebo at gmail.com>
DeltaFile
+78-28src/middlewared/middlewared/plugins/enclosure_/nvme2.py
+78-281 files

LLVM/project 6019657offload/ci openmp-offload-amdgpu-libc-runtime.py

Reapply "[AMDGPU] Add compiler-rt checks for the GPU runtime" (#204898)

The original issue should've been solved by
https://github.com/llvm/llvm-project/pull/204694
Reverts llvm/llvm-project#204370
DeltaFile
+7-0offload/ci/openmp-offload-amdgpu-libc-runtime.py
+7-01 files

OpenBSD/src 4EvzU6vsys/arch/arm64/dev mainbus.c

   The main bus_dma_tag is passed all over the device tree to provide
   operation function pointers.  A bug in a driver could be exploited to
   overwrite these function pointers, causing a later operation to call
   wrong code.  Many mitigations (KARL, bti/pac cfi, various mechanisms
   for placing new code) increase the difficulty of exploit success,
   however there is no reason for this bus_dma_tag structure to be
   writeable, except history: the API does not pass things as const and
   such a change to the tree would be a massive painful diff.
   We know writes are not occuring, so we can force the structure
   into .rodata, without using const.
   This is for arm64 -- the some should be done to all other architectures.
   ok kettenis
VersionDeltaFile
1.37+2-2sys/arch/arm64/dev/mainbus.c
+2-21 files

FreeNAS/freenas 76a5145src/middlewared/middlewared/plugins/device_ vrrp_events.py, src/middlewared/middlewared/plugins/failover_ event.py

NAS-141204 / 25.10.5 / Process BACKUP in vrrp rapid-succession branch (by bmeagherix) (by bugclerk) (#19177)

When VrrpEventThread saw a second rapid event after waiting
rapid_event_settle_time, it dropped the latest queued event and logged a
warning. On boot-time keepalived flaps where the MASTER->BACKUP gap
floors below max_wait, that drop swallowed the only BACKUP signal
middleware was going to see, so vrrp_backup never ran.

Fire the hook for BACKUP (skipping if vrrp_backup already ran this
process lifetime, tracked via a new LAST_EVENT_TYPE attribute on
FailoverEventsService); keep the drop+warn for MASTER, since acting on
an unsettled MASTER would kick off fenced + zpool import.

Original PR: https://github.com/truenas/middleware/pull/19043


Original PR: https://github.com/truenas/middleware/pull/19049

Co-authored-by: Brian M <brian.meagher at ixsystems.com>
DeltaFile
+31-1src/middlewared/middlewared/plugins/device_/vrrp_events.py
+16-0src/middlewared/middlewared/plugins/failover_/event.py
+47-12 files

LLVM/project f8cb6beclang/lib/Driver/ToolChains Clang.cpp

clang: Use the effective triple string for offload jobs (#205065)

Track the future effective triple for the job, rather than
the toolchain's default triple. In the future this will
change the result when amdgpu starts adjusting the triples
to contain subarches.
DeltaFile
+12-7clang/lib/Driver/ToolChains/Clang.cpp
+12-71 files

LLVM/project c5f4abfllvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer revec.ll

[SLP][Revec] Fix SLP crash when trying to fold trailing scalars into the reduced value  (#203477)

Cost modelling change introduced by commit SHA f15666d is enabling revec
of test shown in the above issue. This is introducing a crash as the
reduced value(a scalar) is being added to a vector tail value.

Patch tries to address this.

Fixes #203195
DeltaFile
+60-0llvm/test/Transforms/SLPVectorizer/X86/revec-ordered-reductions.ll
+38-1llvm/test/Transforms/SLPVectorizer/revec.ll
+15-10llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+113-113 files

LLVM/project cbefabcllvm/test/CodeGen/AMDGPU/GlobalISel legalize-load-global.mir legalize-load-private.mir

AMDGPU/GlobalISel: Switch to extended LLTs

With minimal changes. Most notably because of changes to jumptable in isel
GIM_SwitchType requires explicit integer/float types and does not match scalar.
In most places change is in lowering to use LLT::integer or LLT::float.

Other changes:
- replaceRegWith can also change type on Dst register, this can cause CSE data
  corruption (fix is to notify observer)
- mixed i32/f32 in G_MERGE_VALUES/G_UNMERGE_VALUES, common in legalizing
  ray tracing and image intrinsics
- need extra bitcast between i32/f32 in some place
DeltaFile
+7,957-7,957llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-global.mir
+6,802-6,774llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-private.mir
+6,489-6,465llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-local.mir
+5,732-5,732llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.sample.a16.ll
+5,645-5,645llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-store-global.mir
+3,852-3,852llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.dim.a16.ll
+36,477-36,425588 files not shown
+100,715-94,889594 files

FreeNAS/freenas d70d7c0

Empty commit to create PR on github.

You should reset it
DeltaFile
+0-00 files

LLVM/project b302211clang/lib/Driver Driver.cpp, clang/lib/Driver/ToolChains CommonArgs.cpp AMDGPU.cpp

clang/AMDGPU: Use effective triple instead of raw toolchain triple (#205054)

Start using the effective triple instead of the raw toolchain triple.
For the moment this is NFC, but will change when new uses of the subarch
field are introduced.
DeltaFile
+3-2clang/lib/Driver/ToolChains/CommonArgs.cpp
+2-2clang/lib/Driver/ToolChains/AMDGPU.cpp
+1-1clang/lib/Driver/ToolChains/HIPAMD.cpp
+1-1clang/lib/Driver/Driver.cpp
+7-64 files

LLVM/project 7b0b025llvm/include/llvm/Support Allocator.h, llvm/unittests/Support AllocatorTest.cpp

Revert "[Allocator] Keep bump pointer at a minimum alignment (#203718)"

This reverts commit b95e1e890c025ab4eee3583b7b1e2497991145db.
DeltaFile
+27-51llvm/include/llvm/Support/Allocator.h
+0-19llvm/unittests/Support/AllocatorTest.cpp
+27-702 files

OpenBSD/src Q9HcEAcregress/usr.bin/ssh/unittests/test_helper test_helper.c

   Check return value of sscanf.
VersionDeltaFile
1.18+2-2regress/usr.bin/ssh/unittests/test_helper/test_helper.c
+2-21 files

LLVM/project b6a0f6cclang/lib/Analysis/LifetimeSafety Checker.cpp, clang/test/Sema/LifetimeSafety lifetimebound-violation.cpp

[LifetimeSafety] resolved lifetimeBound violation in constructor (#204797)

Fix https://github.com/llvm/llvm-project/issues/203839.

Constructor body does not produce `ReturnEscapeFact`, but a constructor
parameter marked [[clang::lifetimebound]] may still be valid if it
escapes into a field of the constructed object.

Update the `LifetimeBound` logic to accept `FieldEscapeFact` for
constructors, and add a test case for this pattern.
DeltaFile
+4-2clang/lib/Analysis/LifetimeSafety/Checker.cpp
+5-0clang/test/Sema/LifetimeSafety/lifetimebound-violation.cpp
+9-22 files

LLVM/project 8b72350clang/lib/StaticAnalyzer/Core ExprEngine.cpp

[NFC][analyzer] Eliminate some simple node builders (#204187)

Replace four `NodeBuilder`s with direct use of the `makeNode` method
family. This is part of my commit series that simplifies the engine by
gradually eliminating the class `NodeBuilder`.
DeltaFile
+20-32clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
+20-321 files

FreeBSD/ports a628324misc/gnu-watch Makefile distinfo

misc/gnu-watch: Improve port

* Use upstream release archive, gets rid of USES= autoreconf dependency
  and cuts build time in half
* Remove unnecessary USE_CSTD definition
* Remove unnecessary NLS_LDFLAGS definition
* Fix installed manpage to be consistent with installed file name

PR:             296165
Reported by:    diizzy
DeltaFile
+13-8misc/gnu-watch/Makefile
+3-3misc/gnu-watch/distinfo
+16-112 files

FreeBSD/ports e6d9e74ports-mgmt/pkg_replace distinfo Makefile

ports-mgmt/pkg_replace: Update 20260503 => 20260622

Changelog:
https://github.com/kdeguchi/pkg_replace/releases/tag/20260622

PR:             296200
Approved by:    osa, vvd (Mentors, implicit)
MFH:            2026Q2

(cherry picked from commit faf95f216c7519c4467cb81a6ab1b4c35cc7fdc4)
DeltaFile
+3-3ports-mgmt/pkg_replace/distinfo
+1-1ports-mgmt/pkg_replace/Makefile
+4-42 files

FreeBSD/ports faf95f2ports-mgmt/pkg_replace distinfo Makefile

ports-mgmt/pkg_replace: Update 20260503 => 20260622

Changelog:
https://github.com/kdeguchi/pkg_replace/releases/tag/20260622

PR:             296200
Approved by:    osa, vvd (Mentors, implicit)
MFH:            2026Q2
DeltaFile
+3-3ports-mgmt/pkg_replace/distinfo
+1-1ports-mgmt/pkg_replace/Makefile
+4-42 files

LLVM/project 4fd4640llvm/lib/Analysis DependenceAnalysis.cpp, llvm/test/Analysis/DependenceAnalysis find-gcd-overflow.ll

[DA] Add overflow check before calculating absolute value (#201964)

In findGCD, we call APInt::abs, which can overflow when the value is a
signed minimum one. Such overflow can lead miscompilation, so this patch
adds an overflow check for absolute value calculations and bail out
early if it actually overflows.
Fix #201559.
DeltaFile
+59-0llvm/test/Analysis/DependenceAnalysis/find-gcd-overflow.ll
+14-3llvm/lib/Analysis/DependenceAnalysis.cpp
+73-32 files

OpenBSD/src dpkmZSgsbin/iked ikev2.c

   iked: Clear csa_rekey on error

   Found by hshoexer@, fix from markus@
VersionDeltaFile
1.401+11-3sbin/iked/ikev2.c
+11-31 files

FreeBSD/ports 53b7331textproc/libvisio01 distinfo

textproc/libvisio01: add missed distinfo

Fixes 2d4a2e925d3aef2fd16a3b7e6eeb5ebb69311bd4
Reported by:    rhurling, vvd
DeltaFile
+3-3textproc/libvisio01/distinfo
+3-31 files