LLVM/project a0b99e3llvm/test/Transforms/LoopVectorize/AArch64 partial-reduce-sub.ll partial-reduce-incomplete-chains.ll

[LV] Add additional partial reduction test coverage for #167851.

Add test cases for which earlier versions of
https://github.com/llvm/llvm-project/pull/167851 was not NFC.

Test chained_sext_adds is moved to a new file.
DeltaFile
+149-0llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-sub.ll
+0-113llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-incomplete-chains.ll
+79-0llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-with-invariant-stores.ll
+228-1133 files

FreeNAS/freenas fe88f5fsrc/middlewared/middlewared/api/v26_04_0 smb.py, src/middlewared/middlewared/utils security_descriptor.py

Fix read of unsupported SMB share ACL access mask

The SMB share ACL database technically supports more varieties of
share ACL settings than we explicitly expose (or Windows does
for that matter). This means there is a small chance that a user
could set an unsupported mask through shell commands. We have no
interest in increasing backend API complexity here and so we'll
present the special string "CUSTOM" to end-user and make them
fix it on share ACL update. Remaining share ACL infrastructure
does not rely on this special decoding / encoding.
DeltaFile
+22-1src/middlewared/middlewared/utils/security_descriptor.py
+3-1src/middlewared/middlewared/api/v26_04_0/smb.py
+25-22 files

NetBSD/pkgsrc-wip 5fffae9aarch64-none-elf-gcc Makefile, common-gnu-toolchain gcc.mk

Set MKPIE_SUPPORTED=no in gcc.mk.

It seems that MKPIE is a host problem for NetBSD rather than a target
problem so disable it universally.
DeltaFile
+0-3powerpc-none-elf-gcc/Makefile
+0-3mipsel-none-elf-gcc/Makefile
+0-2aarch64-none-elf-gcc/Makefile
+1-0common-gnu-toolchain/gcc.mk
+1-84 files

LLVM/project a73c315clang/test/CIR/CodeGen coro-task.cpp

[CIR][NFC] Add OGCG tests for coroutines (#178821)

This PR adds OGCG tests for `coro-task.cpp`. These tests are intended to
be used once the lowering is implemented, allowing us to compare the
generated output.
DeltaFile
+76-0clang/test/CIR/CodeGen/coro-task.cpp
+76-01 files

LLVM/project c7f53eellvm/lib/Transforms/IPO FunctionImport.cpp, llvm/test/ThinLTO/X86 local_name_conflict_var.ll

[ThinLTO] Stop attempting variable import once we see a non-variable (#178944)

This is a compile time improvement. Instead of looking through every
single copy of a value (of which there can be many for large targets
with linkonce_odr copies of the same values) for an importable variable,
stop immediately after we see a non-variable summary.

In most cases this is NFC because we expect all copies of a value to be
of the same type (e.g. all variables, or all functions). This only makes
a noticeable, slightly conservative, change in the case of same-named
local values in different modules compiled without distinguishing path.
The new test shows the effect of this (and is safe due to PR178761).

This makes a large reduction in thin link time for large targets that
have many copies of linkonce_odr vtables, all referencing functions.
DeltaFile
+12-2llvm/lib/Transforms/IPO/FunctionImport.cpp
+10-0llvm/test/ThinLTO/X86/local_name_conflict_var.ll
+22-22 files

LLVM/project c15853e.github/workflows docs.yml, clang/utils/analyzer entrypoint.py

[OpenMP] Remove LLVM_ENABLE_PROJECTS=openmp build mode (#176950)

Reapply #152189 and #174963 which were reverted because it broke
publish-sphinx-docs and publish-doxygen-docs.

The build mode has been deprecated in #136314 and was supposed to be
removed in the LLVM 21 release (#136314).

OpenMP currently supports 4 build modes:

 * `cmake <llvm-project>/llvm -DLLVM_ENABLE_PROJECTS=openmp`
 * `cmake <llvm-project>/llvm -DLLVM_ENABLE_RUNTIMES=openmp` (bootstrapping build)
 * `cmake <llvm-project>/openmp` (standalone build)
 * `cmake <llvm-project>/runtimes -DLLVM_ENABLE_RUNTIMES=openmp` (runtimes default/standalone build)

Each build mode increased the maintanance overhead since all build modes
must continue working and user confusion when there do not (see #151117,
#174126, #154117, ...). Let's finally remove it.
DeltaFile
+10-13llvm/CMakeLists.txt
+2-17flang/tools/f18/CMakeLists.txt
+0-7llvm/runtimes/CMakeLists.txt
+2-2.github/workflows/docs.yml
+2-2clang/utils/analyzer/entrypoint.py
+2-2flang-rt/README.md
+18-431 files not shown
+19-437 files

LLVM/project 95ac931llvm/lib/Target/WebAssembly WebAssemblyFastISel.cpp, llvm/test/CodeGen/WebAssembly funcref-call.ll

[WebAssembly] Prevent FastISel from trying to select funcref calls (#178742)

Before, Wasm FastISel treated all indirect calls the same, causing
miscompilations at O0 when trying to call a funcref (`call ptr
addrspace(20)`), as it would treat the funcref as a normal `ptr`

This adds a check so it falls back to ISelDAG when encountering calls
outside addrspace 0 (which covers direct calls and indirect calls
through normal function pointers).

Related: #140933
DeltaFile
+6-0llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp
+2-1llvm/test/CodeGen/WebAssembly/funcref-call.ll
+8-12 files

LLVM/project 56440f7llvm/lib/Target/RISCV RISCVProcessors.td

[RISCV] Remove redundant FeatureStdExtZcd from X100. (#178928)

Zcd is compressed double precision which should be covered by the C and
D extensions in RVA23U64Features.
DeltaFile
+0-1llvm/lib/Target/RISCV/RISCVProcessors.td
+0-11 files

LLVM/project 21a74f5lldb/packages/Python/lldbsuite/test/make Makefile.rules, lldb/source/Expression IRInterpreter.cpp

Revert "[lldb] Add FP conversion instructions to IR interpreter (#175292)"

This reverts commit c2082a65b7fc8e7587ed07170e250820d6bbda1d.
DeltaFile
+0-102lldb/test/API/commands/expression/ir-interpreter/TestIRInterpreter.py
+0-86lldb/source/Expression/IRInterpreter.cpp
+1-1lldb/packages/Python/lldbsuite/test/make/Makefile.rules
+1-1lldb/test/API/lang/cpp/thread_local/TestThreadLocal.py
+2-1904 files

LLVM/project c1c86e6llvm/utils/TableGen/Basic SequenceToOffsetTable.h

[NFC][TableGen] Minor cleanup in SequenceToOffsetTable (#178564)

Use `auto` for iterators, range for loop in `layout` and rename
`Entries` to a more canonical `Size`.
DeltaFile
+9-10llvm/utils/TableGen/Basic/SequenceToOffsetTable.h
+9-101 files

LLVM/project e345976llvm/include/llvm/CodeGen SelectionDAGNodes.h, llvm/lib/CodeGen/SelectionDAG SelectionDAG.cpp

[SelectionDAG] Handle undef at any position in isConstantSequence (#176671)

This patch extends `BuildVectorSDNode::isConstantSequence` to recognize
constant sequences that contain undef elements at any position.

The new implementation finds the first two non-undef constant elements,
computes the stride from their difference, then verifies all other
defined elements match the sequence. This enables SVE's INDEX
instruction to be used in more cases.

This change particularly benefits ZIP1/ZIP2 patterns where one operand
is a constant sequence. When a smaller constant vector like `<0, 1, 2,
3>` is used in a ZIP1 shuffle producing a wider result, it gets expanded
with trailing undefs. Similarly, for ZIP2 patterns, the DAG combiner
transforms the constant to have leading undefs since ZIP2 only uses the
upper half of its operands.

In particular, these patterns arise naturally from `VectorCombine`'s
`compactShuffleOperands` optimization (see #176074) that I am suggesting
as a fix for #137447.
DeltaFile
+254-0llvm/test/CodeGen/AArch64/sve-fixed-length-build-vector.ll
+47-14llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+5-3llvm/include/llvm/CodeGen/SelectionDAGNodes.h
+306-173 files

LLVM/project d8621d6llvm/lib/Transforms/Vectorize LoopVectorize.cpp VPlanTransforms.h, llvm/test/Transforms/LoopVectorize vplan-print-after-all.ll

Reapply "[VPlan] Add hidden `-vplan-print-after-all` option" (#178547)

Re-commit of https://github.com/llvm/llvm-project/pull/175839 after
fixing build without `LLVM_ENABLE_DUMP`.

This consists of the following changes:

* Merge several overloads of `VPlanTransforms::runPass` into a single
function to avoid code duplication.

* Add helper macro `RUN_VPLAN_PASS` to capture the transformation name
  and pass it to the helper above for printing.

* Add new `-vplan-print-after-all` option (somewhat similar to existing
  `-vplan-verify-each`).

* Add two empty passes `printAfterInitialConstruction`/`printFinalVPlan`
so that initial/final VPlans would be supported in `-vplan-print-after-all`

This follows the original future plans in
https://github.com/llvm/llvm-project/pull/123640.
DeltaFile
+35-35llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+67-0llvm/test/Transforms/LoopVectorize/vplan-print-after-all.ll
+29-18llvm/lib/Transforms/Vectorize/VPlanTransforms.h
+15-15llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+7-0llvm/lib/Transforms/Vectorize/VPlan.cpp
+5-0llvm/lib/Transforms/Vectorize/VPlanConstruction.cpp
+158-681 files not shown
+160-707 files

LLVM/project 2b2e02bbolt/include/bolt/Rewrite RewriteInstance.h, bolt/lib/Rewrite RewriteInstance.cpp

[BOLT] Refactor rewriteFunctionsInPlace from rewriteFile (#178787)

Extract the code that rewrites functions in place from rewriteFile()
into a separate rewriteFunctionsInPlace() function.
DeltaFile
+15-15bolt/lib/Rewrite/RewriteInstance.cpp
+4-0bolt/include/bolt/Rewrite/RewriteInstance.h
+19-152 files

OpenBSD/ports p1DPcorsysutils/parallel distinfo Makefile

   Update to parallel 20260122.
VersionDeltaFile
1.20+2-2sysutils/parallel/distinfo
1.27+1-1sysutils/parallel/Makefile
+3-32 files

OpenBSD/ports UYc42asnet/tor distinfo Makefile

   Update to Tor 0.4.8.22.
VersionDeltaFile
1.141+2-2net/tor/distinfo
1.176+1-1net/tor/Makefile
+3-32 files

LLVM/project 9dde0a8clang/lib/CodeGen CGOpenMPRuntime.cpp CGStmt.cpp, clang/test/OpenMP codegen_attr_pgo.c

[SampleProf][OMP] Handle OMP helper function name canonicalization (#178339)

Fix an issue where `FunctionSamples::getCanonicalFnName` incorrectly
canonicalizes omp helper functions to collide with the original function
itself. This causes the sample loader to annotate the wrong functions.
Canonicalization strips everything comes after the first dot (.), unless
the function attribute "sample-profile-suffix-elision-policy" is set to
"selected", in which case it only strips after the known suffixes. The
helper function names have the suffixes like `.omp_outlined`. After
canonicalization, the name becomes the same as the original function.
Add the attribute to helper functions so that the suffixes are not
stripped.

This is the same fix applied previously to coroutine await suspend
wrapper functions (#174881).
DeltaFile
+21-0clang/lib/CodeGen/CGOpenMPRuntime.cpp
+14-0clang/test/OpenMP/codegen_attr_pgo.c
+2-0clang/lib/CodeGen/CGStmt.cpp
+2-0clang/lib/CodeGen/CGStmtOpenMP.cpp
+39-04 files

LLVM/project 54381fdflang/include/flang/Optimizer/Dialect FIROps.h, flang/lib/Optimizer/Dialect FIROps.cpp

[OpenACC] Added support for bounds generation for boxes and OPTIONAL. (#178567)

This change allows `OpenACCMappableModel<Ty>::generateAccBounds()`
to generate the bounds operations for FIR boxes (including OPTIONAL).
DeltaFile
+84-71flang/lib/Optimizer/OpenACC/Support/FIROpenACCTypeInterfaces.cpp
+52-0flang/test/Fir/OpenACC/openacc-mappable.fir
+5-0flang/include/flang/Optimizer/Dialect/FIROps.h
+1-3flang/lib/Optimizer/Dialect/FIROps.cpp
+142-744 files

NetBSD/pkgsrc-wip 368bfc2streamlink PLIST

wip/streamlink: fix PLIST
DeltaFile
+1-1streamlink/PLIST
+1-11 files

NetBSD/pkgsrc-wip 8fa4c17py-trio-websocket PLIST

wip/py-trio-websocket: fix PLIST
DeltaFile
+1-1py-trio-websocket/PLIST
+1-11 files

NetBSD/pkgsrc-wip a7d502cpy-minidb PLIST

wip/py-minidb: fix PLIST
DeltaFile
+1-1py-minidb/PLIST
+1-11 files

FreeNAS/freenas c1b8200src/middlewared/middlewared/plugins/failover_ event.py

NAS-139542 / 25.10.3 / In become_active ensure all user-related config (#18127)

This commit ensures that when a controller becomes active, we regenerate
the user and API key configuration so that there's no chance of stale
information being preset.

Original PR: https://github.com/truenas/middleware/pull/18125

Co-authored-by: bugclerk <40872210+bugclerk at users.noreply.github.com>
DeltaFile
+8-0src/middlewared/middlewared/plugins/failover_/event.py
+8-01 files

FreeNAS/freenas d770934src/middlewared/middlewared/etc_files/syslog-ng syslog-ng.conf.mako

Add special case handling for audit handler diagnostic logger.
DeltaFile
+9-1src/middlewared/middlewared/etc_files/syslog-ng/syslog-ng.conf.mako
+9-11 files

FreeNAS/freenas 7c553e5src/middlewared/middlewared/plugins/failover_ event.py

NAS-139542 / 25.10.2 / In become_active ensure all user-related config (by anodos325) (#18126)

This commit ensures that when a controller becomes active, we regenerate
the user and API key configuration so that there's no chance of stale
information being preset.

Original PR: https://github.com/truenas/middleware/pull/18125

---------

Co-authored-by: Andrew Walker <andrew.walker at truenas.com>
DeltaFile
+8-0src/middlewared/middlewared/plugins/failover_/event.py
+8-01 files

FreeNAS/freenas c192531src/middlewared/middlewared/plugins/failover_ event.py

NAS-139542 / 25.10.2 / In become_active ensure all user-related config (by anodos325) (#18126)

This commit ensures that when a controller becomes active, we regenerate
the user and API key configuration so that there's no chance of stale
information being preset.

Original PR: https://github.com/truenas/middleware/pull/18125

---------

Co-authored-by: Andrew Walker <andrew.walker at truenas.com>
DeltaFile
+8-0src/middlewared/middlewared/plugins/failover_/event.py
+8-01 files

LLVM/project 0f5bc2dllvm/test/CodeGen/Hexagon runtime-stkchk.ll early-if-conversion-bug1.ll, llvm/test/CodeGen/Hexagon/vect vect-bad-bitcast.ll

[test][Hexagon] Remove unsafe-fp-math uses (NFC) (#164788)

Post cleanup for #164534.
DeltaFile
+2-2llvm/test/CodeGen/Hexagon/runtime-stkchk.ll
+2-2llvm/test/CodeGen/Hexagon/early-if-conversion-bug1.ll
+2-2llvm/test/CodeGen/Hexagon/reg-scavengebug-3.ll
+2-2llvm/test/CodeGen/Hexagon/vec-pred-spill1.ll
+2-2llvm/test/CodeGen/Hexagon/vect/vect-bad-bitcast.ll
+2-2llvm/test/CodeGen/Hexagon/dead-store-stack.ll
+12-1253 files not shown
+68-6859 files

FreeNAS/freenas 7b79614src/middlewared/middlewared/plugins/failover_ event.py

NAS-139542 / 26.0.0-BETA.1 / In become_active ensure all user-related config (#18125)

This commit ensures that when a controller becomes active, we regenerate
the user and API key configuration so that there's no chance of stale
information being preset.
DeltaFile
+8-0src/middlewared/middlewared/plugins/failover_/event.py
+8-01 files

FreeBSD/ports 73bb49asysutils/UEFITool distinfo Makefile

sysutils/UEFITool: update to 73

Changelog:      https://github.com/LongSoft/UEFITool/releases/tag/A73
DeltaFile
+3-3sysutils/UEFITool/distinfo
+1-1sysutils/UEFITool/Makefile
+4-42 files

LLVM/project aabae2bclang/lib/Driver/ToolChains HIPSPV.cpp, clang/test/Driver hipspv-toolchain-rdc.hip hipspv-toolchain.hip

Revert "[Clang][retry] Lift HIPSPV onto the new offload driver" (#178946)

Reverts llvm/llvm-project#178664

Failing:

https://ci.swift.org/job/llvm.org/job/clang-stage2-cmake-RgSan/1328/testReport/junit/Clang/Driver/hipspv_pass_plugin_hip/

https://github.com/llvm/llvm-project/actions/runs/21525522898/job/62027988341?pr=178931

https://github.com/llvm/llvm-project/actions/runs/21525522898/job/62027988341?pr=178931
DeltaFile
+42-98clang/test/Driver/hipspv-toolchain-rdc.hip
+16-78clang/test/Driver/hipspv-toolchain.hip
+11-59clang/lib/Driver/ToolChains/HIPSPV.cpp
+0-66clang/test/Driver/hipspv-toolchain-rdc-separate.hip
+8-38clang/test/Driver/hipspv-pass-plugin.hip
+10-28clang/test/Driver/hipspv-link-static-library.hip
+87-3679 files not shown
+112-42515 files

LLVM/project 07a6a23llvm/lib/Transforms/Vectorize VectorCombine.cpp, llvm/test/Transforms/VectorCombine load-shufflevector.ll

[VectorCombine] Fix crash with poison mask elements in shrinkLoadForShuffles (#178920)

## Summary
Fixes assertion failure when `shrinkLoadForShuffles` processes shuffle
masks containing poison elements.

The bug was introduced in #149093 , when adjusting mask indices for load
trimming, poison indices (-1) were modified to invalid values (e.g.,
-2), causing `isSingleSourceMaskImpl` to assert.

The fix preserves poison indices without modification.

Fixes #178917

## Test plan
- Added regression test `@shuffle_with_poison_mask`
DeltaFile
+14-0llvm/test/Transforms/VectorCombine/load-shufflevector.ll
+5-0llvm/lib/Transforms/Vectorize/VectorCombine.cpp
+19-02 files

LLVM/project c2082a6lldb/source/Expression IRInterpreter.cpp, lldb/test/API/commands/expression/ir-interpreter TestIRInterpreter.py

[lldb] Add FP conversion instructions to IR interpreter (#175292)

This allows expressions that use these conversions to be executed when
JIT is not available.
DeltaFile
+102-0lldb/test/API/commands/expression/ir-interpreter/TestIRInterpreter.py
+86-0lldb/source/Expression/IRInterpreter.cpp
+188-02 files