LLVM/project 7c7f5bellvm/unittests/CodeGen CodeGenTestBase.h RematerializerTest.cpp, llvm/unittests/Target/AMDGPU LiveRegUnits.cpp AMDGPUUnitTests.cpp

[CodeGen][AMDGPU] Move boilerplate unit test code to base class (NFC) (#196547)

This adds the `CodeGenTestBase` class to handle boilerplate code for
codegen unit tests and makes use of it wherever possible, in particular
in AMDGPU unit tests.

Furthermore, this makes all AMDGPU unit tests rely on GoogleTest's API
for "run once per test-suite" code, instead of re-implementing that
behavior using a `std::once` flag. As a consequence all TEST(...) become
TEST_F(...).
DeltaFile
+91-0llvm/unittests/CodeGen/CodeGenTestBase.h
+7-71llvm/unittests/CodeGen/RematerializerTest.cpp
+5-72llvm/unittests/CodeGen/MachineDomTreeUpdaterTest.cpp
+9-43llvm/unittests/Target/AMDGPU/LiveRegUnits.cpp
+19-21llvm/unittests/Target/AMDGPU/AMDGPUUnitTests.cpp
+18-5llvm/unittests/Target/AMDGPU/AMDGPUUnitTests.h
+149-2126 files not shown
+159-25212 files

NetBSD/pkgsrc-wip 1f87af1zimh Makefile distinfo

zimh: update to yesterday
DeltaFile
+13-7zimh/Makefile
+3-3zimh/distinfo
+1-0zimh/PLIST
+17-103 files

LLVM/project f29a959clang/docs LanguageExtensions.rst, clang/include/clang/Options Options.td

Enable driver changes for fexec-charset
DeltaFile
+14-6clang/lib/Driver/ToolChains/Clang.cpp
+14-4clang/include/clang/Options/Options.td
+11-3clang/test/Driver/clang_f_opts.c
+10-0llvm/lib/Support/TextEncoding.cpp
+4-3clang/test/Driver/cl-options.c
+3-3clang/docs/LanguageExtensions.rst
+56-193 files not shown
+60-199 files

LLVM/project 5d6451cclang/include/clang/Basic TargetInfo.h, clang/lib/AST ASTContext.cpp

convert to exec-charset inside getPredefinedStringLiteralFromCache, test __builtin_FILE()
DeltaFile
+28-0clang/test/CodeGen/systemz-charset.cpp
+10-0clang/lib/AST/ASTContext.cpp
+5-4clang/lib/Lex/TextEncodingConfig.cpp
+3-0clang/lib/Basic/TargetInfo.cpp
+2-0clang/include/clang/Basic/TargetInfo.h
+48-45 files

LLVM/project 5f9b389clang/lib/AST PrintfFormatString.cpp FormatString.cpp, clang/lib/Sema SemaChecking.cpp

Add format string handling
DeltaFile
+58-31clang/lib/AST/PrintfFormatString.cpp
+46-40clang/lib/AST/FormatString.cpp
+33-21clang/lib/Sema/SemaChecking.cpp
+25-11clang/lib/AST/FormatStringParsing.h
+15-8clang/lib/AST/ScanfFormatString.cpp
+19-0llvm/lib/Support/TextEncoding.cpp
+196-11112 files not shown
+258-12218 files

LLVM/project f720469clang/lib/Parse ParseDecl.cpp ParseExpr.cpp, clang/lib/Sema SemaExpr.cpp

add ParserConversionAction, do not translate unevaluated strings
DeltaFile
+15-0clang/test/CodeGen/systemz-charset.c
+6-5clang/lib/Sema/SemaExpr.cpp
+10-0clang/lib/Parse/ParseDecl.cpp
+9-0clang/test/CodeGen/systemz-charset-diag.cpp
+3-3clang/lib/Parse/ParseExpr.cpp
+4-0clang/lib/Parse/Parser.cpp
+47-83 files not shown
+53-99 files

LLVM/project 5860944clang/include/clang/Lex TextEncodingConfig.h LiteralSupport.h, clang/lib/Lex LiteralSupport.cpp TextEncodingConfig.cpp

This patch enables the fexec-charset option to control the execution charset of string literals. It sets the default internal charset, system charset, and execution charset for z/OS and UTF-8 for all other platforms.
DeltaFile
+139-31clang/lib/Lex/LiteralSupport.cpp
+58-0clang/test/CodeGen/systemz-charset.c
+46-0clang/test/CodeGen/systemz-charset.cpp
+45-0clang/lib/Lex/TextEncodingConfig.cpp
+34-0clang/include/clang/Lex/TextEncodingConfig.h
+12-7clang/include/clang/Lex/LiteralSupport.h
+334-3813 files not shown
+385-4619 files

FreeBSD/ports fbf4e0esecurity/libgpg-error distinfo Makefile

security/libgpg-error: update to 1.61
DeltaFile
+3-3security/libgpg-error/distinfo
+1-1security/libgpg-error/Makefile
+1-1security/libgpg-error/pkg-plist
+5-53 files

LLVM/project 28b1ebcmlir/lib/Pass IRPrinting.cpp, mlir/test/Pass ir-printing.mlir dynamic-pipeline.mlir

Revert "[mlir][core] in -mlir-print-ir-*, dump the pass options as well (#195…"

This reverts commit 11e91bdcc6e1ddc81d95fa592e09728d4b346f2b.
DeltaFile
+32-35mlir/test/Pass/ir-printing.mlir
+18-22mlir/lib/Pass/IRPrinting.cpp
+8-8mlir/test/Pass/dynamic-pipeline.mlir
+5-5mlir/test/Pass/run-reproducer.mlir
+4-4mlir/test/Pass/dynamic-pipeline-nested.mlir
+3-3mlir/test/python/pass_manager.py
+70-776 files

FreeBSD/ports 9650642astro/merkaartor Makefile, databases/postgis33 Makefile

graphics/proj: bump dependends ports
DeltaFile
+1-1databases/spatialite_gui/Makefile
+1-1databases/postgis33/Makefile
+1-1databases/postgis34/Makefile
+1-1databases/spatialite-tools/Makefile
+1-1databases/spatialite/Makefile
+1-1astro/merkaartor/Makefile
+6-628 files not shown
+34-2734 files

LLVM/project ee44ba8lldb/include/lldb/Host/common NativeProcessProtocol.h, lldb/source/Host/common NativeProcessProtocol.cpp

Revert "[lldb] Do not refcount breakpoints in lldb-server" (#196561)

Reverts llvm/llvm-project#195858 due to breakage on arm(32).
DeltaFile
+10-4lldb/source/Host/common/NativeProcessProtocol.cpp
+2-11lldb/test/API/functionalities/multi-breakpoint/TestMultiBreakpoint.py
+1-0lldb/include/lldb/Host/common/NativeProcessProtocol.h
+13-153 files

LLVM/project 435957aflang/docs HLFIRTransition.md HighLevelFIR.md

[flang][docs] Removed HighLevelFIR transition plan section (#196227)

Removed the "Transition Plan" section from flang/docs/HighLevelFIR.md,
since the transition has completed a long time ago and the legacy
lowering code is being removed now.
DeltaFile
+55-0flang/docs/HLFIRTransition.md
+0-50flang/docs/HighLevelFIR.md
+9-0flang/docs/index.md
+64-503 files

LLVM/project cd2b1a1llvm/test/CodeGen/X86 blend-of-shift.ll shuffle-of-shift.ll

[X86] Remove tests for non-existant intrinsics. NFC (#196237)

There is no PSRAQ instruction until AVX512. The incorrect intrinsic
names were just being interpreted as a call to an external functional.
DeltaFile
+4-160llvm/test/CodeGen/X86/blend-of-shift.ll
+4-96llvm/test/CodeGen/X86/shuffle-of-shift.ll
+8-2562 files

LLVM/project d17e1eelldb/include/lldb/Host/common NativeProcessProtocol.h, lldb/source/Host/common NativeProcessProtocol.cpp

Revert "[lldb] Do not refcount breakpoints in lldb-server (#195858)"

This reverts commit 0059df2a5b53c31f3eb53147a193af9329f7b10d.
DeltaFile
+10-4lldb/source/Host/common/NativeProcessProtocol.cpp
+2-11lldb/test/API/functionalities/multi-breakpoint/TestMultiBreakpoint.py
+1-0lldb/include/lldb/Host/common/NativeProcessProtocol.h
+13-153 files

FreeBSD/ports bd21980sysutils Makefile

sysutils/Makefile: Add firstboot-pkg-upgrade

MFC:            2026Q2
Fixes:          00f7e6eb6c82 (sysutils/firstboot-pkg-upgrade)
Reported by:    ivy

(cherry picked from commit eb29a4d02e5ba83964587879fee1972450a29cda)
DeltaFile
+1-0sysutils/Makefile
+1-01 files

OPNSense/core 8326012src/opnsense/scripts/captiveportal/lib ipfw.py

shorten this
DeltaFile
+2-8src/opnsense/scripts/captiveportal/lib/ipfw.py
+2-81 files

FreeBSD/ports eb29a4dsysutils Makefile

sysutils/Makefile: Add firstboot-pkg-upgrade

MFC:            2026Q2
Fixes:          00f7e6eb6c82 (sysutils/firstboot-pkg-upgrade)
Reported by:    ivy
DeltaFile
+1-0sysutils/Makefile
+1-01 files

LLVM/project 180409dlldb/include/lldb/Interpreter OptionValue.h OptionValueFormatEntity.h, lldb/source/Commands CommandObjectSettings.cpp

[lldb] Add --changed option to `settings show` (#196390)

Add a `--changed`/`-c` flag to `settings show` that restricts the output
to settings whose current value differs from the default. This makes it
easy to inspect what has been customized in a session or config without
scrolling through the full property tree.

One thing worth calling out is that this works as expected with explicit
property paths, for example you can show only the modified settings
belonging to `target`:

```
(lldb) set show -c target
target.load-script-from-symbol-file (enum) = true (default: trusted)
(lldb)
```

If nothing has been changed, the output is empty:


    [5 lines not shown]
DeltaFile
+105-0lldb/test/API/commands/settings/TestSettings.py
+16-0lldb/source/Commands/CommandObjectSettings.cpp
+11-0lldb/source/Interpreter/OptionValueProperties.cpp
+8-0lldb/include/lldb/Interpreter/OptionValue.h
+4-0lldb/include/lldb/Interpreter/OptionValueFormatEntity.h
+4-0lldb/include/lldb/Interpreter/OptionValueRegex.h
+148-012 files not shown
+173-018 files

OpenBSD/ports COPjmCgwww/ungoogled-chromium/patches patch-chrome_browser_about_flags_cc patch-third_party_libsync_src_sync_c

   update to 148.0.7778.96
VersionDeltaFile
1.59+83-109www/ungoogled-chromium/patches/patch-chrome_browser_about_flags_cc
1.6+170-14www/ungoogled-chromium/patches/patch-third_party_libsync_src_sync_c
1.58+30-39www/ungoogled-chromium/patches/patch-third_party_blink_renderer_platform_runtime_enabled_features_json5
1.44+28-28www/ungoogled-chromium/patches/patch-chrome_browser_policy_configuration_policy_handler_list_factory_cc
1.44+37-19www/ungoogled-chromium/patches/patch-chrome_browser_profiles_chrome_browser_main_extra_parts_profiles_cc
1.18+46-4www/ungoogled-chromium/patches/patch-sandbox_policy_openbsd_sandbox_openbsd_cc
+394-213401 files not shown
+2,359-1,326407 files

LLVM/project 52d6396llvm/lib/Target/AMDGPU GCNRegPressure.h GCNRegPressure.cpp

Updated remove() method to ensure registers and units are in sync.

If there is aliasing between 2 entries in physical register tracker,
the remove method for one of those registers may remove regunits
that correspond to the other entry that is still in the tracker. This
produces an inconsistency. This patch fixes this problem by first
removing the register/units but then reconstructing the units from
the remaining registers that are present in the tracker.
DeltaFile
+16-5llvm/lib/Target/AMDGPU/GCNRegPressure.h
+1-1llvm/lib/Target/AMDGPU/GCNRegPressure.cpp
+17-62 files

LLVM/project f68d44dclang/include/clang/Basic Module.h, clang/include/clang/Serialization ASTReader.h ModuleFile.h

[clang][modules] Deserialize submodules lazily (#194968)

This PR implements on-demand deserialization of `Module` objects from
PCM files. This is motivated by dependency scanning, where eager
deserialization of submodules turns out to be very expensive and
typically unnecessary. The core of this patch is the introduction of
`ModuleRef`, which may either be a pointer to `Module`, a pointer to new
`ExternalSubmoduleSource` (implemented by `ASTReader`) and
`serialization::SubmoduleID`, both, or none (null). Dereferencing
`ModuleRef` ensures the `Module` is deserialized if possible.

This replaces `ASTReader::UnresolvedModuleRefs` and changes the
structure of a PCM file a bit, most importantly introducing new
`SUBMODULE_CHILD` record that enables hooking up the laziness into the
qualified by-name lookup that uses `Module::SubModuleIndex`.

This speeds up dependency scanning by ~5.5%.
DeltaFile
+140-144clang/lib/Serialization/ASTReader.cpp
+89-8clang/include/clang/Basic/Module.h
+55-18clang/lib/Serialization/ASTWriter.cpp
+8-38clang/include/clang/Serialization/ASTReader.h
+16-0clang/include/clang/Serialization/ModuleFile.h
+11-3clang/include/clang/Serialization/ASTBitCodes.h
+319-2117 files not shown
+333-22413 files

LLVM/project 3eac451clang/test/CodeGen/PowerPC half-float16-ppc.c, llvm/lib/Target/PowerPC PPCISelLowering.cpp PPCInstrVSX.td

[PowerPC] Add _Float16 datatype support for Power8+ with -mfloat16 flag

This patch introduces experimental half-precision floating-point (_Float16)
support for PowerPC Power8 and later architectures, enabled via the new
-mfloat16 compiler flag.

Key changes:
- Add -mfloat16 flag to enable half-precision floating-point support
- Register f16 as a legal type using VHFRCRegClass (VSX half-precision registers)
- Implement f16 operations with promotion to f32 for arithmetic operations
- Add hardware conversion support for Power9+ (xscvhpdp/xscvdphp instructions)
- Use libcall conversions for Power8 (__extendhfsf2, __truncsfhf2, etc.)
- Support direct load/store operations for f16 values
- Handle f16 in calling conventions with proper register allocation
- Add comprehensive test coverage for AIX and Linux platforms

The implementation addresses correctness issues from GitHub issues #97975
(intermediate precision) and #97981 (NaN payload corruption) by treating
f16 as a first-class type rather than using lossy conversion functions.

    [3 lines not shown]
DeltaFile
+4,198-0llvm/test/CodeGen/PowerPC/half-float16-ppc.ll
+154-0clang/test/CodeGen/PowerPC/half-float16-ppc.c
+90-11llvm/lib/Target/PowerPC/PPCISelLowering.cpp
+96-0llvm/test/CodeGen/PowerPC/f16-aix-psa.ll
+82-0llvm/lib/Target/PowerPC/PPCInstrVSX.td
+10-3llvm/lib/Target/PowerPC/PPCCallingConv.td
+4,630-149 files not shown
+4,673-1615 files

OPNSense/core ebcde59src/opnsense/scripts/captiveportal/lib ipfw.py

improve comment here
DeltaFile
+1-1src/opnsense/scripts/captiveportal/lib/ipfw.py
+1-11 files

LLVM/project 1b33818llvm/unittests/CodeGen RematerializerTest.cpp

Add apparently missing include
DeltaFile
+1-0llvm/unittests/CodeGen/RematerializerTest.cpp
+1-01 files

LLVM/project b42a213lldb/source/Plugins/Process/Windows/Common ProcessWindows.cpp ProcessWindows.h

[lldb][windows] drain the ConPTY on process exit (#196371)
DeltaFile
+35-34lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
+4-0lldb/source/Plugins/Process/Windows/Common/ProcessWindows.h
+39-342 files

LLVM/project 14a290amlir/include/mlir/Dialect/MemRef/IR MemoryAccessOpInterfaces.td, mlir/include/mlir/Dialect/Vector/IR VectorOps.td

[mlir][vector] Implement IndexedAccessOpInterface for load, store, etc. (#196216)

This commit adds simple (not trying to account for unit dimensions that
could be cast away) implementations of IndexedAccessOpInterface to
low-level vector operations like vector.load and vector.store,
eliminating the need for the old-style code in FoldMemRefAliasOps.cpp.
After this commit, it'll be possible to migrate all the other
memref-rewriting passes (ExpandAddressComputation and FlattenMemRefs) to
use the interface, taking a bunch of dialect dependencies off of
memref/transforms.

Assisted-By: GPT 5.5 (pulled in old code, wrote some new tests)
DeltaFile
+13-318mlir/lib/Dialect/MemRef/Transforms/FoldMemRefAliasOps.cpp
+125-0mlir/test/Dialect/MemRef/fold-memref-alias-ops.mlir
+101-0mlir/lib/Dialect/Vector/Transforms/IndexedAccessOpInterfaceImpl.cpp
+21-0mlir/include/mlir/Dialect/Vector/Transforms/IndexedAccessOpInterfaceImpl.h
+5-1mlir/include/mlir/Dialect/MemRef/IR/MemoryAccessOpInterfaces.td
+6-0mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
+271-3193 files not shown
+278-3199 files

OPNSense/core 5f53f22src/opnsense/scripts/captiveportal/lib ipfw.py arp.py

Captive Portal: arp entries overwritten here, do not check tables as it's not necessary
DeltaFile
+2-3src/opnsense/scripts/captiveportal/lib/ipfw.py
+3-1src/opnsense/scripts/captiveportal/lib/arp.py
+5-42 files

FreeBSD/ports 00f7e6esysutils/firstboot-pkg-upgrade Makefile pkg-descr, sysutils/firstboot-pkg-upgrade/files firstboot_pkg_upgrade.in

sysutils/firstboot-pkg-upgrade: New port

Introduce an rc.d service to upgrade all packages on first boot,
ensuring cloud images are deployed with no known vulnerabilities. By
default, it will patch everything from all enabled repos, and record
this in syslog. It accepts an optional additional line that specifies
a list of space-separated specific repos to limit the upgrade to.

Note specifying bogus repos results in the upgrade aborting,
it will log This and will not try to not run again.

MFH:                    2026Q2
Sponsored by:           Amazon
Sponsored by:           Google Cloud
Sponsored by:           OVHcloud
Reviewed by:            bapt, cperciva
Discussed with:         bapt, cperciva, delphij, lwhsu
Differential Revision: https://reviews.freebsd.org/D56381

(cherry picked from commit 89d217ad06ead7f1138121ca2aa30099bba23165)
DeltaFile
+62-0sysutils/firstboot-pkg-upgrade/files/firstboot_pkg_upgrade.in
+20-0sysutils/firstboot-pkg-upgrade/Makefile
+6-0sysutils/firstboot-pkg-upgrade/pkg-descr
+88-03 files

FreeBSD/ports 89d217asysutils/firstboot-pkg-upgrade Makefile pkg-descr, sysutils/firstboot-pkg-upgrade/files firstboot_pkg_upgrade.in

sysutils/firstboot-pkg-upgrade: New port

Introduce an rc.d service to upgrade all packages on first boot,
ensuring cloud images are deployed with no known vulnerabilities. By
default, it will patch everything from all enabled repos, and record
this in syslog. It accepts an optional additional line that specifies
a list of space-separated specific repos to limit the upgrade to.

Note specifying bogus repos results in the upgrade aborting,
it will log This and will not try to not run again.

MFH:                    2026Q2
Sponsored by:           Amazon
Sponsored by:           Google Cloud
Sponsored by:           OVHcloud
Reviewed by:            bapt, cperciva
Discussed with:         bapt, cperciva, delphij, lwhsu
Differential Revision: https://reviews.freebsd.org/D56381
DeltaFile
+62-0sysutils/firstboot-pkg-upgrade/files/firstboot_pkg_upgrade.in
+20-0sysutils/firstboot-pkg-upgrade/Makefile
+6-0sysutils/firstboot-pkg-upgrade/pkg-descr
+88-03 files

LLVM/project 0f23bffclang/test/CodeGen 2008-07-31-asm-labels.c

Symbol names on arm64 can have an extra char on front of name (#194937)

My previous change (https://github.com/llvm/llvm-project/pull/192132)
didn't work with aarch64. The symbol name has the \x01 on the front and
the greps fail. Update the expression for the grep to allow for that
char.

Sorry about that. The original grep with `@pipe` also fails on aarch64 &
macos. The negative test those greps are doing will always pass on
aarch64 & macos. That should be looking for the updated symbol name too.
DeltaFile
+8-8clang/test/CodeGen/2008-07-31-asm-labels.c
+8-81 files