LLVM/project 8295c74llvm/docs AMDGPUModifierSyntax.rst AMDGPUUsage.rst, llvm/docs/AMDGPU AMDGPUAsmGFX950.rst gfx950_operands.rst

[AMDGPU] Documentation files for GFX950 instructions (#184710)

Checking in documentation files for GFX950 instructions.
DeltaFile
+2,148-0llvm/docs/AMDGPU/AMDGPUAsmGFX950.rst
+1,390-0llvm/docs/AMDGPU/gfx950_operands.rst
+3-2llvm/docs/AMDGPUModifierSyntax.rst
+3-0llvm/docs/AMDGPUUsage.rst
+3,544-24 files

LLVM/project c801f0cllvm/include/llvm/Transforms/Utils UnrollLoop.h, llvm/lib/Transforms/Scalar LoopUnrollPass.cpp

 [LoopUnrollAndJam] Fix out-of-date LoopInfo being used during unroll and jam (#191250)

Fixed issue #190671, where loop unroll and jam did not update LoopInfo
entirely correctly.

Invalid LoopInfo gets passed into `simplifyLoopAfterUnroll()` and is
further called by SCEV at the beginning of
`ScalarEvolution::createSCEVIter()`, which triggered hidden bugs. To
fix, updated LoopInfo correctly before its use.

The loop blocks that `simplifyLoopAfterUnroll()` iterates
through, will become unavailable after the LoopInfo update. Therefore we
store the loop blocks beforehand for its use in
`simplifyLoopAfterUnroll()` later.
DeltaFile
+10-6llvm/lib/Transforms/Utils/LoopUnrollAndJam.cpp
+5-4llvm/lib/Transforms/Utils/LoopUnroll.cpp
+2-1llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
+1-0llvm/include/llvm/Transforms/Utils/UnrollLoop.h
+18-114 files

LLVM/project 2cf353bclang/lib/Analysis/LifetimeSafety FactsGenerator.cpp, clang/test/Sema warn-lifetime-safety.cpp warn-lifetime-analysis-nocfg.cpp

[LifetimeSafety] Flow origins from lifetimebound args in `gsl::Pointer` construction (#189907)

This PR adds origin flow from `[[clang::lifetimebound]]` constructor
arguments during `gsl::Pointer` construction.

Fixes #175898
DeltaFile
+45-0clang/test/Sema/warn-lifetime-safety.cpp
+5-7clang/test/Sema/warn-lifetime-analysis-nocfg.cpp
+11-0clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp
+61-73 files

LLVM/project 5cf1a5dclang/lib/CodeGen TargetInfo.cpp, clang/test/CodeGenOpenCL addr-space-struct-arg.cl opencl-kernel-call.cl

Stop using spir_kernel calling convention on non-SPIR targets. (#191090)

This behavior traces back to fc2629a65a05fa05bc5c5bc37cf910c8e41cdac3 ,
but neither the commit message or the reviews actually justify using
this calling convention. The actual behavior which is important for that
change is the way clang calling convention lowering works.

There isn't really any other reason to use spir_kernel: every non-SPIR
target either rejects it, or treats it as the C calling convention. So
let's stop doing it.

Fixes #157028.
DeltaFile
+299-299clang/test/CodeGenOpenCL/addr-space-struct-arg.cl
+172-172clang/test/CodeGenOpenCL/opencl-kernel-call.cl
+15-15clang/test/CodeGenOpenCL/cl20-device-side-enqueue.cl
+10-14clang/lib/CodeGen/TargetInfo.cpp
+0-16llvm/test/CodeGen/RISCV/spir-kernel-cc.ll
+4-4clang/test/CodeGenOpenCL/kernels-have-spir-cc-by-default.cl
+500-52010 files not shown
+519-53616 files

LLVM/project 95778b2llvm/include/llvm/ADT PostOrderIterator.h

[ADT][NFC] Make po iterator stack entry trivially copyable (#191290)

std::tuple is not trivially copyable, leading to the use of less
efficient SmallVector implementations. Additionally, named members are
more readable than std::get<N>.

Also make sure that successors() is called only once per traversed basic
block -- this is difficult here: when the begin iterator is stored in
the vector between the calls, the second call can't be eliminated due to
the potentially visible store. When copying the entry into the vector,
SmallVector exposes the address of the alloca via ptrtoint to ensure
that the object indeed doesn't reside in the vector. We're missing
some optimization here... so very carefully work around this problem.
DeltaFile
+28-19llvm/include/llvm/ADT/PostOrderIterator.h
+28-191 files

LLVM/project c94f798llvm/include/llvm/ProfileData SampleProf.h

Strip .llvm. suffix after removing the coroutine suffixes to avoid breaking pseudo probe (#191354)

Pseudo probe is currently broken when a coroutine function is promoted
with a global name during ThinLTO import. The top-level function GUID in
.pseudo_probe section are computed from the promoted name (with
".llvm.xxxx" suffix) instead of the original function name. Then it will
cause a dangling top-level GUID that doesn't have any reference in the
pseudo probe desc, and potentially hurt profile quality.

The root cause of the issue were:
1) ThinLTO post-link imports and promotes a local coroutine function,
creating a global function with ".llvm.xxxx" suffix.
2) https://github.com/llvm/llvm-project/pull/141889 introduces a change
in CoroSplit pass that updates the coroutine functions linkage name with
the ".cleanup", ".destroy", ".resume" suffixes, and this creates
top-level functions with ".llvm.xxxx.cleanup", ".llvm.xxxx.destroy",
".llvm.xxxx.resume" suffixes.
3) PseudoProbePrinter and PseudoProbeInserter only strips coroutine
suffix, and didn't consider the ".llvm." suffix.

This patch fixes the issue in step 3)
DeltaFile
+5-1llvm/include/llvm/ProfileData/SampleProf.h
+5-11 files

FreeBSD/ports 3478b74japanese/font-takao Makefile distinfo

japanese/font-takao: Update to 003.03.01 and take maintainership

In this release, Takao and TakaoEx fonts are distributed separately.
Update MASTER_SITES and DISTNAME.
Lint with portclippy.
Refactor do-install.

Changelog: https://launchpad.net/takao-fonts/trunk/15.03

PR:             277679
Approved by:    hrs (maintainer timeout > 3 months)
Approved by:    fluffy (mentor)
DeltaFile
+18-16japanese/font-takao/Makefile
+5-2japanese/font-takao/distinfo
+23-182 files

LLVM/project 03382c1llvm/lib/Target/AMDGPU AMDGPULowerVGPREncoding.cpp, llvm/test/CodeGen/AMDGPU vgpr-setreg-mode-swar.mir hazard-setreg-vgpr-msb-gfx1250.mir

[AMDGPU] Always update SETREG MSBs if offset is 0

We can always update immediate if Offset is zero. The bits
HW will write are always at the same position if offset is 0.

In particular it removes redundant mode changes created as seen
in the hazard-setreg-vgpr-msb-gfx1250.mir.

This still relies on thr wrong behaviour that SETREG updates
MSBs, so it will have to be changes later. Test immediates may be
off from desired for that reason in this patch.
DeltaFile
+106-13llvm/test/CodeGen/AMDGPU/vgpr-setreg-mode-swar.mir
+10-22llvm/test/CodeGen/AMDGPU/hazard-setreg-vgpr-msb-gfx1250.mir
+5-4llvm/lib/Target/AMDGPU/AMDGPULowerVGPREncoding.cpp
+121-393 files

FreeNAS/freenas 11c148fsrc/middlewared/middlewared/plugins service.py, src/middlewared/middlewared/plugins/service_/services base.py base_interface.py

Add SwitchableSimpleService base class

Subclasses can override select_systemd_unit_name() to switch between
systemd units at runtime, or return None when no unit is involved.
select_etc() allows mode-dependent config generation. Intended to
support services with alternative kernel/userspace implementations.

(cherry picked from commit fb396ad0d74bdd90796b7f682c359f0c666050ce)
DeltaFile
+76-1src/middlewared/middlewared/plugins/service_/services/base.py
+3-0src/middlewared/middlewared/plugins/service_/services/base_interface.py
+1-1src/middlewared/middlewared/plugins/service.py
+80-23 files

LLVM/project be1bc28clang/lib/Driver Driver.cpp, clang/test/Driver amdgpu-toolchain.c amdgpu-features.c

[Clang] Permit '--target=amdgcn--' for binaries (#191451)

Summary:
We always accepted `--target=amdgcn--` to create IR object files but it
doesn't allow creating actual binaries without user intervention. This
is because it would fall-through to the GCC toolchain which does not
know how to handle AMGCN / AMDGPU targets. This PR just adds a single
line to handle it, which effectively allows this as a 'bare' target.

Perhaps the argument could be made that AMDGPU should not support
anything but strictly HSA because it has many assumptions in the
compiler itself, such as implicit arguments, but I feel like it is
relatively harmless to support this case if users decide they really do
not need it.
DeltaFile
+4-0clang/test/Driver/amdgpu-toolchain.c
+4-0clang/lib/Driver/Driver.cpp
+2-2clang/test/Driver/amdgpu-features.c
+10-23 files

FreeNAS/freenas ff141ddsrc/middlewared/middlewared/plugins service.py, src/middlewared/middlewared/plugins/service_/services base.py base_interface.py

NAS-140642 / 27.0.0-BETA.1 / Add SwitchableSimpleService base class (#18716)

Subclasses can override select_systemd_unit_name() to switch between
systemd units at runtime, or return None when no unit is involved.
select_etc() allows mode-dependent config generation. Intended to
support services with alternative kernel/userspace implementations.
DeltaFile
+76-1src/middlewared/middlewared/plugins/service_/services/base.py
+3-0src/middlewared/middlewared/plugins/service_/services/base_interface.py
+1-1src/middlewared/middlewared/plugins/service.py
+80-23 files

FreeBSD/ports edb85a0math/saga distinfo Makefile

math/saga: Update to 9.11.4

Changelog:      https://sourceforge.net/p/saga-gis/wiki/Changelog%209.11.4/attachment/changelog_saga_9.11.4.txt

MFH:            2026Q2
(cherry picked from commit 6a9716f32bf021cbf7f0ca5cb65091f02a08910c)
DeltaFile
+3-3math/saga/distinfo
+2-2math/saga/Makefile
+5-52 files

LLVM/project d186e5bflang/include/flang/Semantics openmp-utils.h, flang/lib/Semantics openmp-utils.cpp check-omp-loop.cpp

[flang][OpenMP] Rename GetRequiredCount to GetMinimumSequenceCount

The new name better describes the calculated value.

Also adjust a diagnostic message to say that *at least* N loops are
expected in the sequence.
DeltaFile
+5-5flang/lib/Semantics/openmp-utils.cpp
+5-4flang/include/flang/Semantics/openmp-utils.h
+2-2flang/lib/Semantics/check-omp-loop.cpp
+1-1flang/test/Semantics/OpenMP/fuse1.f90
+1-1flang/test/Semantics/OpenMP/loop-transformation-clauses01.f90
+14-135 files

FreeBSD/ports 6a9716fmath/saga distinfo Makefile

math/saga: Update to 9.11.4

Changelog:      https://sourceforge.net/p/saga-gis/wiki/Changelog%209.11.4/attachment/changelog_saga_9.11.4.txt

MFH:            2026Q2
DeltaFile
+3-3math/saga/distinfo
+2-3math/saga/Makefile
+5-62 files

LLVM/project 05bfe73compiler-rt/lib/interception interception_linux.cpp

[compiler-rt] Address dlvsym not found compilation error when targeting certain platforms (try 2) (#191458)

The previous attempt #191444 was incomplete. 
DeltaFile
+2-0compiler-rt/lib/interception/interception_linux.cpp
+2-01 files

LLVM/project 0278214clang/include/clang/Analysis/Analyses/LifetimeSafety FactsGenerator.h, clang/lib/Analysis/LifetimeSafety FactsGenerator.cpp

[LifetimeSafety] Fix crash on ternary operator when one of the expressions is `throw` (#190345)

Ternary operator now doesn't flow origins from `[[noreturn]]` arms,
including `throw` statements.

Closes #183895
DeltaFile
+52-5clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp
+56-0clang/test/Sema/warn-lifetime-safety.cpp
+1-1clang/lib/Sema/AnalysisBasedWarnings.cpp
+1-0clang/include/clang/Analysis/Analyses/LifetimeSafety/FactsGenerator.h
+110-64 files

FreeBSD/ports 38f0bb0www/hiawatha distinfo pkg-plist

www/hiawatha: Update 12.0 => 12.1

Release Notes:
https://hiawatha.leisink.net/changelog

PR:             294302
Reported by:    Paavo-Einari Kaipila <pkaipila at gmail.com> (maintainer)
Approved by:    osa, vvd (mentors)
MFH:            2026Q2

(cherry picked from commit 71e41147e4cb605cea592d745df3bb0a65652e63)
DeltaFile
+3-3www/hiawatha/distinfo
+0-2www/hiawatha/pkg-plist
+1-1www/hiawatha/Makefile
+4-63 files

FreeBSD/ports 798c1e2security/mbedtls4 pkg-plist distinfo

security/mbedtls4: Update 4.0.0 => 4.1.0 (security)

While here, sort pkg-plist.

Changelog:
https://github.com/Mbed-TLS/mbedtls/releases/tag/mbedtls-4.1.0

PR:             294301
Reported by:    Paavo-Einari Kaipila <pkaipila at gmail.com> (maintainer)
Approved by:    osa, vvd (mentors)
MFH:            2026Q2
Security:       CVE-2026-25833
Security:       CVE-2026-25834

(cherry picked from commit 0f67f38ce6bf226f8a8414c6950d5f90e75499e9)
DeltaFile
+33-32security/mbedtls4/pkg-plist
+3-3security/mbedtls4/distinfo
+1-2security/mbedtls4/Makefile
+37-373 files

FreeBSD/ports 71e4114www/hiawatha distinfo pkg-plist

www/hiawatha: Update 12.0 => 12.1

Release Notes:
https://hiawatha.leisink.net/changelog

PR:             294302
Reported by:    Paavo-Einari Kaipila <pkaipila at gmail.com> (maintainer)
Approved by:    osa, vvd (mentors)
MFH:            2026Q2
DeltaFile
+3-3www/hiawatha/distinfo
+0-2www/hiawatha/pkg-plist
+1-1www/hiawatha/Makefile
+4-63 files

FreeBSD/ports 0f67f38security/mbedtls4 pkg-plist distinfo

security/mbedtls4: Update 4.0.0 => 4.1.0 (security)

While here, sort pkg-plist.

Changelog:
https://github.com/Mbed-TLS/mbedtls/releases/tag/mbedtls-4.1.0

PR:             294301
Reported by:    Paavo-Einari Kaipila <pkaipila at gmail.com> (maintainer)
Approved by:    osa, vvd (mentors)
MFH:            2026Q2
Security:       CVE-2026-25833
Security:       CVE-2026-25834
DeltaFile
+33-32security/mbedtls4/pkg-plist
+3-3security/mbedtls4/distinfo
+1-2security/mbedtls4/Makefile
+37-373 files

FreeBSD/ports 1a38d8fsecurity/vuxml/vuln 2026.xml

security/vuxml: Add MbedTLS vulnerabilities

Reviewed by:    osa, vvd (mentors)
Approved by:    osa (mentor)
Differential Revision: https://reviews.freebsd.org/D56344
DeltaFile
+52-0security/vuxml/vuln/2026.xml
+52-01 files

LLVM/project 16e015blldb/include/lldb/Symbol TypeSystem.h CompilerType.h, lldb/source/Plugins/TypeSystem/Clang TypeSystemClang.cpp TypeSystemClang.h

[NFC][lldb] Use `ASTContext::getPromotedIntegerType` for integral promotion in DIL (#191448)
DeltaFile
+8-90lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
+4-10lldb/source/ValueObject/DILEval.cpp
+2-9lldb/include/lldb/Symbol/TypeSystem.h
+3-5lldb/source/Symbol/TypeSystem.cpp
+7-0lldb/include/lldb/Symbol/CompilerType.h
+2-5lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
+26-1191 files not shown
+33-1197 files

LLVM/project 4f5dcc7llvm/lib/Target/AMDGPU AMDGPUMCInstLower.cpp SIInstrInfo.cpp

AMDGPU: Implement getInstSizeVerifyMode

Replace the custom instruction size check.
DeltaFile
+0-22llvm/lib/Target/AMDGPU/AMDGPUMCInstLower.cpp
+7-0llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+3-0llvm/lib/Target/AMDGPU/SIInstrInfo.h
+10-223 files

LLVM/project faec56fllvm/lib/CodeGen/AsmPrinter AsmPrinter.cpp

CodeGen: Fix double counting bundles in inst size verification

The AMDGPU implementation handles bundles by summing the
member instructions. This was starting with the size of the
bundle instruction, then re-adding all of the same instructions.

This loop is over the iterator, not instr_iterator, so it should
not be looking through the bundled instructions. Most of the other
uses of getInstSizeInBytes are also on the iterator, not the
instr_iterator so the convention seems to be targets need to handle
BUNDLE correctly themselves.
DeltaFile
+0-7llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+0-71 files

LLVM/project 2fbddefllvm/lib/Target/SystemZ SystemZAsmPrinter.cpp

Fix formatting
DeltaFile
+2-3llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
+2-31 files

LLVM/project f5eb99allvm/lib/MC GOFFObjectWriter.cpp, llvm/lib/Target/SystemZ SystemZAsmPrinter.cpp

[SystemZ][GOFF] Reference to external variable needs PR symbol (#185742)

Variables are modelled as parts in the GOFF format. Referencing a
variable defined in a different compilation unit
requires to use a PR symbol instead of an EX symbol (created by the
EXTRN/WXTERN instruction). Those PR symbols need to refer to a
ED symbol, for which the ED symbol of the ADA is used.
DeltaFile
+16-6llvm/lib/MC/GOFFObjectWriter.cpp
+16-2llvm/test/CodeGen/SystemZ/zos-symbol-2.ll
+15-0llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
+10-3llvm/lib/Target/SystemZ/MCTargetDesc/SystemZHLASMAsmStreamer.cpp
+57-114 files

LLVM/project cec943fllvm/lib/Target/SystemZ SystemZAsmPrinter.cpp SystemZAsmPrinter.h

Move labels.
DeltaFile
+14-20llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
+1-2llvm/lib/Target/SystemZ/SystemZAsmPrinter.h
+15-222 files

OpenBSD/src KDe7rNEsys/arch/amd64/amd64 acpi_machdep.c

   Apparently we shouldn't touch the RTC immediately after restarting the
   i8254 clock either when coming out of S3 suspend.  So move the code
   that checks whether the RTC alarm went off and clears it all the way to
   the end of acpi_cpu_resume.  This fixes a lockup seen on the x220.

   Figured out by mlarkin@ who write the initial diff; I just tweaked it.

   ok mlarkin@, deraadt@
VersionDeltaFile
1.115+10-11sys/arch/amd64/amd64/acpi_machdep.c
+10-111 files

LLVM/project 98845fcmlir/lib/Dialect/Tosa/Transforms TosaValidation.cpp, mlir/test/Dialect/Tosa invalid.mlir level_check.mlir

[mlir][tosa] Disallow shape type in function argument/return types (#175754)

This commit adds an additional check to the TOSA validation pass to
disallow use of shape types in function arguments and return types. The
specification requires these types be tensor types.
DeltaFile
+25-10mlir/test/Dialect/Tosa/invalid.mlir
+16-16mlir/test/Dialect/Tosa/level_check.mlir
+20-0mlir/lib/Dialect/Tosa/Transforms/TosaValidation.cpp
+10-10mlir/test/Dialect/Tosa/tosa-validation-version-1p1-valid.mlir
+6-6mlir/test/Dialect/Tosa/invalid_extension.mlir
+2-2mlir/test/Dialect/Tosa/dynamic_extension.mlir
+79-446 files

LLVM/project d504839llvm/lib/DebugInfo/GSYM FileWriter.cpp GsymCreator.cpp

[gsymutil] Fix a warning on systems with 32-bit `off_t` (#189524)

The size of `off_t` isn't specified, so it can be either 32 or 64 bits
depending on the system. In particular, on LLP64 systems like windows
it's generally only 32 bits. This means the `if (StrtabSize >
UINT32_MAX)` check added in #181458 may warn on such systems (Giving
-Wsign-compare).

Given that `FileWriter::tell` (and the underlying `raw_ostream::tell`)
explicitly return `uint64_t`, the simplest fix is to just use the return
type of the function instead of potentially truncating. Since the same
logic applies even where we don't happen to have a warning here, I've
applied this for all of these uses of `off_t`.
DeltaFile
+3-3llvm/lib/DebugInfo/GSYM/FileWriter.cpp
+3-3llvm/lib/DebugInfo/GSYM/GsymCreator.cpp
+6-62 files