LLVM/project e26dbf3llvm/lib/Transforms/IPO IROutliner.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.av.load.b128.ll

Merge remote-tracking branch 'upstream/main' into HEAD
DeltaFile
+4,539-0llvm/test/tools/llvm-mca/RISCV/SpacemitX100/rvv/arithmetic.test
+4,058-0llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.ptr.s.buffer.load.ll
+3,719-0llvm/test/tools/llvm-mca/RISCV/SpacemitX100/rvv/fp.test
+3,291-0llvm/test/CodeGen/AMDGPU/llvm.amdgcn.av.load.b128.ll
+3,139-0llvm/test/tools/llvm-mca/RISCV/SpacemitX100/rvv/vlseg-vsseg.test
+0-2,975llvm/lib/Transforms/IPO/IROutliner.cpp
+18,746-2,9752,162 files not shown
+128,507-72,1122,168 files

LLVM/project 501aa44clang/lib/Analysis/LifetimeSafety FactsGenerator.cpp

cleanup
DeltaFile
+5-5clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp
+5-51 files

LLVM/project a9ebf2cllvm/test/Transforms/LoopVectorize iv_outside_user.ll

[LV] Add iv_outside_user ptr-ind variant test (#213263)

There was previously a doubt about whether the integer variant of the
test should use wrap-flags on the latch exit value, which motivates us
to add coverage for the ptr variant.
DeltaFile
+35-0llvm/test/Transforms/LoopVectorize/iv_outside_user.ll
+35-01 files

LLVM/project dda7cb5clang/lib/Driver/ToolChains Hurd.cpp Managarm.cpp

[Driver][Hurd] Remove llvm_unreachable (#171077)

Remove the llvm_unreachable from getDynamicLinker(). The code path is
reachable. In the case of an unsupported architecture we're not worrying
about trying to actually determine the dynamic linker, and I don't think
it makes sense for the Driver to crash.

Pointed out by bug report #64194

---------

Co-authored-by: Shivam Gupta <shivam98.tkg at gmail.com>
DeltaFile
+2-1clang/lib/Driver/ToolChains/Managarm.cpp
+1-1clang/lib/Driver/ToolChains/Hurd.cpp
+3-22 files

LLVM/project 2354dcellvm/include/llvm/Transforms/Utils LoopSplitUtils.h, llvm/lib/Transforms/Utils LoopSplitUtilsPass.cpp LoopSplitUtils.cpp

[Transforms][Utils] Add LoopSplitUtils for iteration-space loop splitting (#205995)

Introduce LoopSplitUtils, a utility that splits a counted loop into a
chain of per-partition sub-loops covering contiguous slices of the
original iteration space. Given a loop and a list of partition ranges,
it clones the body per partition, guards each with an entry check that
skips empty partitions, clamps each latch to its slice, and rebuilds SSA
for loop-carried and live-out values so the result is
behaviour-preserving.

Key properties:
- Supports ascending (+1) and descending (-1) unit-step inductions, in
both signed and unsigned iteration orderings, with direction-aware
guard/latch predicates and end clamps.
- Reuses the original loop for partition 0 and clones the rest, exposing
per-partition value maps via getPartitionValue()/getPartitionValueMap().
- Lets callers drop the entry guard for a partition proven non-empty via
avoidPartitionGuard(); provably-empty partitions are always skipped.
- Patches the dominator tree and LoopInfo incrementally rather than

    [18 lines not shown]
DeltaFile
+617-0llvm/lib/Transforms/Utils/LoopSplitUtils.cpp
+154-0llvm/include/llvm/Transforms/Utils/LoopSplitUtils.h
+148-0llvm/lib/Transforms/Utils/LoopSplitUtilsPass.cpp
+89-0llvm/test/Transforms/LoopSplit/constant-trip-count.ll
+88-0llvm/test/Transforms/LoopSplit/four-partitions.ll
+88-0llvm/test/Transforms/LoopSplit/nested-loop.ll
+1,184-012 files not shown
+1,681-018 files

LLVM/project faee1declang/lib/StaticAnalyzer/Checkers CallAndMessageChecker.cpp, clang/test/Analysis call-and-message.c call-and-message-argpointeeinitializedness.cpp

[clang][analyzer] Improved message of CallAndMessageChecker at calls with uninitialized argument (#211038)
DeltaFile
+26-26clang/test/Analysis/uninit-const.c
+20-4clang/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp
+6-6clang/test/Analysis/uninit-const.cpp
+4-4clang/test/Analysis/call-and-message-argpointeeinitializedness.cpp
+4-4clang/test/Analysis/call-and-message-argpointeeinitializedness.c
+3-3clang/test/Analysis/call-and-message.c
+63-472 files not shown
+65-498 files

FreeBSD/ports 2d446d0textproc/luceneplusplus Makefile distinfo

textproc/luceneplusplus: backport more boost fixes from upstream
DeltaFile
+5-1textproc/luceneplusplus/distinfo
+3-1textproc/luceneplusplus/Makefile
+8-22 files

FreeBSD/ports d249856archivers/qpress Makefile distinfo

archivers/qpress: upgrade to 20260802
DeltaFile
+3-3archivers/qpress/distinfo
+1-1archivers/qpress/Makefile
+4-42 files

LLVM/project 00312bbllvm/test/tools/llvm-mca/RISCV/SpacemitX100/rvv mul-div.test permutation.test

[RISCV][SMT] Add SpacemiT-x100 vector sched info (#210597)
DeltaFile
+4,539-0llvm/test/tools/llvm-mca/RISCV/SpacemitX100/rvv/arithmetic.test
+3,719-0llvm/test/tools/llvm-mca/RISCV/SpacemitX100/rvv/fp.test
+3,139-0llvm/test/tools/llvm-mca/RISCV/SpacemitX100/rvv/vlseg-vsseg.test
+2,891-0llvm/test/tools/llvm-mca/RISCV/SpacemitX100/rvv/bitwise.test
+2,347-0llvm/test/tools/llvm-mca/RISCV/SpacemitX100/rvv/permutation.test
+2,003-0llvm/test/tools/llvm-mca/RISCV/SpacemitX100/rvv/mul-div.test
+18,638-021 files not shown
+28,916-32727 files

LLVM/project f3aa86flibcxx/test/libcxx/input.output/iostream.objects cin-read-stdio-sync.sh.cpp

fixup! [libcxx] Speed up xsgetn for always_noconv
DeltaFile
+93-0libcxx/test/libcxx/input.output/iostream.objects/cin-read-stdio-sync.sh.cpp
+93-01 files

LLVM/project d12a9a5clang/test/CodeGen amdgpu-builtin-processor-is.c amdgpu-builtin-is-invocable.c, clang/test/CodeGenCXX dynamic-cast-address-space.cpp

AMDGPU: Remove cvt-pknorm-vop3-insts from feature map

This isn't used in clang for any builtin, so don't leak this.
DeltaFile
+2-2clang/test/CodeGenCXX/dynamic-cast-address-space.cpp
+1-1clang/test/CodeGen/amdgpu-builtin-processor-is.c
+1-1clang/test/CodeGen/amdgpu-builtin-is-invocable.c
+4-43 files

FreeBSD/ports 2d325f6multimedia/py-ustreamer Makefile distinfo, multimedia/ustreamer Makefile distinfo

multimedia/{,py-}ustreamer: update 6.61 → 6.62
DeltaFile
+12-0multimedia/ustreamer/files/patch-src_libs_media.c
+3-3multimedia/ustreamer/distinfo
+3-3multimedia/py-ustreamer/distinfo
+1-1multimedia/ustreamer/Makefile
+1-1multimedia/py-ustreamer/Makefile
+20-85 files

FreeBSD/ports 2d2ae04archivers/zchunk pkg-plist distinfo

archivers/zchunk: update 1.5.3 → 1.5.4
DeltaFile
+5-8archivers/zchunk/Makefile
+3-3archivers/zchunk/distinfo
+1-1archivers/zchunk/pkg-plist
+9-123 files

FreeBSD/ports df18e22misc/eightctl Makefile distinfo

misc/eightctl: update 0.2.1 → 0.2.2
DeltaFile
+7-7misc/eightctl/distinfo
+1-1misc/eightctl/Makefile
+8-82 files

FreeBSD/ports 9217edddevel/cli11 pkg-plist Makefile

devel/cli11: update 2.6.2 → 2.7.2
DeltaFile
+3-3devel/cli11/distinfo
+2-2devel/cli11/Makefile
+2-0devel/cli11/pkg-plist
+7-53 files

LLVM/project 7dae172clang-tools-extra/clang-tidy/cppcoreguidelines ProTypeMemberInitCheck.cpp, clang-tools-extra/docs ReleaseNotes.rst

[clang-tidy] ignore uninitialized std::array in member init (#98134)

cppcoreguidelines-pro-type-member-init check has an option IgnoreArrays
for ignoring uninitialized C arrays. This patch adds support for C++
std::array as well.

Co-authored-by: David Siroky <david at siroky.cz>
DeltaFile
+12-1clang-tools-extra/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp
+4-3clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/pro-type-member-init.rst
+7-0clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/pro-type-member-init.ignorearrays.cpp
+4-0clang-tools-extra/docs/ReleaseNotes.rst
+27-44 files

LLVM/project 3be1dfflldb/test/API/functionalities/scripted_frame_provider/circular_dependency TestFrameProviderCircularDependency.py

[lldb] Skip flaky test_circular_dependency_evaluate_expression_in_get_frame (#213610)

This provider's identity-forwarding pattern intermittently hits a known
frame-identity-aliasing bug in ScriptedFrameProvider::GetFrameAtIndex,
tracked in https://github.com/llvm/llvm-project/pull/208992.
DeltaFile
+1-0lldb/test/API/functionalities/scripted_frame_provider/circular_dependency/TestFrameProviderCircularDependency.py
+1-01 files

OpenBSD/ports YllocJKnet/weechat Makefile distinfo

   Update weechat to 4.10.0
VersionDeltaFile
1.73+2-2net/weechat/distinfo
1.116+1-1net/weechat/Makefile
+3-32 files

LLVM/project 748828cclang/include/clang/AST DeclObjC.h, clang/lib/AST DeclObjC.cpp

[clang][ast][objc] Implement getNameForDiagnostic for ObjC{Method,Property}Decl (#213030)

This overrides `getNameForDiagnostic` to provide a qualified name
representation for Objective-C methods and properties in diagnostics.
When qualified is true, it formats them using the standard Objective-C
syntax, such as `-[Class selector]` or `+[Class property]`. Previously
these would be `Class::selector` or `Class::property`. If qualified is
false, it falls back to printName.

Note that I avoided modifying `NamedDecl::getQualifiedNameAsString()` or
`printQualifiedName()` which will continue to (unfortunately) return
`Class::method`, but this is intentional to attempt to avoid any
breakage downstream due to output changing.
DeltaFile
+185-1clang/unittests/AST/DeclTest.cpp
+51-0clang/lib/AST/DeclObjC.cpp
+8-8clang/test/Analysis/Checkers/WebKit/unretained-call-args.mm
+3-3clang/test/Analysis/Checkers/WebKit/unretained-call-args-member.mm
+6-0clang/include/clang/AST/DeclObjC.h
+253-125 files

OpenBSD/ports qPmlJ4agraphics/nomacs distinfo Makefile, graphics/nomacs/pkg PLIST

   Update nomacs to 3.23.3
VersionDeltaFile
1.22+2-2graphics/nomacs/distinfo
1.44+2-2graphics/nomacs/Makefile
1.14+1-0graphics/nomacs/pkg/PLIST
+5-43 files

OpenBSD/ports vrpSCJHaudio/rhythmbox Makefile distinfo, audio/rhythmbox/pkg PLIST

   Update to rhythmbox-3.5.0.
VersionDeltaFile
1.67+34-5audio/rhythmbox/pkg/PLIST
1.48+2-2audio/rhythmbox/distinfo
1.202+1-1audio/rhythmbox/Makefile
+37-83 files

LLVM/project 195b799llvm/lib/Target/X86 X86ISelLowering.cpp

X86: Defend against regression from SimplifyDemandedVectorElts load support

It doesn't appear possible to test this independently.

Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+12-8llvm/lib/Target/X86/X86ISelLowering.cpp
+12-81 files

LLVM/project 3941350clang/lib/Sema SemaAMDGPU.cpp, clang/test/CIR/CodeGenHIP builtins-amdgcn-extended-image.hip

clang/AMDGPU: Add half typed image gather4 builtin

Follow along with the precedent of using an f32 suffix
for the coordinate type. We probably should have had one
builtin that detected the coordinate type.

Co-Authored-By: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+30-0clang/test/CodeGen/builtins-extended-image.c
+15-0clang/test/SemaOpenCL/builtins-extended-image-param-gfx1100-err.cl
+6-2clang/lib/Sema/SemaAMDGPU.cpp
+8-0clang/test/CIR/CodeGenHIP/builtins-amdgcn-extended-image.hip
+5-0clang/test/SemaOpenCL/builtins-extended-image-err.cl
+5-0clang/test/Sema/builtins-amdgcn-d16-image-16bit-error.c
+69-22 files not shown
+71-28 files

LLVM/project 95cecafclang/include/clang/Basic BuiltinsAMDGPU.td, clang/test/Sema builtins-amdgcn-d16-image-16bit-error.c

clang/AMDGPU: Require 16-bit-insts for half typed image sample builtins

Extend the d16 feature requirement to the half typed image sample
builtins. The sample variants returning 16-bit elements require d16 support
(gfx8+) but were gated only on image-insts/extended-image-insts, so they were
wrongly accepted on old targets.

Co-Authored-By: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+50-0clang/test/Sema/builtins-amdgcn-d16-image-16bit-error.c
+23-23clang/include/clang/Basic/BuiltinsAMDGPU.td
+73-232 files

LLVM/project cd7cb48clang/include/clang/Basic BuiltinsAMDGPU.td, clang/test/Sema builtins-amdgcn-d16-image-16bit-error.c

clang/AMDGPU: Require 16-bit-insts for half typed image builtins

Typed image load/store operations with 16-bit elements require d16
support which was introduced in gfx8. They were previously gated only
on image-insts, so they were wrongly accepted on targets that have
images but lack 16-bit support (e.g. gfx700), where the backend then
fails to select.

Co-Authored-By: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+59-0clang/test/Sema/builtins-amdgcn-d16-image-16bit-error.c
+24-24clang/include/clang/Basic/BuiltinsAMDGPU.td
+83-242 files

LLVM/project ed8cb5fclang/lib/Sema SemaAMDGPU.cpp, clang/test/Sema builtins-amdgcn-d16-buffer-format-16bit-error.c

Use default feature check in codegen instead of sema
DeltaFile
+0-19clang/test/Sema/builtins-amdgcn-d16-buffer-format-16bit-error.c
+16-0clang/test/SemaOpenCL/builtins-amdgcn-buffer-format-d16-target-err.cl
+0-14clang/lib/Sema/SemaAMDGPU.cpp
+16-333 files

LLVM/project dba8becclang/include/clang/Basic BuiltinsAMDGPU.td, clang/lib/Sema SemaAMDGPU.cpp

clang/AMDGPU: Require 16-bit-insts for half typed buffer format builtins

Typed buffer format load/store operations with 16-bit elements require
d16 support which was introduced in gfx8. These builtins previously had
no required features at all, so they were accepted (and then crashed the
backend) on targets without 16-bit support.

Diagnose these in Sema, parallel to the image builtins. The manual
verification here suprised me. The automatic builtin feature verification
is enforced in codegen, which seems like a layering violation which
should be fixed.

Co-Authored-By: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+19-0clang/test/Sema/builtins-amdgcn-d16-buffer-format-16bit-error.c
+14-0clang/lib/Sema/SemaAMDGPU.cpp
+4-4clang/include/clang/Basic/BuiltinsAMDGPU.td
+1-1clang/test/SemaHIP/builtins-amdgcn-buffer-format.hip
+1-1clang/test/CodeGenOpenCL/builtins-amdgcn-struct-buffer-store-format.cl
+1-1clang/test/CodeGenOpenCL/builtins-amdgcn-struct-buffer-load-format.cl
+40-73 files not shown
+43-109 files

OpenBSD/src 2GJCD7fusr.sbin/smtpd smtpd.c smtpctl.c

   Switch smtpd over to imsgbuf_get

   Also adjust some types from ssize_t back to int. Since imsgbuf_get returns
   int (1, 0 and -1 to be precise).

   OK op@
VersionDeltaFile
1.51+5-5usr.sbin/smtpd/ca.c
1.178+4-4usr.sbin/smtpd/smtpctl.c
1.14+4-4usr.sbin/smtpd/scheduler_proc.c
1.15+4-4usr.sbin/smtpd/queue_proc.c
1.50+4-4usr.sbin/smtpd/mproc.c
1.362+3-3usr.sbin/smtpd/smtpd.c
+24-241 files not shown
+27-277 files

LLVM/project a7cc951llvm/docs/CommandGuide llvm-calc-occupancy.rst

[llvm-calc-occupancy] Fix title underline length (#213599)

Fix error: invalid header length in
'CommandGuide/llvm-calc-occupancy.rst' (does not match length of title)
in our downstream Sphinx doc build.
DeltaFile
+1-1llvm/docs/CommandGuide/llvm-calc-occupancy.rst
+1-11 files

LLVM/project 738029allvm/lib/IR AutoUpgrade.cpp, llvm/lib/Transforms/Utils LoopUtils.cpp

Enforce single-operand form for llvm.loop.vectorize metadata (#210932)

This patch implements Phase 2 of the RFC "Enforce Single-Operand Format
for All .enable Metadata Nodes". Please refer to RFC:

https://discourse.llvm.org/t/rfc-enforce-single-operand-format-for-all-enable-metadata-nodes/90571/

The two-operand boolean form !{!"llvm.loop.vectorize.enable", i1 0/1} is
replaced by a single-operand enable/disable pair:

  !{!"llvm.loop.vectorize.enable"}    ; force vectorization
  !{!"llvm.loop.vectorize.disable"}   ; suppress vectorization

The Verifier rejects the two-operand form, AutoUpgrade rewrites old
bitcode (including the legacy llvm.vectorizer.enable tag), and the
readers and producers across LLVM, Clang, MLIR and Polly are updated.
DeltaFile
+29-29llvm/test/Transforms/LoopVectorize/X86/libm-vector-calls.ll
+41-7llvm/lib/IR/AutoUpgrade.cpp
+41-0llvm/test/Verifier/llvm.loop.vectorize.ll
+37-0llvm/test/Bitcode/upgrade-loop-vectorize-enable.ll
+17-17llvm/test/Transforms/LoopVectorize/X86/libm-vector-calls-VF2-VF8.ll
+25-6llvm/lib/Transforms/Utils/LoopUtils.cpp
+190-59208 files not shown
+493-360214 files