LLVM/project f8fea59clang/lib/Basic LangOptions.cpp

[Clang][NFC] Change if-else to switch for OpenCL/HLSL version mapping (#204288)

Address https://github.com/llvm/llvm-project/pull/204043#discussion_r3419702862
DeltaFile
+34-15clang/lib/Basic/LangOptions.cpp
+34-151 files

LLVM/project 1f9f4f8lldb/test/API/api/listeners main.c, lldb/test/API/commands/expression/radar_9673664 main.c

[lldb] Remove several system header includes from tests (#204072)

System includes slow down test compilation and create unnecessary
dependencies on system header code.

This patch removes system headers from tests that do not test their
functionality. For the most part, this just removes the dummy 'printf'
we had in many tests.
DeltaFile
+11-10lldb/test/API/commands/expression/weak_symbols/main.c
+1-8lldb/test/API/functionalities/object-file/bin/hello.c
+1-8lldb/test/API/functionalities/object-file/bin/hello.cpp
+3-5lldb/test/API/commands/expression/radar_9673664/main.c
+1-7lldb/test/API/python_api/breakpoint/main.c
+1-7lldb/test/API/api/listeners/main.c
+18-4522 files not shown
+38-12128 files

OPNSense/core 8e2b3e7src/opnsense/mvc/app/controllers/OPNsense/Routing/Api SettingsController.php

routing: fix HTTP 500 when deleting a non-existent gateway (#10429)

delGatewayAction() dereferenced the result of getNodeByReference() without a null check, so an unknown uuid reached "(string)$gateway->name" on null and raised an error, which the API renders as HTTP 500 ("Unexpected error, check log for details").

Guard the lookup and return the already-initialised {"result":"failed"} instead, matching the inherited del* verbs and the adjacent toggleGatewayAction(), which already null-check getNodeByReference().
DeltaFile
+3-0src/opnsense/mvc/app/controllers/OPNsense/Routing/Api/SettingsController.php
+3-01 files

LLVM/project 4d2342fllvm/docs LangRef.rst

[RFC][LangRef] Specify that the accessed bytes of concurrent atomics must be either disjoint or the same

So far, the LangRef hasn't been clear on the semantics of partially overlapping
concurrent atomics in LLVM IR (specifically: a set of accesses marked as
`atomic` that would be in a data race if they weren't `atomic` and not all of
them access the exact same set of bytes).

What loads read is defined in terms of individual bytes, but the memory
ordering constraints are formulated closely to the C/C++ (and Java for
`unordered`) memory model, where partially overlapping atomics are not
possible. It's not obvious how concepts like C/C++'s per-location total
modification order for `monotonic` accesses map to accesses that can partially
overlap. While C/C++ relies on the modification order to ensure that atomics
cannot tear (i.e., atomic reads return bytes from two or more atomic writes),
our IR semantics (as written) currently does not guarantee this in the presence
of partially overlapping accesses.

This PR proposes a solution to this problem: It specifies that concurrent
overlapping atomics must access the exact same set of bytes to act atomically.

    [7 lines not shown]
DeltaFile
+6-2llvm/docs/LangRef.rst
+6-21 files

NetBSD/src 4NqS5Cpsys/dev/usb xhci.c

   xhci: Add missing UHF_PORT_POWER support to xhci_roothub_ctrl_locked()
VersionDeltaFile
1.193+4-3sys/dev/usb/xhci.c
+4-31 files

NetBSD/src IP1bCzIsys/kern uipc_mbufdebug.c

   m_print(): Support TH_ACK flag
VersionDeltaFile
1.10+4-2sys/kern/uipc_mbufdebug.c
+4-21 files

LLVM/project 21f3248llvm/lib/Target/AMDGPU SIInsertWaitcnts.cpp, llvm/test/CodeGen/AMDGPU waitcnt-debug.mir

[RFC][AMDGPU] Remove DebugCounter-based WaitCnt debugging (#202937)

It's 8 years old, only used by a handful of tests, and has not been
updated
in a while except for maintenance as far as I can see.

I don't mind keeping it in if there are users of it, but right now it
looks like a dead feature. If we want some more elaborate waitcnt
debugging,
we should have a modern, generic system that works on any waitcnt, not
something specific to 3 GFX9 counters.
DeltaFile
+1-50llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
+0-44llvm/test/CodeGen/AMDGPU/waitcnt-debug.mir
+1-942 files

LLVM/project 68c947fllvm/lib/Target/AMDGPU SIInsertWaitcnts.cpp AMDGPUWaitcntUtils.cpp, llvm/lib/Target/AMDGPU/Utils AMDGPUBaseInfo.cpp AMDGPUBaseInfo.h

[NFC][AMDGPU][InsertWaitCnts] Move some simple functions into Utils (#202936)

Move really trivial functions into helpers to declutter InsertWaitCnt a
bit more.
I had to move HardwareLimits into a different header but it's only used
in InsertWaitCnt so it doesn't matter.
DeltaFile
+26-90llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
+75-0llvm/lib/Target/AMDGPU/AMDGPUWaitcntUtils.cpp
+32-0llvm/lib/Target/AMDGPU/AMDGPUWaitcntUtils.h
+0-20llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
+0-20llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
+133-1305 files

Linux/linux 4b99990drivers/gpu/drm/amd/display/dc/resource/dcn42b dcn42b_resource.c, drivers/gpu/drm/amd/include/asic_reg/dcn dcn_4_2_1_sh_mask.h dcn_4_2_1_offset.h

Merge tag 'drm-next-2026-06-17' of https://gitlab.freedesktop.org/drm/kernel

Pull drm updates from Dave Airlie:
 "Highlights:
   - xe: add initial CRI platform support
   - amdgpu: initial HDMI 2.1 FRL support
   - rust: add some new type concepts for device lifetimes
   - scheduler: moves to a fair algorithm and lots of cleanups

  But it's mostly the usual mountain of changes across the board.

  core:
   - add docbook for DRM_IOCTL_SYNCOBJ_EVENTFD
   - change signature of drm_connector_attach_hdr_output_metadata_property
   - dedup counter and timestamp retrieval in vblank code
   - parse AMD VSDB v3 in CTA extension blocks
   - add P230, Y7, XYYY2101010, T430, XVUY210101010 formats
   - don't call drop master on file close if not master
   - use drm_printf_indent in atomic / bridge

    [280 lines not shown]
DeltaFile
+60,623-0drivers/gpu/drm/amd/include/asic_reg/dcn/dcn_4_2_1_sh_mask.h
+49,475-0drivers/gpu/drm/amd/include/asic_reg/nbio/nbio_6_3_2_sh_mask.h
+16,305-0drivers/gpu/drm/amd/include/asic_reg/dcn/dcn_4_2_1_offset.h
+13,149-0drivers/gpu/drm/amd/include/asic_reg/nbio/nbio_6_3_2_offset.h
+3,162-0drivers/gpu/drm/amd/include/asic_reg/vpe/vpe_2_0_0_sh_mask.h
+2,404-0drivers/gpu/drm/amd/display/dc/resource/dcn42b/dcn42b_resource.c
+145,118-01,975 files not shown
+246,490-31,3651,981 files

LLVM/project 1bea228libc/src/unistd/linux ftruncate.cpp link.cpp

[libc][NFC] Migrate unistd entrypoints to syscall wrappers (#204176)

Migrated link, ftruncate, and getentropy entrypoints to use their
corresponding syscall wrappers instead of direct syscall_impl calls.
Updated CMake dependencies accordingly.

Assisted-by: Automated tooling, human reviewed.
DeltaFile
+4-18libc/src/unistd/linux/ftruncate.cpp
+5-15libc/src/unistd/linux/link.cpp
+6-8libc/src/unistd/linux/getentropy.cpp
+3-11libc/src/unistd/linux/CMakeLists.txt
+18-524 files

LLVM/project ec7235eclang/lib/CodeGen CGStmt.cpp, clang/test/CodeGenCXX noreturn-init-stmt.cpp

[clang][CodeGen] Fix crash on if/switch init-statement ending in noreturn (#201047)

EmitStmt may `ClearInsertionPoint()` to mark dead code, EmitDecl is not
prepared to handle it. Fix by `EnsureInsertPoint()` in transition from
EmitStmt to EmitDecl. If/Switch body may contain a label which makes
them not dead.

Fixes #115514.
DeltaFile
+98-0clang/test/CodeGenCXX/noreturn-init-stmt.cpp
+12-2clang/lib/CodeGen/CGStmt.cpp
+110-22 files

FreeBSD/ports 0bf825bwww/iridium/files patch-chrome_browser_about__flags.cc patch-chrome_browser_chrome__content__browser__client.cc

www/iridium: update to 2026.06.149.3
DeltaFile
+50-50www/iridium/files/patch-chrome_browser_about__flags.cc
+21-21www/iridium/files/patch-chrome_browser_chrome__content__browser__client.cc
+6-6www/iridium/files/patch-media_base_media__switches.cc
+4-4www/iridium/files/patch-chrome_browser_ui_views_tabs_dragging_tab__drag__controller.cc
+4-4www/iridium/files/patch-base_files_file__util__posix.cc
+3-3www/iridium/files/patch-ui_views_widget_desktop__aura_desktop__drag__drop__client__ozone.h
+88-8813 files not shown
+116-11619 files

LLVM/project 4995c6eclang/include/clang/Basic LangOptions.def

[LifetimeSafety] Mark lifetime safety LangOptions as `Benign` (#204316)

Without this, we cannot load modules built without lifetime safety.
Analysis options are in general benign and does not effect AST
construction.

See doc:
```cpp
  /// For ASTs produced with different option value, signifies their level of
  /// compatibility.
  enum class CompatibilityKind {
    /// Does affect the construction of the AST in a way that does prevent
    /// module interoperability.
    NotCompatible,
    /// Does affect the construction of the AST in a way that doesn't prevent
    /// interoperability (that is, the value can be different between an
    /// explicit module and the user of that module).
    Compatible,
    /// Does not affect the construction of the AST in any way (that is, the

    [4 lines not shown]
DeltaFile
+4-4clang/include/clang/Basic/LangOptions.def
+4-41 files

LLVM/project 0dda20cllvm/test/Transforms/LoopVectorize/AArch64 replicating-load-store-costs-apple.ll induction-costs.ll, llvm/test/Transforms/LoopVectorize/WebAssembly memory-interleave.ll

[LV] Add initial cost model for VPScalarIVSteps (#203347)

This PR currently only adds a cost model for integer types in
non-replicating regions in order to limit the scope of impact.
We can also support replicating regions, but that requires
looking for a recipe with an underlying value in the same
region in order to get a BasicBlock to pass in to the
getPredBlockCostDivisor function. This can be done in a future
PR.
DeltaFile
+18-130llvm/test/Transforms/LoopVectorize/X86/interleave-cost.ll
+54-73llvm/test/Transforms/LoopVectorize/AArch64/replicating-load-store-costs-apple.ll
+16-67llvm/test/Transforms/LoopVectorize/X86/replicating-load-store-costs.ll
+30-43llvm/test/Transforms/LoopVectorize/AArch64/induction-costs.ll
+46-17llvm/test/Transforms/LoopVectorize/X86/cost-model.ll
+31-31llvm/test/Transforms/LoopVectorize/WebAssembly/memory-interleave.ll
+195-3617 files not shown
+299-40913 files

OpenBSD/ports t1OXJLCtextproc/libical distinfo Makefile

   Update to libical-4.0.3.
VersionDeltaFile
1.31+2-2textproc/libical/distinfo
1.65+1-1textproc/libical/Makefile
+3-32 files

OpenBSD/ports PvY8w0Fsysutils/google-cloud-sdk distinfo Makefile, sysutils/google-cloud-sdk/pkg PLIST

   Update to google-cloud-sdk-573.0.0.
VersionDeltaFile
1.425+231-77sysutils/google-cloud-sdk/pkg/PLIST
1.442+2-2sysutils/google-cloud-sdk/distinfo
1.462+1-1sysutils/google-cloud-sdk/Makefile
+234-803 files

LLVM/project b9f8eeellvm/include/llvm/BinaryFormat DXContainer.h

[DirectX][ObjectYAML][NFC] Remove unused function (#204019)

A small follow-up for #202761.
`updateSize()` function added there is a rebase artifact. It is never
actually used. This change removes it.
DeltaFile
+0-5llvm/include/llvm/BinaryFormat/DXContainer.h
+0-51 files

OpenBSD/ports 4r03yDndevel/clang-tools-extra Makefile, devel/clang-tools-extra/patches patch-llvm_utils_TableGen_Basic_CMakeLists_txt patch-llvm_utils_TableGen_Common_CMakeLists_txt

   sync -D_LIBCPP_USE_LOWER_DEQUE_BLOCK_SIZE patches from devel/llvm/22
   so that this can build on lower-memory archs with llvm 22 (because it
   spends hours building an additional copy of clang...)
VersionDeltaFile
1.1+12-0devel/clang-tools-extra/patches/patch-llvm_utils_TableGen_Basic_CMakeLists_txt
1.1+12-0devel/clang-tools-extra/patches/patch-llvm_utils_TableGen_Common_CMakeLists_txt
1.1+9-0devel/clang-tools-extra/patches/patch-llvm_utils_TableGen_CMakeLists_txt
1.51+1-0devel/clang-tools-extra/Makefile
+34-04 files

LLVM/project 55ea182llvm/lib/Transforms/IPO FunctionSpecialization.cpp, llvm/test/Transforms/FunctionSpecialization interposable.ll

[FuncSpec] Do not specialize interposable functions (#204314)

We cannot specialize interposable functions, because the definition we
see may not be prevailing one. The prevailing definition can have
arbitrary different behavior.

We *can* still specialize inexact definitions like linkonce_odr, similar
to inlining.
DeltaFile
+40-0llvm/test/Transforms/FunctionSpecialization/interposable.ll
+3-0llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
+43-02 files

LLVM/project 6f73bc2llvm/lib/Support Parallel.cpp

[llvm] Fix unused function warning in Parallel (#204114)

When llvm is built without threading support:
<...>/llvm-project/llvm/lib/Support/Parallel.cpp:230:13: warning: unused
function 'isNested' [-Wunused-function]
  230 | static bool isNested() {
      |             ^~~~~~~~

The function is only used once, so I've put the code into the caller,
which is itself guarded with `#if LLVM_ENABLE_THREADS`.

Function added in 8daaa26efdda3802f73367d844b267bda3f84cbe / #189293.
DeltaFile
+2-9llvm/lib/Support/Parallel.cpp
+2-91 files

OpenBSD/ports EN2dHsVsysutils/exoscale-cli distinfo Makefile

   Update to exoscale-cli-1.95.2.
VersionDeltaFile
1.149+2-2sysutils/exoscale-cli/distinfo
1.152+1-1sysutils/exoscale-cli/Makefile
+3-32 files

OpenBSD/ports 8LCFhkfsysutils/plakar distinfo modules.inc

   Update to plakar-1.1.3.
VersionDeltaFile
1.19+12-6sysutils/plakar/distinfo
1.14+5-2sysutils/plakar/modules.inc
1.22+1-1sysutils/plakar/Makefile
+18-93 files

OpenBSD/ports OmPy3hDdevel/libidn Makefile distinfo

   Update to libidn-1.44.
VersionDeltaFile
1.47+3-3devel/libidn/Makefile
1.28+2-2devel/libidn/distinfo
+5-52 files

LLVM/project 8c3d2e9llvm/docs Passes.rst, llvm/include/llvm InitializePasses.h

[Passes] Remove deadarghaX0r pass (#204310)

This was a pass internally used by bugpoint. Bugpoint has been removed,
so remove the pass as well.
DeltaFile
+7-30llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp
+0-7llvm/include/llvm/Transforms/IPO/DeadArgumentElimination.h
+0-6llvm/docs/Passes.rst
+0-1llvm/lib/Transforms/IPO/IPO.cpp
+0-1llvm/include/llvm/InitializePasses.h
+7-455 files

OpenBSD/src EHw0HDjusr.sbin/rpki-client filemode.c mft.c

   rpki-client: indent some out labels for consistency
VersionDeltaFile
1.83+2-2usr.sbin/rpki-client/filemode.c
1.140+2-2usr.sbin/rpki-client/mft.c
1.89+2-2usr.sbin/rpki-client/roa.c
1.46+2-2usr.sbin/rpki-client/tal.c
+8-84 files

LLVM/project 7d92d40mlir/include/mlir/Dialect/Tosa/IR TosaComplianceData.h.inc TosaOps.td, mlir/lib/Dialect/Tosa/IR TosaOps.cpp

[mlir][tosa] Add row_gather operator (#202895)

Adds support for the row_gather operator defined by the TOSA
specification, see https://github.com/arm/tosa-specification/pull/60.

This includes:
- Operator definition
- Verification logic for the operator
- Output shape inference for the operator
- Validation checks to ensure compliance with the TOSA specification
including profile compliance and level checks.
- Canonicalization to replace row_gather with gather when row_count is
statically known to be 1.

It does not yet cover support for MXFP types. This will be added once
block scaled types are supported.
DeltaFile
+88-16mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
+63-0mlir/test/Dialect/Tosa/verifier.mlir
+59-0mlir/include/mlir/Dialect/Tosa/IR/TosaComplianceData.h.inc
+49-0mlir/test/Dialect/Tosa/tosa-infer-shapes.mlir
+47-0mlir/test/Dialect/Tosa/ops.mlir
+36-0mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
+342-1612 files not shown
+506-1618 files

OpenBSD/ports rOlJn1owww/iridium distinfo, www/iridium/patches patch-chrome_browser_about_flags_cc patch-chrome_browser_chrome_content_browser_client_cc

   update to 2026.06.149.3
VersionDeltaFile
1.79+49-49www/iridium/patches/patch-chrome_browser_about_flags_cc
1.68+20-20www/iridium/patches/patch-chrome_browser_chrome_content_browser_client_cc
1.44+5-5www/iridium/patches/patch-media_base_media_switches_cc
1.15+3-3www/iridium/patches/patch-chrome_browser_ui_views_tabs_dragging_tab_drag_controller_cc
1.26+3-3www/iridium/patches/patch-base_files_file_util_posix_cc
1.123+2-2www/iridium/distinfo
+82-8213 files not shown
+98-9819 files

LLVM/project b59f965lldb/test/API/lang/objc/hidden-ivars TestHiddenIvars.py

[lldb][test] Cleanup and modernize TestHiddenIvars.py (#202023)

This is simple rewrite of the test. The patch improves three things:

* It replaces old expect tests with the new expect_* variants that no
longer rely on substring matching.

* It unifies the strip/non-stripped checks as we actually produce
identical SBValues in both cases (by fetching data from the Objective-C
runtime).

* It builds this test with a shared build directory. Our stripping logic
generates a new stripped binary in a subdirectory and doesn't touch the
shared build files. This also halves the test runtime to 6s.
DeltaFile
+79-187lldb/test/API/lang/objc/hidden-ivars/TestHiddenIvars.py
+79-1871 files

LLVM/project 045ec52lldb/packages/Python/lldbsuite/test dotest.py dotest_args.py, lldb/test/API lit.cfg.py

[lldb][test] Only calculate LLDB python path once (#201327)

We spend about 70ms each dotest invocation recalculating the path where
the LLDB module is. This patch changes this so that dotest calculates
this path once and passes it to every dotest invocation.

As a fallback, we still support inferring the location from LLDB as
before, but I would propose we drop this support in the future.
DeltaFile
+29-11lldb/packages/Python/lldbsuite/test/dotest.py
+22-0lldb/test/API/lit.cfg.py
+6-0lldb/packages/Python/lldbsuite/test/dotest_args.py
+5-0lldb/packages/Python/lldbsuite/test/configuration.py
+62-114 files

LLVM/project de84e7cllvm/lib/Target/Mips MipsSEISelLowering.cpp MipsMSAInstrInfo.td, llvm/test/CodeGen/Mips/msa f16-llvm-ir.ll

[MIPS] soft-promote `f16` also when using `+msa` (#204158)

Fixes https://github.com/llvm/llvm-project/issues/202808
Re-lands https://github.com/llvm/llvm-project/pull/203065

Make use of the default soft-promote mechanism for f16, rather than an
ad-hoc approach making f16 storage-only.

In theory you could leave it at that, but I added custom implementations
to make use of the instructions for `FP16_TO_FP` and `FP_TO_FP16`, and
manually apply the "fptoui to fptosi trick" which generates shorter
code.

I've now tested that, in combination with
https://github.com/llvm/llvm-project/pull/203390, this PR is able to
build and run the rust `std` test suite, which exercises both `f16` and
vectors a bunch. The tests all pass under `qemu` as well.

The last commit fixes an integer overflow bug that triggered UBSan and
led to an earlier revert of these changes.
DeltaFile
+966-1,105llvm/test/CodeGen/Mips/msa/f16-llvm-ir.ll
+101-411llvm/lib/Target/Mips/MipsSEISelLowering.cpp
+0-37llvm/lib/Target/Mips/MipsMSAInstrInfo.td
+2-14llvm/lib/Target/Mips/MipsSEISelLowering.h
+0-6llvm/lib/Target/Mips/MipsRegisterInfo.td
+3-2llvm/lib/Target/Mips/MipsISelLowering.cpp
+1,072-1,5753 files not shown
+1,073-1,5809 files