LLVM/project c516344llvm/include/llvm/IR PassManager.h, llvm/test/Other lpm-require-analysis-optnone.ll

[PM] Make InvalidateAllAnalysesPass Optional (#196956)

Similar reasoning to 221a24e94f7b03ea881df34cc8867c58ac8fdb52. Making
this required means we end up with assertion failures in the LPM around
LCSSA.

This is a bit unfortunate given it would be nice to ensure we can
trivially invalidate analyses on optnone functions, but this matches the
old behavior and prevents and assertion failure for now.
DeltaFile
+1-1llvm/include/llvm/IR/PassManager.h
+1-0llvm/test/Other/lpm-require-analysis-optnone.ll
+2-12 files

LLVM/project bd0aad5clang/test/CXX/drs cwg9xx.cpp, clang/www cxx_dr_status.html

[clang][NFC] Mark CWG988 as implemented and add a test (#196889)

[CWG988](https://wg21.link/cwg988) specifies that reference collapsing
is performed when trying to form a reference to a `decltype`. Clang
implements this since 2.7: https://godbolt.org/z/vYzKbv8x7 (and I
checked a few versions after that to make sure there were no
regressions).
DeltaFile
+11-0clang/test/CXX/drs/cwg9xx.cpp
+1-1clang/www/cxx_dr_status.html
+12-12 files

LLVM/project cc4922bflang/lib/Frontend CompilerInvocation.cpp, flang/lib/Lower Bridge.cpp Allocatable.cpp

[flang] Remove legacy (non-HLFIR) lowering and related options (#196205)

Drop the user-facing options that selected the legacy non-HLFIR lowering
path, the always-true `LowerToHighLevelFIR` lowering option, and the
descriptor-discretization debug switch:

- `-flang-experimental-hlfir` and `-flang-deprecated-no-hlfir` (flang
  driver and `-fc1`)
- `-hlfir` / `--hlfir` (bbc)
- `--use-desc-for-alloc` (bbc, debug)

Remove every `if (lowerToHighLevelFIR()) { ... } else { ... }` branch in
`lib/Lower/`, keeping the HLFIR side. Delete the now-unused legacy
helpers in `Bridge.cpp` (`copyVarFIR`, both
`genNoHLFIRPointerAssignment`
overloads, the legacy block of `genAssignment`) and the always-empty
`createMutableProperties` together with its four dead helpers in
`Allocatable.cpp`. Drop the corresponding `alwaysUseBox` parameter from
`createMutableBox`.

    [4 lines not shown]
DeltaFile
+107-572flang/lib/Lower/Bridge.cpp
+5-139flang/lib/Lower/Allocatable.cpp
+28-80flang/lib/Lower/ConvertVariable.cpp
+1-29flang/lib/Lower/ConvertType.cpp
+7-13flang/lib/Lower/ConvertCall.cpp
+0-19flang/lib/Frontend/CompilerInvocation.cpp
+148-8529 files not shown
+159-91415 files

LLVM/project d2bc838llvm/test/Transforms/LoopVectorize early-exit-umin-trip-count.ll

[SE][LV] Add test: early-exit loop with umin trip count should vectorize (NFC) (#196942)

See https://github.com/llvm/llvm-project/issues/196935
DeltaFile
+77-0llvm/test/Transforms/LoopVectorize/early-exit-umin-trip-count.ll
+77-01 files

LLVM/project 693ad7ellvm/unittests/IR LegacyPassManagerTest.cpp

[NFC][LLVM] Namespace cleanup in LegacyPassManagerTest (#196811)

Remove llvm namespace surrounding the entire file, and remove extra
indentation of the code within the anonymous namespace.
DeltaFile
+573-578llvm/unittests/IR/LegacyPassManagerTest.cpp
+573-5781 files

LLVM/project a4c4836llvm/unittests/IR TimePassesTest.cpp InstructionsTest.cpp

[NFC][LLVM][IRTests] Namespace cleanup (#196806)

Remove llvm namespace surrounding entire .cpp files and instead use
`using namespace` in these files.
DeltaFile
+5-4llvm/unittests/IR/TimePassesTest.cpp
+3-3llvm/unittests/IR/InstructionsTest.cpp
+2-2llvm/unittests/IR/BasicBlockTest.cpp
+2-2llvm/unittests/IR/ConstantsTest.cpp
+0-3llvm/unittests/IR/DroppedVariableStatsIRTest.cpp
+1-2llvm/unittests/IR/VerifierTest.cpp
+13-166 files

LLVM/project 30bda9fclang/lib/AST/ByteCode Compiler.cpp, clang/test/AST/ByteCode c.c

[clang][bytecode] Check value-dependency before calling evaluateValue() (#196931)

As always.
DeltaFile
+9-0clang/test/AST/ByteCode/c.c
+3-2clang/lib/AST/ByteCode/Compiler.cpp
+12-22 files

LLVM/project 9121760lldb/source/Host/common Editline.cpp

[lldb] Release output lock across blocking el_wgetc in DisplayCompletions (#196686)

DisplayCompletions held m_output_stream_sp->Lock() across the blocking
el_wgetc() call used by the "More (Y/n/a)" pager. Because the lock is a
recursive_mutex, this worked when Editline::Interrupt() ran on the same
thread (the synchronous SIGINT handler), but deadlocks when Interrupt()
runs on another thread: it blocks on the lock and can never call
InterruptRead() to wake the editor thread.

Mirror the pattern already used by Editline::GetCharacter: drop the lock
across the blocking read and reacquire it afterward. The status check
and the "^C\n" / "\n" prints stay under the lock.
DeltaFile
+16-6lldb/source/Host/common/Editline.cpp
+16-61 files

LLVM/project 86aa07allvm/include/llvm/IR IRBuilder.h, llvm/lib/Target/RISCV RISCVGatherScatterLowering.cpp

[InstCombine] Create `or` as `disjoint` where applicable (#193725)
DeltaFile
+6-7llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
+2-2llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
+4-0llvm/include/llvm/IR/IRBuilder.h
+2-2llvm/test/Transforms/InstCombine/add.ll
+1-1llvm/lib/Target/RISCV/RISCVGatherScatterLowering.cpp
+15-125 files

LLVM/project 29df070llvm/lib/CodeGen StackColoring.cpp, llvm/test/CodeGen/X86 sjlj-do-not-merge-stack-slots.ll

[StackColoring] Treat all stack slots as conservative with `returns_twice` call-sites (#196542)

Do not merge stack slots on disjoint paths if the function may call
setjmp/sigsetjmp, as the current algorithm defaults to computing
liveness analysis from the actual uses propagated through the CFG,
rather than leveraging lifetime markers, thus making it unsound with
`returns_twice` calls.

Fixes: https://github.com/llvm/llvm-project/issues/196468.
DeltaFile
+5-4llvm/test/CodeGen/X86/sjlj-do-not-merge-stack-slots.ll
+5-0llvm/lib/CodeGen/StackColoring.cpp
+10-42 files

FreeNAS/freenas 3f17228src/middlewared/middlewared/utils timezone_choices.py

Address reviews
DeltaFile
+5-10src/middlewared/middlewared/utils/timezone_choices.py
+5-101 files

LLVM/project 58aa43fllvm/lib/Transforms/IPO AlwaysInliner.cpp, llvm/test/Transforms/Inline flatten.ll

Revert "[LLVM] Fix use-after-free in AlwaysInliner flatten worklist" (#196950)

Reverts llvm/llvm-project#194485, which causes a 20x+ compilation time
increase
(https://github.com/llvm/llvm-project/pull/194485#issuecomment-4416941666)
and an up to 20% runtime performance regression on fleetbench memory
benchmarks
(https://github.com/llvm/llvm-project/pull/194485#issuecomment-4421136222).
DeltaFile
+42-39llvm/lib/Transforms/IPO/AlwaysInliner.cpp
+0-38llvm/test/Transforms/Inline/flatten.ll
+42-772 files

FreeNAS/freenas b5cc9b1src/middlewared/middlewared/plugins alert.py, src/middlewared/middlewared/utils __init__.py

NAS-140959 / 27.0.0-BETA.1 / get rid of misleading bisect function (#18925)

Remove the misleadingly-named `bisect` helper from
`middlewared/utils/__init__.py`. Despite the name, it wasn't a bisection
it was a partition (split an iterable into two lists by predicate),
which collided with Python's stdlib `bisect` module that does binary
search on sorted sequences.

It had a single caller (`plugins/alert/alert.py`, two call sites).
Inlined as a small file-local `partition[T](...)` helper using PEP 695
generic syntax — no TypeVar boilerplate, no shared utility for one
consumer.

- `middlewared/utils/__init__.py`: dropped `bisect`, the `_V` TypeVar,
and the now-unused `Callable`/`Iterable`/`TypeVar` imports.
- `plugins/alert/alert.py`: added a local `partition` helper with
docstring; updated both call sites; added `Iterable` to the
`TYPE_CHECKING` block.

(cherry picked from commit 5d0bbc0db871f4b48668a1baf16d5214020edd53)
DeltaFile
+21-5src/middlewared/middlewared/plugins/alert.py
+1-15src/middlewared/middlewared/utils/__init__.py
+22-202 files

LLVM/project 58988bdllvm/test/CodeGen/AMDGPU/GlobalISel legalize-load-private.mir legalize-llvm.amdgcn.image.sample.a16.ll

AMDGPU/GlobalISel: Switch to extended LLTs

Switch is required to be able to translate bfloat.

After the switch most of the codegen patterns now require explicit
type on register to match instead of LLT::scalar.
So we can still use LLT::scalar for type checks but new instructions
created during lowerings/combines need to use propper extended LLT.

inst select test sources fully switched to i32/f32 so patterns can match
for legalizer and regbanklegalize left as is (should probably be switched
as well)

New functionality worth noting is f16 and bitcast lowering to i32
f16 = g_bitcast i16
->
i32 = g_anyext i16
f16 = g_trunc i32

f16 = trunc i32 is legal
DeltaFile
+6,753-6,685llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-private.mir
+5,732-5,732llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.sample.a16.ll
+5,570-5,519llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-local.mir
+5,045-5,045llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-store-global.mir
+5,017-4,999llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-global.mir
+3,948-3,900llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.dim.a16.ll
+32,065-31,880581 files not shown
+107,207-104,841587 files

DragonFlyBSD/src fa57f06sys/config LINT64

LINT64: Add apple_fw.
DeltaFile
+3-0sys/config/LINT64
+3-01 files

NetBSD/pkgsrc HwgllNkemulators/qemu Makefile PLIST

   Add microblazeel to UE_ARCHS and PLIST

   Fixes build failure on Linux
VersionDeltaFile
1.403+2-2emulators/qemu/Makefile
1.106+2-1emulators/qemu/PLIST
+4-32 files

FreeNAS/freenas 927a400src/middlewared/middlewared/utils __init__.py

NAS-140958 / 26.0.0-RC.1 / fix update crash (by yocalebo) (#18924)

We don't officially support jumping multiple major versions when doing
updates. We have always said that you need to go to the next major
version during upgrade process. However, internally, I was working on
something unrelated and tried to bump an internal system from a nightly
running 25.04 to latest 27 nightly. It failed in a rather peculiar way.
The long-story kept short is that it's failing on an import in
`utils/__init__.py` which is kind of gross. The very simple solution is
to remove the import which I've done in this PR. It's safe to remove
this import because we already set the default executor in`main.py`.
With the changes in this PR, I was able to upgrade the system without
issues.The crash looked something like this:
```
Status: Preparing GRUB configuration
[EFAULT] Error: Command ['chroot', '/tmp/tmp9p1rlsk3', '/usr/local/bin/truenas-grub.py'] failed with exit code -6: Fatal Python error: init_py_struct_prop_state: Hidden property in zfs_prop_table. [src/libzfs/py_zfs_prop.c:148]
Python runtime state: initialized

Current thread 0x00007f7328236100 (most recent call first):

    [85 lines not shown]
DeltaFile
+1-6src/middlewared/middlewared/utils/__init__.py
+1-61 files

FreeBSD/ports 2d302d8www/ungoogled-chromium/files patch-chrome_browser_about__flags.cc patch-third__party_libsync_src_sync.c

www/ungoogled-chromium: update to 148.0.7778.96

Security:       https://vuxml.freebsd.org/freebsd/da4d7162-4aa3-11f1-b189-a8a1599412c6.html
DeltaFile
+84-110www/ungoogled-chromium/files/patch-chrome_browser_about__flags.cc
+181-0www/ungoogled-chromium/files/patch-third__party_libsync_src_sync.c
+98-0www/ungoogled-chromium/files/patch-third__party_libvpx_source_config_linux_arm64_vpx__dsp__rtcd.h
+31-40www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_runtime__enabled__features.json5
+38-20www/ungoogled-chromium/files/patch-chrome_browser_profiles_chrome__browser__main__extra__parts__profiles.cc
+29-29www/ungoogled-chromium/files/patch-chrome_browser_policy_configuration__policy__handler__list__factory.cc
+461-199405 files not shown
+2,859-1,820411 files

NetBSD/pkgsrc fMeFmf3doc CHANGES-2026

   doc: Updated games/luanti to 5.16.1
VersionDeltaFile
1.2978+2-1doc/CHANGES-2026
+2-11 files

LLVM/project fd84e79mlir/docs Tokens.md, mlir/lib/Conversion/AsyncToLLVM AsyncToLLVM.cpp

[mlir][IR] Add builtin `TokenTypeInterface`

type instead of type interface

add bytecode
DeltaFile
+104-0mlir/docs/Tokens.md
+36-24mlir/lib/Dialect/LLVMIR/IR/LLVMTypeSyntax.cpp
+60-0mlir/test/IR/token-type.mlir
+18-17mlir/lib/Conversion/AsyncToLLVM/AsyncToLLVM.cpp
+30-0mlir/test/lib/Dialect/Test/TestOps.td
+12-12mlir/test/Dialect/SparseTensor/invalid.mlir
+260-5324 files not shown
+365-9530 files

NetBSD/pkgsrc TDd2jdMgames/luanti PLIST distinfo

   luanti: update to 5.16.1

   5.16.1:
   Fixed bug introduced in 5.16.0 with water rendering

   5.16.0:

   Deprecations and compatibility notes
   - Writing to mod directories is now disallowed
   Client / Audiovisuals
   - Texture pack override.txt now supports overriding overlay tiles
   - Restore inventory cube (item mesh) shading
   -  Fixed incorrect animation state when placing nodes quickly
   - Fixed a graphical issue where the fog incorrectly changed the
     color of semi-transparent particles
   - Support more mouse buttons (beyond X2)
   - Add keybinds for camera movement
   - Formspec: Bug fixes related to inventory list interactions
   - Formspec: Focus behavior improvements

    [44 lines not shown]
VersionDeltaFile
1.7+8-1games/luanti/PLIST
1.8+4-4games/luanti/distinfo
1.18+2-2games/luanti/Makefile
+14-73 files

LLVM/project 6443657clang/docs ReleaseNotes.rst, clang/lib/AST ExprCXX.cpp

[clang][AST] Teach `CXXTypeidExpr::isMostDerived` to use `isEffectivelyFinal` (#196544)

Resolves #196476.

When a class is marked final, typeid on references to that type can be
resolved at compile time since the most-derived type is statically
known.
DeltaFile
+57-0clang/test/CodeGenCXX/typeid-most-derived.cpp
+5-0clang/lib/AST/ExprCXX.cpp
+3-0clang/docs/ReleaseNotes.rst
+65-03 files

DragonFlyBSD/src 77a1380sys/dev/apple/fw apple_fw.c

kernel/apple_fw: Declare local vars at function start.
DeltaFile
+1-1sys/dev/apple/fw/apple_fw.c
+1-11 files

DragonFlyBSD/src f06a5a2sys/dev/apple/fw apple_fw.h, sys/dev/apple/smc debug.h smc.h

kernel/apple_{fw,smc}: Fix include guard comments.
DeltaFile
+1-1sys/dev/apple/fw/apple_fw.h
+1-1sys/dev/apple/smc/debug.h
+1-1sys/dev/apple/smc/smc.h
+3-33 files

DragonFlyBSD/src 3e5efcbsys/platform/pc64 Makefile.inc

kernel: Really hook apple_fw and apple_smc into the build.
DeltaFile
+1-1sys/platform/pc64/Makefile.inc
+1-11 files

DragonFlyBSD/src 059c494sys/dev/apple/smc smc_sysctl.c

kernel/apple_smc: Fix the build with APPLE_SMC_DEBUG.
DeltaFile
+1-1sys/dev/apple/smc/smc_sysctl.c
+1-11 files

NetBSD/src rX6hZkZsys/ddb db_lwp.c

   If we're not running in the kernel and USPACE is not defined, then fetch
   it from the running kernel.
VersionDeltaFile
1.8+36-2sys/ddb/db_lwp.c
+36-21 files

LLVM/project dd907edllvm/test/CodeGen/X86 sjlj-do-not-merge-stack-slots.ll

[StackColoring] Introduce test for PR196542 (NFC) (#196951)
DeltaFile
+49-0llvm/test/CodeGen/X86/sjlj-do-not-merge-stack-slots.ll
+49-01 files

OpenBSD/ports 63KGwBwdevel/kf6/kholidays Makefile

   Add missing build depend on devel/bison

   Spotted by sthen@, thanks
VersionDeltaFile
1.5+2-1devel/kf6/kholidays/Makefile
+2-11 files

LLVM/project fd30f5bclang/include/clang/CIR/Dialect/IR CIRAttrs.td, clang/lib/CIR/CodeGen CIRGenDeclCXX.cpp

[CIR] Implement Namespace/global TLS CIR CodeGen (#196332)

Unlike local TLS, global TLS functions need to be initialized upon their
first use in a thread.

First, all attempts to 'get' said TLS global are replaced with calls to
a 'wrapper' function, which calls an 'init' alias function, then returns
the global. While classic codegen manages to omit this in simple cases
sometimes, this CIR implementation doesn't attempt to do such constant
folding/inlining. The call to the 'init' is omitted if there is no
ctor/dtor setup required, so sometimes the wrapper is just a 'no-op'
(intentionally!).

There are also two types of 'global' TLS functions: unordered, and
ordered. Unordered are typically variable templates, and their 'init'
function initializes JUST them. The rest are ordered, which requires all
ordered initializations to happen as soon as any happen.

The Wrapper:

    [25 lines not shown]
DeltaFile
+65-0clang/test/CIR/CodeGen/global-tls-simple-init.cpp
+59-0clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
+50-0clang/test/CIR/CodeGen/global-tls-dyn-init.cpp
+39-0clang/lib/CIR/CodeGen/CIRGenDeclCXX.cpp
+34-0clang/test/CIR/CodeGen/global-tls-templates.cpp
+18-0clang/test/CIR/IR/invalid-tls.cir
+265-06 files not shown
+294-1612 files