LLVM/project 00d5768llvm/lib/Transforms/Vectorize LoopVectorize.cpp, llvm/test/CodeGen/AArch64 ldst-opt.ll

rebase

Created using spr 1.3.7
DeltaFile
+326-4,626llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-setcc.ll
+192-2,277llvm/test/CodeGen/RISCV/rvv/fixed-vectors-setcc-fp-vp.ll
+950-380llvm/test/CodeGen/AArch64/ldst-opt.ll
+209-906llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+551-551llvm/test/CodeGen/AMDGPU/sched_mfma_rewrite_copies.mir
+977-0llvm/test/CodeGen/AMDGPU/packed-dependencies.mir
+3,205-8,740629 files not shown
+17,525-16,853635 files

LLVM/project f63bd03clang/lib/CIR/CodeGen CIRGenExpr.cpp, clang/test/CIR/CodeGen cast-lvalue-conv.cpp

[CIR] Handle CK_UserDefinedConversion and related casts in emitCastLValue (#193611)

`emitCastLValue` was hitting an NYI error for
`CK_UserDefinedConversion`, `CK_ConstructorConversion`,
`CK_CPointerToObjCPointerCast`, `CK_BlockPointerToObjCPointerCast`, and
`CK_LValueToRValue`. Classic codegen handles all of these as a
pass-through to the sub-expression (`CGExpr.cpp:6197`), and CIR should
do the same.

Made with [Cursor](https://cursor.com)
DeltaFile
+57-0clang/test/CIR/CodeGen/cast-lvalue-conv.cpp
+7-5clang/lib/CIR/CodeGen/CIRGenExpr.cpp
+64-52 files

LLVM/project 44a1d74lld/test/wasm tls-base-non-shared-memory.s pic-static.s, lld/wasm Writer.cpp

[lld][WebAssembly] Always initialize fixed `__tls_base` in single threaded mode (#193563)

Without this fix `__tls_base` can remain set to zero which leads
`__builtin_thread_pointer` to return NULL, which is should not.

See https://github.com/emscripten-core/emscripten/pull/26747
DeltaFile
+37-0lld/test/wasm/tls-base-non-shared-memory.s
+11-4lld/wasm/Writer.cpp
+1-1lld/test/wasm/pic-static.s
+49-53 files

LLVM/project 0bdaf63mlir/lib/IR ODSSupport.cpp, mlir/test/IR invalid-properties.mlir

[mlir] Enhance error messages for attribute type mismatch in properties (#193758)
DeltaFile
+8-9mlir/lib/IR/ODSSupport.cpp
+5-5mlir/test/IR/invalid-properties.mlir
+6-2mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
+3-1mlir/tools/mlir-tblgen/OpFormatGen.cpp
+22-174 files

LLVM/project 86230d5clang/lib/CIR/CodeGen CIRGenExprComplex.cpp CIRGenDecl.cpp, clang/test/CIR/CodeGen vla.c

[CIR] Implement VLA cast for ComplexType (#193583)

Implement VLA cast support for ComplexType

Issue #192331
DeltaFile
+60-0clang/test/CIR/CodeGen/vla.c
+2-10clang/lib/CIR/CodeGen/CIRGenExprComplex.cpp
+1-1clang/lib/CIR/CodeGen/CIRGenDecl.cpp
+63-113 files

LLVM/project 1639ac0llvm/docs AMDGPUUsage.rst, llvm/lib/Target/AMDGPU AMDGPUAsmPrinter.cpp

[AMDGPU] Add `.amdgpu.info` section for per-function metadata

AMDGPU object linking requires the linker to propagate resource usage
(registers, stack, LDS) across translation units. To support this, the compiler
must emit per-function metadata and call graph edges in the relocatable object
so the linker can compute whole-program resource requirements.

This PR introduces a `.amdgpu.info` ELF section using a tagged, length-prefixed
binary format: each entry is encoded as:

```
[kind: u8] [len: u8] [payload: <len> bytes]
```

A function scope is opened by an `INFO_FUNC` entry (containing a symbol
reference), followed by per-function attributes (register counts, flags, private
segment size) and relational edges (direct calls, LDS uses, indirect call
signatures). String data such as function type signatures is stored in a
companion `.amdgpu.strtab` section.

    [4 lines not shown]
DeltaFile
+221-0llvm/test/CodeGen/AMDGPU/lds-link-time-codegen-typeid.ll
+185-0llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
+155-2llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
+126-0llvm/test/MC/AMDGPU/amdgpu-info-roundtrip.s
+113-0llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+106-0llvm/docs/AMDGPUUsage.rst
+906-29 files not shown
+1,215-1415 files

LLVM/project 4b16ba1flang/lib/Lower/OpenMP DataSharingProcessor.cpp OpenMP.cpp, flang/test/Lower/OpenMP metadirective-target-device.f90 metadirective-device-isa.f90

Fix metadirective lowering for spliced DO loop symbols

spliceAssociatedDoEval moves the associated DO eval into the
metadirective's eval tree, but the parse tree is unchanged. Code that
walks the parse tree (DSP symbol collection, genTargetOp implicit
capture) misses loop body symbols entirely.

Teach DataSharingProcessor and genTargetOp to also walk nested evals
when processing a metadirective. Fix test CHECK patterns for delayed
privatization on wsloop and function signatures with arguments.
DeltaFile
+62-1flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
+24-1flang/lib/Lower/OpenMP/OpenMP.cpp
+14-0flang/lib/Lower/OpenMP/Utils.cpp
+4-4flang/test/Lower/OpenMP/metadirective-target-device.f90
+3-3flang/test/Lower/OpenMP/metadirective-device-isa.f90
+2-0flang/lib/Lower/OpenMP/Utils.h
+109-96 files

LLVM/project 77b45bdllvm/docs AMDGPUUsage.rst, llvm/lib/Target/AMDGPU AMDGPUAsmPrinter.cpp

[AMDGPU] Add `.amdgpu.info` section for per-function metadata

AMDGPU object linking requires the linker to propagate resource usage
(registers, stack, LDS) across translation units. To support this, the compiler
must emit per-function metadata and call graph edges in the relocatable object
so the linker can compute whole-program resource requirements.

This PR introduces a `.amdgpu.info` ELF section using a tagged, length-prefixed
binary format: each entry is encoded as:

```
[kind: u8] [len: u8] [payload: <len> bytes]
```

A function scope is opened by an `INFO_FUNC` entry (containing a symbol
reference), followed by per-function attributes (register counts, flags, private
segment size) and relational edges (direct calls, LDS uses, indirect call
signatures). String data such as function type signatures is stored in a
companion `.amdgpu.strtab` section.

    [4 lines not shown]
DeltaFile
+224-0llvm/test/CodeGen/AMDGPU/lds-link-time-codegen-typeid.ll
+185-0llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
+155-2llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
+126-0llvm/test/MC/AMDGPU/amdgpu-info-roundtrip.s
+113-0llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+106-0llvm/docs/AMDGPUUsage.rst
+909-29 files not shown
+1,224-1415 files

LLVM/project 1b6c29allvm/lib/Target/X86 X86ISelLowering.cpp, llvm/test/CodeGen/X86 shuffle-vs-trunc-128.ll

[X86] resolveTargetShuffleInputsAndMask - match repeated vector sources through bitcasts (#193810)
DeltaFile
+6-6llvm/test/CodeGen/X86/shuffle-vs-trunc-128.ll
+1-1llvm/lib/Target/X86/X86ISelLowering.cpp
+7-72 files

LLVM/project d255359llvm/lib/Target/AMDGPU AMDGPULowerModuleLDSPass.cpp, llvm/test/CodeGen/AMDGPU lower-module-lds-link-time-internal-multi-user.ll lower-module-lds-link-time-classify.ll

[NFC][AMDGPU] Remove `amdgpu-link-time-lds` module flag (#193806)

We could just use `AMDGPUTargetMachine::EnableObjectLinking` to control.
Don't really need this, which is from a previous design where we wanted
to let different components to decide whether we want to use object
linking independently, but that would not really work.
DeltaFile
+0-3llvm/test/CodeGen/AMDGPU/lower-module-lds-link-time-internal-multi-user.ll
+0-3llvm/test/CodeGen/AMDGPU/lower-module-lds-link-time-classify.ll
+0-3llvm/test/CodeGen/AMDGPU/lower-module-lds-link-time-global-scope.ll
+0-2llvm/test/CodeGen/AMDGPU/lower-module-lds-link-time-internal-func.ll
+0-2llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
+0-135 files

Illumos/gate e575d55usr/src/cmd/smbsrv/smbd smbd_doorsvc.c

18027 smbd: dereferencing freed memory
Reviewed by: Gordon Ross <gordon.w.ross at gmail.com>
Approved by: Dan McDonald <danmcd at edgecast.io>
DeltaFile
+3-1usr/src/cmd/smbsrv/smbd/smbd_doorsvc.c
+3-11 files

LLVM/project 3d18fc7flang/lib/Lower/OpenMP DataSharingProcessor.cpp OpenMP.cpp, flang/test/Lower/OpenMP metadirective-target-device.f90 metadirective-device-isa.f90

Fix metadirective lowering for spliced DO loop symbols

spliceAssociatedDoEval moves the associated DO eval into the
metadirective's eval tree, but the parse tree is unchanged. Code that
walks the parse tree (DSP symbol collection, genTargetOp implicit
capture) misses loop body symbols entirely.

Teach DataSharingProcessor and genTargetOp to also walk nested evals
when processing a metadirective. Fix test CHECK patterns for delayed
privatization on wsloop and function signatures with arguments.
DeltaFile
+63-1flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
+24-1flang/lib/Lower/OpenMP/OpenMP.cpp
+14-0flang/lib/Lower/OpenMP/Utils.cpp
+4-4flang/test/Lower/OpenMP/metadirective-target-device.f90
+3-3flang/test/Lower/OpenMP/metadirective-device-isa.f90
+2-0flang/lib/Lower/OpenMP/Utils.h
+110-96 files

LLVM/project 8b26555flang/lib/Lower/OpenMP Utils.cpp OpenMP.cpp, flang/test/Lower/OpenMP metadirective-construct.f90 metadirective-device-isa.f90

[flang][OpenMP] Support lowering of metadirective (part 1)

This patch implements OpenMP 5.0 metadirective (static selection among
when clauses), nothing from OpenMP 5.1, and otherwise from OpenMP 5.2.

When all context selectors can be evaluated statically (vendor,
device kind, ISA, construct traits, constant user conditions),
the best-matching variant is selected during flang lowering by taking
advantage of llvm context selector infrastructure.

Dynamic (run-time) user conditions will be handled by a follow-up patch.

This patch is part of the feature work for #188820.

Assisted with Copilot and GPT 5.4.
DeltaFile
+459-0flang/test/Lower/OpenMP/metadirective-construct.f90
+235-0flang/test/Lower/OpenMP/metadirective-device-isa.f90
+224-0flang/test/Lower/OpenMP/metadirective-implementation.f90
+207-0flang/lib/Lower/OpenMP/Utils.cpp
+204-1flang/lib/Lower/OpenMP/OpenMP.cpp
+165-0flang/test/Lower/OpenMP/metadirective-loop.f90
+1,494-18 files not shown
+1,749-1914 files

LLVM/project df1c7eblldb/include/lldb/Symbol Function.h, lldb/source/Symbol Function.cpp

[lldb] Speculative fix for crash in Function::GetCallEdges() (#193636)

Replace the unprotected union+bool lazy resolution in DirectCallEdge
with `std::call_once`/`std::once_flag`.

Multiple threads can call `GetCallee` on the same edge concurrently and
the old code had no synchronization on the union discriminator or its
contents. This could lead to a corrupted pointer that would explain the
crash we're observing sporadically.

rdar://175006028
DeltaFile
+32-35lldb/source/Symbol/Function.cpp
+4-12lldb/include/lldb/Symbol/Function.h
+36-472 files

LLVM/project 3e43205clang/lib/CIR/CodeGen CIRGenCall.cpp CIRGenModule.h, clang/test/CIR/CodeGen restrict-noalias.c

[CIR] Add restrict→noalias on non-builtin pointer params (#191483)

Map `restrict`-qualified pointer parameters to `noalias`, skipping
builtins (e.g. `printf`) where OGCG doesn't apply it. OGCG only adds
`noalias` from `restrict` through its calling-convention lowering path,
which builtins bypass, so the `!fd->getBuiltinID()` guard keeps CIR in
line.

`constructFunctionArgumentAttributes` now takes `targetDecl` so it can
look up `ParmVarDecl` qualifiers.

Updated `asm-label-inline-builtins.c` checks to reflect the new
`noalias` on the non-builtin `__vfprintf_chkieee128` call. New test:
`restrict-noalias.c` (CIR / LLVM / OGCG).

Made with [Cursor](https://cursor.com)
DeltaFile
+38-0clang/test/CIR/CodeGen/restrict-noalias.c
+27-7clang/lib/CIR/CodeGen/CIRGenCall.cpp
+2-1clang/lib/CIR/CodeGen/CIRGenModule.h
+67-83 files

NetBSD/pkgsrc 5uRX4RZdoc CHANGES-2026

   doc: Added news/eilmeldung version 1.4.3
VersionDeltaFile
1.2549+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc Hpl131Lnews Makefile

   Add bulletty & eilmeldung
VersionDeltaFile
1.56+3-1news/Makefile
+3-11 files

LLVM/project 6d67286lldb/test/API/functionalities/data-formatter/data-formatter-objc TestDataFormatterObjCNSBundle.py

[lldb/test] Fix TestDataFormatterObjCNSBundle.py following 8212cab4128d (NFC) (#193816)

This removes a spurious space introduced by 8212cab4128d.

Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
DeltaFile
+1-1lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSBundle.py
+1-11 files

NetBSD/pkgsrc J1g262nnews/eilmeldung distinfo cargo-depends.mk, news/eilmeldung/patches patch-.._vendor_nix-0.29.0_src_net_if__.rs.orig patch-src_config_mod.rs

   news/eilmeldung: import package

   eilmeldung is a TUI RSS reader based on the awesome news-flash library.

    - fast in every aspect: non-blocking terminal user interface, (neo)vim-inspired
      keybindings, instant start-up and no clutter
    - stands on the shoulder of giants: based on the news-flash library, eilmeldung
      supports many RSS providers, is efficient and reliable
    - powerful and yet easy to use out-of-the-box: sane defaults which work for
      most, and yet configurable to meet anyone's requirements, from keybindings to
      colors, from displayed content to RSS provider
    - read news like a pro: filter and search news with an easy-to-learn powerful
      query language, activate zen mode to focus on the article content and nothing
      else

   eilmeldung is German for breaking news
VersionDeltaFile
1.1+2,502-0news/eilmeldung/distinfo
1.1+834-0news/eilmeldung/cargo-depends.mk
1.1+37-0news/eilmeldung/Makefile
1.1+16-0news/eilmeldung/patches/patch-.._vendor_nix-0.29.0_src_net_if__.rs.orig
1.1+15-0news/eilmeldung/patches/patch-src_config_mod.rs
1.1+14-0news/eilmeldung/DESCR
+3,418-01 files not shown
+3,420-07 files

LLVM/project 8c10815compiler-rt/lib/scudo/standalone secondary.h

[scudo] Adjust PROT_MTE page count for secondary allocator (#192202)

Secondary allocator currently mmaps 4 pages as PROT_MTE in case MTE is
enabled in the allocator for Aarch64.
Since only the headers are tagged, this is unnecessary, two pages are
sufficient in worst case scenario.
DeltaFile
+8-5compiler-rt/lib/scudo/standalone/secondary.h
+8-51 files

NetBSD/pkgsrc sK1GtWqdoc CHANGES-2026

   doc: Added news/bulletty version 0.2.2
VersionDeltaFile
1.2548+2-1doc/CHANGES-2026
+2-11 files

FreeBSD/ports 164e239deskutils/fet Makefile distinfo, deskutils/fet/files patch-CMakeLists.txt

deskutils/fet: Update to 7.8.5

Switch to cmake.
Add xorg to USES.

Changelogs: https://lalescu.ro/liviu/fet/news.html
DeltaFile
+7-4deskutils/fet/Makefile
+11-0deskutils/fet/files/patch-CMakeLists.txt
+3-3deskutils/fet/distinfo
+21-73 files

LLVM/project c26c714llvm/docs AMDGPUUsage.rst

AMDGPU: Use preferred --target=triple flag in documentation (#193817)

This was using the long deprecated single dash target with space
as the example.
DeltaFile
+1-1llvm/docs/AMDGPUUsage.rst
+1-11 files

NetBSD/pkgsrc VnqkBtfnews/bulletty distinfo cargo-depends.mk, news/bulletty/patches patch-.._vendor_mio-1.0.4_src_sys_unix_selector_kqueue.rs patch-.._vendor_nix-0.29.0_src_net_if__.rs.orig

   news/bulletty: add package

   bulletty is a TUI feed reader and aggregator (RSS and Atom).
   Read your subscriptions directly in your terminal. It downloads the entries for
   offline reading so all the data is local and yours: your subscriptions,
   highlights, comments, etc. All in a universal format: Markdown. Back up and
   sync your data directory your own way.
VersionDeltaFile
1.1+1,308-0news/bulletty/distinfo
1.1+436-0news/bulletty/cargo-depends.mk
1.1+32-0news/bulletty/Makefile
1.1+18-0news/bulletty/patches/patch-.._vendor_mio-1.0.4_src_sys_unix_selector_kqueue.rs
1.1+16-0news/bulletty/patches/patch-.._vendor_nix-0.29.0_src_net_if__.rs.orig
1.1+5-0news/bulletty/DESCR
+1,815-01 files not shown
+1,817-07 files

NetBSD/pkgsrc FlABkdWdoc TODO

   doc/TODO: + freerdp-3.25, openblas-0.3.33, raylib-6.0.
VersionDeltaFile
1.27153+4-3doc/TODO
+4-31 files

LLVM/project 80a00e1mlir/include/mlir/Dialect/AMDGPU/IR AMDGPUOps.td, mlir/lib/Conversion/AMDGPUToROCDL AMDGPUToROCDL.cpp

[AMDGPU] Implement amdgpu.dot op (#193371)

Adds `amdgpu` wrapper for rocdl dot ops. 

Assisted by: Claude

---------

Signed-off-by: Eric Feng <Eric.Feng at amd.com>
DeltaFile
+218-9mlir/lib/Conversion/AMDGPUToROCDL/AMDGPUToROCDL.cpp
+99-0mlir/test/Dialect/AMDGPU/invalid.mlir
+74-0mlir/test/Dialect/AMDGPU/ops.mlir
+61-0mlir/test/Conversion/AMDGPUToROCDL/dot-gfx9.mlir
+57-0mlir/include/mlir/Dialect/AMDGPU/IR/AMDGPUOps.td
+52-0mlir/test/Conversion/AMDGPUToROCDL/dot-gfx11.mlir
+561-94 files not shown
+684-1110 files

LLVM/project 9bda9bdclang/include/clang/CIR/Dialect/IR CIROps.td, clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

[CIR] Allow multi-block ctor regions on GlobalOp (#193596)

C++14 variable templates with non-constexpr constructors (e.g., `static
const Foo<N> x{}` where `Foo()` is not constexpr) crash CIR codegen
with:

```
'cir.global' op region #0 ('ctorRegion') failed to verify
constraint: region with at most 1 blocks
```

The problem is that `GlobalOp`'s `ctorRegion` is declared as
`MaxSizedRegion<1>`, but when exceptions are enabled, `emitAggExpr` can
create additional blocks in the ctor region for EH cleanup scaffolding
(unreachable/trap terminators). These extra blocks are dead code —
`LoweringPrepare` already discards them when it moves the ctor region
into `__cxx_global_var_init`.

This patch relaxes the constraint to `AnyRegion` and replaces the

    [3 lines not shown]
DeltaFile
+36-0clang/test/CIR/CodeGen/global-var-template-ctor.cpp
+8-3clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+2-2clang/include/clang/CIR/Dialect/IR/CIROps.td
+46-53 files

LLVM/project 6fe957aclang/test lit.cfg.py

[clang][lit] Don't substitute cir-opt if it's not enabled (#193665)

Suppresses note like:
```
llvm-lit: llvm-project/llvm/utils/lit/lit/llvm/subst.py:130: note: Did not find cir-opt in ...
```
DeltaFile
+3-1clang/test/lit.cfg.py
+3-11 files

LLVM/project 9ceae59flang/test/Lower/OpenMP metadirective-target-device.f90 metadirective-implementation.f90

Make sure all the metadirective tests has newline at end of file
DeltaFile
+1-1flang/test/Lower/OpenMP/metadirective-target-device.f90
+1-1flang/test/Lower/OpenMP/metadirective-implementation.f90
+2-22 files

LLVM/project 2278f13flang/lib/Lower/OpenMP DataSharingProcessor.cpp OpenMP.cpp, flang/test/Lower/OpenMP metadirective-target-device.f90 metadirective-device-isa.f90

Fix metadirective lowering for spliced DO loop symbols

spliceAssociatedDoEval moves the associated DO eval into the
metadirective's eval tree, but the parse tree is unchanged. Code that
walks the parse tree (DSP symbol collection, genTargetOp implicit
capture) misses loop body symbols entirely.

Teach DataSharingProcessor and genTargetOp to also walk nested evals
when processing a metadirective. Fix test CHECK patterns for delayed
privatization on wsloop and function signatures with arguments.
DeltaFile
+79-1flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
+42-1flang/lib/Lower/OpenMP/OpenMP.cpp
+4-4flang/test/Lower/OpenMP/metadirective-target-device.f90
+3-3flang/test/Lower/OpenMP/metadirective-device-isa.f90
+128-94 files