LLVM/project 533d0acllvm/cmake/modules AddLLVM.cmake

[CMake] Group SOVERSION logic (#190224)

There are two blocks whose conditions are coupled; combine them to make
the conditional logic less error prone.
DeltaFile
+22-26llvm/cmake/modules/AddLLVM.cmake
+22-261 files

LLVM/project 6331bfaclang/lib/CodeGen CGHLSLBuiltins.cpp, clang/lib/Sema HLSLBuiltinTypeDeclBuilder.cpp

[HLSL] Add GetDimensions to Texture2D. (#189991)

This commit add the GetDimensions methods to Texture2D. For DXIL, it
requires intrinsics that are not yet available. They are added, but not
implemented.

Assisted-by: Gemini

Co-authored-by: Helena Kotas <hekotas at microsoft.com>
DeltaFile
+103-0clang/test/CodeGenHLSL/resources/Texture2D-GetDimensions.hlsl
+88-0clang/test/AST/HLSL/Texture2D-scalar-AST.hlsl
+84-0clang/test/AST/HLSL/Texture2D-vector-AST.hlsl
+80-0clang/test/SemaHLSL/Resources/Texture2D-GetDimensions.hlsl
+46-9clang/lib/CodeGen/CGHLSLBuiltins.cpp
+47-0clang/lib/Sema/HLSLBuiltinTypeDeclBuilder.cpp
+448-99 files not shown
+496-1815 files

LLVM/project 0a1c297clang/lib/CodeGen CGExprScalar.cpp, clang/test/CodeGen overflow-behavior-types.c

Merge branch 'main' into users/ziqingluo/eng/PR-171920065
DeltaFile
+44-54llvm/lib/Transforms/Vectorize/VPlan.h
+54-5clang/test/CodeGen/overflow-behavior-types.c
+29-24clang/lib/CodeGen/CGExprScalar.cpp
+23-28llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
+37-4llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.cpp
+26-1llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.h
+213-11611 files not shown
+285-15917 files

LLVM/project 6dffdf5clang/include/clang/Basic Diagnostic.h, llvm/include/llvm/IR DiagnosticInfo.h

DiagnosticInfo: Use Twine for resource name

Allow more flexibility in phrasing of the overallocated
resource.
DeltaFile
+19-0clang/include/clang/Basic/Diagnostic.h
+3-3llvm/include/llvm/IR/DiagnosticInfo.h
+1-1llvm/lib/IR/DiagnosticInfo.cpp
+23-43 files

LLVM/project e0e439clldb/test/API/commands/frame/select-hidden TestNavigateHiddenFrame.py

[lldb] Remove libc++ category from TestNavigateHiddenFrame.py (#190016)

This test technically does not require libc++. The test binary mimics
libc++'s namespace layout to trigger some frame hiding logic in lldb,
but it does not require libc++ to function.
DeltaFile
+0-1lldb/test/API/commands/frame/select-hidden/TestNavigateHiddenFrame.py
+0-11 files

LLVM/project 3432106lldb/test/API/commands/expression/vector_of_enums TestVectorOfEnums.py main.cpp, lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vector_of_enums TestVectorOfEnums.py main.cpp

[lldb] Standardize TestVectorOfEnums.py as a C++ data formatter test (#189757)

This is explicitly marked as a libc++ test and functionally tests the
formatter for a vector of enums. I put it in the generic directory
because there's no reason this couldn't work for other c++ stdlibs.

Additionally, this should be using the custom libc++ like the other
tests.
DeltaFile
+23-0lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vector_of_enums/TestVectorOfEnums.py
+0-22lldb/test/API/commands/expression/vector_of_enums/TestVectorOfEnums.py
+0-14lldb/test/API/commands/expression/vector_of_enums/main.cpp
+9-0lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vector_of_enums/main.cpp
+0-3lldb/test/API/commands/expression/vector_of_enums/Makefile
+3-0lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vector_of_enums/Makefile
+35-396 files

HardenedBSD/src 15f6966share/man/man5 src.conf.5, share/mk src.opts.mk

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+3-1share/man/man5/src.conf.5
+1-0share/mk/src.opts.mk
+1-0sys/kern/kern_event.c
+5-13 files

HardenedBSD/src 3bb9143share/man/man5 src.conf.5, share/mk src.opts.mk

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+3-1share/man/man5/src.conf.5
+1-0share/mk/src.opts.mk
+1-0sys/kern/kern_event.c
+5-13 files

FreeBSD/ports 797d634cad/openvsp distinfo Makefile

cad/openvsp: Update to 3.48.2

ChangeLog:
https://openvsp.org/blogs/announcements/2026/03/04/openvsp-3-48-2-released

 * Fix regressions to Stack Presets caused by 3.48.1 fixes.
DeltaFile
+3-3cad/openvsp/distinfo
+1-1cad/openvsp/Makefile
+4-42 files

FreeBSD/ports 8768587www/gohugo distinfo Makefile

www/gohugo: Update to 0.159.2

ChangeLog: https://github.com/gohugoio/hugo/releases/tag/v0.159.2

 * Fix potential content XSS by escaping dangerous URLs in Markdown links and
   images.
 * resources/page: Fix shared reader in Source.ValueAsOpenReadSeekCloser.

Approved by:    doceng@ (implicit)
MFH:            2026Q2 security issue

(cherry picked from commit c36ab384a66b1084458a4933874924e62fe1caf1)
DeltaFile
+5-5www/gohugo/distinfo
+1-1www/gohugo/Makefile
+6-62 files

HardenedBSD/ports 81ce44ddevel/libvirt/files patch-src_secret_meson.build, devel/p5-EV/files patch-typemap

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+7-29games/anki/files/patch-pylib_tools_hookslib.py
+30-2games/anki/files/patch-build_configure_src_python.rs
+0-25devel/libvirt/files/patch-src_secret_meson.build
+0-24games/anki/pkg-plist
+15-3sysutils/nut-devel/pkg-plist
+0-17devel/p5-EV/files/patch-typemap
+52-10026 files not shown
+116-17032 files

FreeBSD/ports c36ab38www/gohugo distinfo Makefile

www/gohugo: Update to 0.159.2

ChangeLog: https://github.com/gohugoio/hugo/releases/tag/v0.159.2

 * Fix potential content XSS by escaping dangerous URLs in Markdown links and
   images.
 * resources/page: Fix shared reader in Source.ValueAsOpenReadSeekCloser.

Approved by:    doceng@ (implicit)
MFH:            2026Q2 security issue
DeltaFile
+5-5www/gohugo/distinfo
+1-1www/gohugo/Makefile
+6-62 files

LLVM/project d0e265fllvm/lib/Transforms/Vectorize VPlan.h

[VPlan] Cleanup and generalize VPIRMetadata CastInfo (NFC) (#190162)

Similar to b0230f59 ([VPlan] Cleanup and generalize VPPhiAccessors
CastInfo, #190027).
DeltaFile
+44-54llvm/lib/Transforms/Vectorize/VPlan.h
+44-541 files

LLVM/project e6bb6d9llvm/lib/Target/NVPTX NVPTXAsmPrinter.cpp NVPTXAsmPrinter.h, llvm/lib/Target/NVPTX/MCTargetDesc NVPTXTargetStreamer.cpp NVPTXTargetStreamer.h

[NVPTX][AsmPrinter] Demonstrate usage of NVPTXTargetAsmStreamer in NVPTXAsmPrinter. (#188539)

Currently NVPTXAsmPrinter uses intermediate strings to generate ASM and
emit directly to output streamer as raw text. This PR demonstrates how
the printer can be updated to use NVPTXTargetAsmStreamer instead,
thereby getting rid of the intermediate strings. This is shown only for
the PTX header and module level directives.
DeltaFile
+23-28llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
+37-4llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.cpp
+26-1llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.h
+14-0llvm/test/CodeGen/NVPTX/asm-printer-ptx-module-directives.ll
+4-1llvm/lib/Target/NVPTX/NVPTXAsmPrinter.h
+2-2llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXMCTargetDesc.cpp
+106-366 files

LLVM/project d30f0f5llvm/test/CodeGen/AMDGPU clmul.ll, llvm/test/CodeGen/RISCV/rvv fixed-vectors-ctlz-vp.ll fixed-vectors-cttz-vp.ll

Merge remote-tracking branch 'origin/main' into users/ziqingluo/eng/PR-171920065

 Conflicts:
        clang/lib/ScalableStaticAnalysisFramework/Analyses/CMakeLists.txt
        clang/test/Analysis/Scalable/ssaf-format/list.test
DeltaFile
+657-4,246llvm/test/CodeGen/RISCV/rvv/fixed-vectors-ctlz-vp.ll
+4,371-0llvm/test/CodeGen/AMDGPU/clmul.ll
+850-3,299llvm/test/CodeGen/RISCV/rvv/fixed-vectors-cttz-vp.ll
+994-2,350llvm/test/CodeGen/RISCV/rvv/cttz-vp.ll
+1,066-1,197llvm/test/CodeGen/RISCV/rvv/ctpop-vp.ll
+870-938llvm/test/CodeGen/RISCV/rvv/fixed-vectors-ctpop-vp.ll
+8,808-12,030574 files not shown
+27,897-23,969580 files

FreeNAS/freenas 3bd532esrc/middlewared/middlewared/alembic/versions/26.0 2026-03-27_16-24_container_name.py, src/middlewared/middlewared/alembic/versions/27.0 2026-04-02_21-05_merge.py

NAS-140493 / 27.0.0-BETA.1 / Improve container name validation (by Qubad786) (#18624)

Automatic cherry-pick failed. Please resolve conflicts by running:

    git reset --hard HEAD~1
    git cherry-pick -x e429c760eaffa67d0e7d6f33d9c6a473ca75ac7e
    git cherry-pick -x 301aeb4ac4682591dcef323498ae26ab7190b52a

If the original PR was merged via a squash, you can just cherry-pick the
squashed commit:

    git reset --hard HEAD~1
    git cherry-pick -x 143d483bb316e06fc6d1d0ba1d868086a1975cf0

## Problem

The `RE_NAME` regex in `container.py` used a permissive pattern
(`^[a-zA-Z_0-9\-]+$`) that allowed underscores and had no length or
structure constraints. Container names should follow RFC 1123 hostname

    [43 lines not shown]
DeltaFile
+110-0src/middlewared/middlewared/alembic/versions/26.0/2026-03-27_16-24_container_name.py
+101-0src/middlewared/middlewared/pytest/unit/plugins/container/test_name_validation.py
+47-0src/middlewared/middlewared/migration/0019_container_name.py
+30-4src/middlewared/middlewared/plugins/container/crud.py
+24-0src/middlewared/middlewared/alembic/versions/27.0/2026-04-02_21-05_merge.py
+16-1tests/api2/test_container.py
+328-56 files

LLVM/project 43233b8clang/lib/CodeGen CGExprScalar.cpp, clang/test/CodeGen overflow-behavior-types.c overflow-behavior-types-scl.c

[Clang] Add missing __ob_trap check for sign change (#188340)

Add a missing OBTrapInvolved check before EmitIntegerSignChangeCheck().

This is considered "missing" as a previous attempt (https://github.com/llvm/llvm-project/pull/185772) to properly add an `__ob_trap` backdoor missed this particular instance.

This backdoor is needed because we want `__ob_trap` types to be picky about implicit conversions (including implicit sign change):

```c
        unsigned int __ob_trap big = 4294967295;
        (signed int)big; // should trap!
```

Move the `OBTrapInvolved` setup to the top of the function so it can be used in all the places we need it.
DeltaFile
+54-5clang/test/CodeGen/overflow-behavior-types.c
+29-24clang/lib/CodeGen/CGExprScalar.cpp
+17-0clang/test/CodeGen/overflow-behavior-types-scl.c
+100-293 files

NetBSD/src 4gjOT0Mlibexec/ld.elf_so tls.c

   Pull up following revision(s) (requested by skrll in ticket #216):

        libexec/ld.elf_so/tls.c: revision 1.29

   PR/60011: TLS alignment wrong on powerpc

   Fix previous where I only got the alignment right for the architectures
   where the thread pointer points to the struct tcb. Handle the
   architectures that have a thread pointer that is relative to end of the
   struct tcb, e.g. powerpc.

   Hopefully the commit in the tls.c explains what's going on.

   Thanks to riastrah@ and andvar@ for comments/things to fix.
VersionDeltaFile
1.23.2.2+46-5libexec/ld.elf_so/tls.c
+46-51 files

LLVM/project b7e9a6cclang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp, clang/test/CIR/CodeGenCUDA device-stub.cu

[CIR][CUDA] Do Runtime Kernel Registration
DeltaFile
+119-2clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+28-2clang/test/CIR/CodeGenCUDA/device-stub.cu
+147-42 files

LLVM/project c1ebef4clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

unreachable on RDC compilation
DeltaFile
+2-1clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+2-11 files

LLVM/project 506dae8clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp, clang/test/CIR/CodeGenCUDA device-stub.cu

[CIR][CUDA] Handle CUDA module constructor and destructor emission.
DeltaFile
+121-2clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+41-0clang/test/CIR/CodeGenCUDA/device-stub.cu
+162-22 files

LLVM/project 3594a16clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

fix fmt
DeltaFile
+1-1clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+1-11 files

LLVM/project 1be50b1clang/include module.modulemap, clang/include/clang/Basic BuiltinsSystemZ.td BuiltinsSystemZ.def

[SystemZ] Migrate BuiltinsSystemZ.def to TableGen

Migrates BuiltinsSystemZ.def to BuiltinsSystemZ.td, and makes the
necessary code updates. It also introduce type `__uint128_t` to
the TableGen emitter, to have a type for the encoding `ULLLi`.

Migration was done with the help of a script generated by IBM Bob.
DeltaFile
+377-0clang/include/clang/Basic/BuiltinsSystemZ.td
+0-338clang/include/clang/Basic/BuiltinsSystemZ.def
+18-12clang/lib/Basic/Targets/SystemZ.cpp
+3-2clang/include/clang/Basic/TargetBuiltins.h
+4-0clang/include/clang/Basic/CMakeLists.txt
+0-1clang/include/module.modulemap
+402-3531 files not shown
+403-3537 files

LLVM/project ce07c3cclang/unittests/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage UnsafeBufferUsageTest.cpp

Update clang/unittests/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageTest.cpp

Co-authored-by: Balázs Benics <benicsbalazs at gmail.com>
DeltaFile
+1-1clang/unittests/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageTest.cpp
+1-11 files

LLVM/project 8e61085llvm/lib/Transforms/Scalar LowerMatrixIntrinsics.cpp, llvm/test/Transforms/LowerMatrixIntrinsics multiply-fused-differing-addr-spaces.ll data-layout-multiply-fused.ll

[Matrix] Place allocas in function entry. (#190032)

Create allocas for temporary matrixes in the function entry. Limit the
lifetime via lifetime.start & lifetime.end. This avoids dynamic allocas.

Improvement suggested in
https://github.com/llvm/llvm-project/pull/188721.

PR: https://github.com/llvm/llvm-project/pull/190032
DeltaFile
+29-16llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
+25-9llvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused-differing-addr-spaces.ll
+12-4llvm/test/Transforms/LowerMatrixIntrinsics/data-layout-multiply-fused.ll
+12-4llvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused-multiple-blocks.ll
+9-3llvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused-dominance.ll
+6-2llvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused-loops.ll
+93-381 files not shown
+99-407 files

LLVM/project 2988720clang/lib/CodeGen CGHLSLBuiltins.cpp

Add const
DeltaFile
+1-1clang/lib/CodeGen/CGHLSLBuiltins.cpp
+1-11 files

LLVM/project 74863f2clang/include/clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage UnsafeBufferUsage.h

Update clang/include/clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsage.h

Co-authored-by: Balázs Benics <benicsbalazs at gmail.com>
DeltaFile
+1-1clang/include/clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsage.h
+1-11 files

LLVM/project 9eebb20clang/include/clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage UnsafeBufferUsageTest.h

Update clang/include/clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageTest.h

Co-authored-by: Balázs Benics <benicsbalazs at gmail.com>
DeltaFile
+1-1clang/include/clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageTest.h
+1-11 files

LLVM/project b220e30clang/include/clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage UnsafeBufferUsageTest.h

Update clang/include/clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageTest.h

Co-authored-by: Balázs Benics <benicsbalazs at gmail.com>
DeltaFile
+1-0clang/include/clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageTest.h
+1-01 files

OpenBSD/ports H37Yw7mdevel/p5-IO-Tty Makefile distinfo, devel/p5-IO-Tty/patches patch-Makefile_PL patch-Tty_xs

   update p5-IO-Tty to 1.25
   fixes tests of devel/p5-IPC-Run
   improve detection of openpty and strlcpy with gcc
   take maintainer
VersionDeltaFile
1.6+33-8devel/p5-IO-Tty/patches/patch-Makefile_PL
1.35+4-4devel/p5-IO-Tty/Makefile
1.15+2-2devel/p5-IO-Tty/distinfo
1.8+0-0devel/p5-IO-Tty/patches/patch-Tty_xs
+39-144 files