LLVM/project 457b51b — llvm/lib/IR IRBuilder.cpp, llvm/test/CodeGen/AMDGPU promote-alloca-byte-ptr-cast.ll

Revert "[IRBuilder] Handle byte types in CreateBitPreservingCastChain (#209557)"

This reverts commit 65e2a60f238e1792487a94232f6dfe2e63c4ea9f.

Byte <-> pointer bitcasts are valid IR and preserve provenance, which the
inttoptr/ptrtoint round trip drops. The MachineVerifier failure it worked
around is fixed in the IRTranslator by the previous commit.
DeltaFile
+0-49llvm/test/CodeGen/AMDGPU/promote-alloca-byte-ptr-cast.ll
+0-18llvm/unittests/IR/IRBuilderTest.cpp
+2-6llvm/lib/IR/IRBuilder.cpp
+2-733 files

LLVM/project 378ceb3 — clang/lib/CodeGen/TargetBuiltins RISCV.cpp, clang/lib/Headers riscv_packed_simd.h

[RISCV][P-Ext] Add builtins and IR intrinsics for packed shifts. (#225968)

The packed shift instructions use 5-bit shift amounts regardless of
element width. The C intrinsic should match this which means we can't
use C shift operators to implement them.

Rename RISCVISD::PSHL to RISCVISD::PSLL.
DeltaFile
+120-272clang/test/CodeGen/RISCV/rvp-intrinsics.c
+144-18llvm/test/CodeGen/RISCV/rvp-simd-64.ll
+58-4llvm/test/CodeGen/RISCV/rvp-simd-32.ll
+22-35clang/lib/Headers/riscv_packed_simd.h
+37-0clang/lib/CodeGen/TargetBuiltins/RISCV.cpp
+15-15llvm/lib/Target/RISCV/RISCVInstrInfoP.td
+396-3443 files not shown
+435-3479 files

LLVM/project f1129f3 — llvm/test/Transforms/PGOProfile indirect_call_annotation.ll, llvm/test/Transforms/PGOProfile/Inputs indirect_call.proftext

[NFC][PGOProfile] Inline icall annotation proftext test (#226324)
DeltaFile
+47-2llvm/test/Transforms/PGOProfile/indirect_call_annotation.ll
+0-43llvm/test/Transforms/PGOProfile/Inputs/indirect_call.proftext
+47-452 files

LLVM/project 44f262e — clang/test/Analysis/Scalable/ssaf-src-edit-merge two-input-conflict.test two-input-conflict-sarif.test

[test][ssaf][AIX] Fix sed -i portability for AIX (#226293)

AIX's sed does not support the `-i` flag, causing the tests added in
https://github.com/llvm/llvm-project/pull/216183 to fail on AIX. This
patch updates the tests to use a POSIX-compliant redirect instead.
DeltaFile
+4-6clang/test/Analysis/Scalable/ssaf-src-edit-merge/two-conflicts-different-offsets-sarif.test
+3-5clang/test/Analysis/Scalable/ssaf-src-edit-merge/three-input-conflict-sarif.test
+3-5clang/test/Analysis/Scalable/ssaf-src-edit-merge/three-input-all-conflict.test
+3-5clang/test/Analysis/Scalable/ssaf-src-edit-merge/conflict-preserves-unrelated-zero-length-insert.test
+2-3clang/test/Analysis/Scalable/ssaf-src-edit-merge/two-input-conflict.test
+2-3clang/test/Analysis/Scalable/ssaf-src-edit-merge/two-input-conflict-sarif.test
+17-2714 files not shown
+39-6320 files

LLVM/project 9068aed — llvm/test/Transforms/LoopVectorize early-exit-live-out-extract-lane.ll

[LV] Fix early exit tests after #223643. NFC (#226521)
DeltaFile
+4-4llvm/test/Transforms/LoopVectorize/early-exit-live-out-extract-lane.ll
+4-41 files

LLVM/project 2e5d81e — llvm/docs/GlobalISel IRTranslator.md, llvm/lib/CodeGen/GlobalISel IRTranslator.cpp

[GlobalISel] Handle vector byte to pointer bitcasts in IRTranslator
DeltaFile
+228-0llvm/test/CodeGen/Generic/GlobalISel/irtranslator-byte-type.ll
+20-10llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
+6-4llvm/docs/GlobalISel/IRTranslator.md
+254-143 files

FreeNAS/freenas 5900244 — src/middlewared/middlewared main.py, src/middlewared/middlewared/plugins/crypto_ renew_certs.py

NAS-144052 / 26.0.0 / Only use `create_task` from main loop (by themylogin) (#19867)

`loop.create_task` is not thread-safe

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

Co-authored-by: themylogin <themylogin at gmail.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply at anthropic.com>
DeltaFile
+7-8src/middlewared/middlewared/plugins/failover_/event.py
+6-0src/middlewared/middlewared/main.py
+1-1src/middlewared/middlewared/plugins/crypto_/renew_certs.py
+14-93 files

LLVM/project 73fc71b — clang/unittests/Lex LexerTest.cpp

[clang][test] Fix lifetimes of HS/PP options (#225885)

PR #133467 changed how lifetimes work for `PreprocessorOptions`. In
LexerTest.cpp, the lifetimes were set up incorrectly, leading to
potential use-after-free crashes. This PR fixes that by expanding the
lifetime of both `PreprocessorOptions` and `HeaderSearchOptions`.
DeltaFile
+64-66clang/unittests/Lex/LexerTest.cpp
+64-661 files

NetBSD/src KtD5lmN — tests/lib/libc/sys t_mkfifo.c

   t_mkfifo: New test for consistent read EOF rule.

   PR kern/60789: read on fifo without writer may block
VersionDeltaFile
1.8+171-2tests/lib/libc/sys/t_mkfifo.c
+171-21 files

LLVM/project 02d1e5d — lld/test/ELF/lto riscv-target-abi.ll

fix datalayout
DeltaFile
+4-4lld/test/ELF/lto/riscv-target-abi.ll
+4-41 files

FreeBSD/src 5aac18d — usr.sbin/virtual_oss/virtual_oss main.c

virtual_oss(8): Fix cuse.ko check

There is no need at all to load the cuse module to just access the tool help.

kldload always checks for permissions first returning -EPERM if the user can't
load modules and -EEXIST if the user can, but the module is already loaded.

Approved by:            christos@
Differential Revision:  https://reviews.freebsd.org/D59844
MFC after:              2 weeks
DeltaFile
+5-2usr.sbin/virtual_oss/virtual_oss/main.c
+5-21 files

LLVM/project 14f4512 — clang/lib/Basic/Targets WebAssembly.cpp, clang/test/CodeGen thread-model.c

[clang][WeAssembly] Do not override thread model when building without atomics (#225981)

This change does 2 things. The first is to revert #223917, setting the
Triple's
default thread model back to posix. The second is to stop overriding it
when
atomics are not enabled.

This means that compiles with no thread- or atomics-related flags will
get the default posix thread model, independently of whether they get
_REENTRANT defined or the atomics feature is enabled. Practically this
means that the thread model will always be posix unless explicitly
overridden at the driver command line.

The leftover setting of Opts.POSIXThreads became a no-op when used
with the clang driver because the logic would only activate when
-pthread
was not already used (since the driver has separate logic linking
several

    [8 lines not shown]
DeltaFile
+0-44llvm/test/CodeGen/WebAssembly/coalesce-features-thread-model.ll
+16-26clang/test/CodeGenCXX/static-init-wasm.cpp
+0-13clang/lib/Basic/Targets/WebAssembly.cpp
+1-9llvm/lib/Target/WebAssembly/WebAssemblyCoalesceFeaturesAndStripAtomics.cpp
+3-7clang/test/CodeGen/thread-model.c
+1-5llvm/lib/TargetParser/Triple.cpp
+21-1042 files not shown
+22-1088 files

FreeBSD/src 75c0a83 — lib/libpfctl libpfctl.h libpfctl.c, sbin/pfctl pfctl_parser.h pfctl_osfp.c

pf: convert DIOCOSFPFLUSH DIOCOSFPGET DIOCOSFPADD to netlink

Sponsored by:   Rubicon Communications, LLC ("Netgate")
DeltaFile
+149-0sys/netpfil/pf/pf_nl.c
+134-0lib/libpfctl/libpfctl.c
+21-0sys/netpfil/pf/pf_nl.h
+5-6sbin/pfctl/pfctl_osfp.c
+4-0lib/libpfctl/libpfctl.h
+1-1sbin/pfctl/pfctl_parser.h
+314-71 files not shown
+315-87 files

FreeBSD/src 3c0846b — tests/sys/netpfil/pf Makefile osfp.sh

pf tests: basic osfp test

Load, list and clear the fingerprints.

Sponsored by:   Rubicon Communications, LLC ("Netgate")
DeltaFile
+63-0tests/sys/netpfil/pf/osfp.sh
+1-0tests/sys/netpfil/pf/Makefile
+64-02 files

FreeBSD/src 219ce30 — lib/libpfctl libpfctl.h libpfctl.c, sbin/pfctl pfctl_table.c pfctl_radix.c

pf: convert DIOCRINADEFINE to netlink

Sponsored by:   Rubicon Communications, LLC ("Netgate")
DeltaFile
+94-0lib/libpfctl/libpfctl.c
+63-0sys/netpfil/pf/pf_nl.c
+0-29sbin/pfctl/pfctl_radix.c
+11-0sys/netpfil/pf/pf_nl.h
+2-2sbin/pfctl/pfctl_table.c
+3-0lib/libpfctl/libpfctl.h
+173-311 files not shown
+174-327 files

LLVM/project d4c354c — mlir/include/mlir-c Rewrite.h, mlir/lib/CAPI/Transforms Rewrite.cpp

[mlir-c] Add mlirDialectMaterializeConstant (#206553)

Exposes `Dialect::materializeConstant` through the MLIR C API, letting
callers ask a dialect to build a constant operation for a given
attribute and type.

Assisted by: Claude
DeltaFile
+54-0mlir/test/CAPI/rewrite.c
+13-0mlir/include/mlir-c/Rewrite.h
+12-0mlir/lib/CAPI/Transforms/Rewrite.cpp
+2-1mlir/test/CAPI/CMakeLists.txt
+81-14 files

LLVM/project 0551d60 — libc/src/__support/math bf16subf128.h bf16subf.h, libc/test/shared shared_math_constexpr_test.cpp

[libc] Make bf16sub functions constexpr (#223506)

Makes the bf16sub for all types constexpr along with tests
DeltaFile
+5-0libc/test/shared/shared_math_constexpr_test.cpp
+1-1libc/src/__support/math/bf16subf128.h
+1-1libc/src/__support/math/bf16subf.h
+1-1libc/src/__support/math/bf16sub.h
+8-34 files

LLVM/project 7d1db94 — llvm/lib/Transforms/Scalar SROA.cpp, llvm/test/Transforms/SROA byte-conversion-nonintegral.ll vector-conversion.ll

[SROA] Convert byte values
DeltaFile
+110-21llvm/lib/Transforms/Scalar/SROA.cpp
+9-27llvm/test/Transforms/SROA/byte-conversion.ll
+7-21llvm/test/Transforms/SROA/byte-conversion-big-endian.ll
+12-10llvm/test/Transforms/SROA/vector-conversion.ll
+1-3llvm/test/Transforms/SROA/byte-conversion-nonintegral.ll
+139-825 files

LLVM/project 1bec0c3 — llvm/test/Transforms/GVN byte-conversion-big-endian.ll byte-conversion.ll

[GVN] Pre-commit tests for byte conversions
DeltaFile
+61-0llvm/test/Transforms/GVN/byte-conversion.ll
+37-0llvm/test/Transforms/GVN/byte-conversion-big-endian.ll
+98-02 files

LLVM/project 226e136 — llvm/test/Transforms/SROA byte-conversion-nonintegral.ll vector-conversion.ll

[SROA] Pre-commit tests for byte conversions
DeltaFile
+182-0llvm/test/Transforms/SROA/byte-conversion.ll
+110-0llvm/test/Transforms/SROA/byte-conversion-big-endian.ll
+87-0llvm/test/Transforms/SROA/vector-conversion.ll
+33-0llvm/test/Transforms/SROA/byte-conversion-nonintegral.ll
+412-04 files

LLVM/project c8ab525 — llvm/lib/Transforms/Utils VNCoercion.cpp, llvm/test/Transforms/GVN byte-conversion-big-endian.ll byte-conversion.ll

[GVN] Extract byte subranges with bitextract
DeltaFile
+5-9llvm/test/Transforms/GVN/byte-conversion.ll
+14-0llvm/lib/Transforms/Utils/VNCoercion.cpp
+3-7llvm/test/Transforms/GVN/byte-conversion-big-endian.ll
+22-163 files

LLVM/project ff6d3a4 — llvm/lib/IR IRBuilder.cpp, llvm/test/CodeGen/AMDGPU promote-alloca-byte-ptr-cast.ll

Revert "[IRBuilder] Handle byte types in CreateBitPreservingCastChain (#209557)"

This reverts commit 65e2a60f238e1792487a94232f6dfe2e63c4ea9f.

Byte <-> pointer bitcasts are valid IR and preserve provenance, which the
inttoptr/ptrtoint round trip drops. The MachineVerifier failure it worked
around is fixed in the IRTranslator by the previous commit.
DeltaFile
+0-49llvm/test/CodeGen/AMDGPU/promote-alloca-byte-ptr-cast.ll
+0-18llvm/unittests/IR/IRBuilderTest.cpp
+2-6llvm/lib/IR/IRBuilder.cpp
+2-733 files

LLVM/project 1aaa639 — llvm/docs/GlobalISel IRTranslator.md, llvm/lib/CodeGen/GlobalISel IRTranslator.cpp

[GlobalISel] Translate byte-vector <-> pointer bitcasts through integers

The IRTranslator only lowered scalar byte <-> pointer bitcasts to
G_INTTOPTR/G_PTRTOINT. Vector forms such as `bitcast <2 x b32> to ptr`
were lowered to G_BITCAST, which cannot convert between pointers and
other types and fails the MachineVerifier.

Translate any byte (vector) <-> pointer (vector) bitcast through an
integer with the pointer's shape, inserting a G_BITCAST when the byte
side has a different shape.
DeltaFile
+228-0llvm/test/CodeGen/Generic/GlobalISel/irtranslator-byte-type.ll
+20-10llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
+6-4llvm/docs/GlobalISel/IRTranslator.md
+254-143 files

LLVM/project 5b8e656 — offload/include/Shared SourceInfo.h, openmp/docs ReleaseNotes.md

[Offload][OpenMP] remove SourceInfo::removePath (#226283)

Following discussion on
https://discourse.llvm.org/t/rfc-add-opt-in-option-for-full-source-paths-in-offload-info-output/91901
this commit removes SourceInfo::removePath which changes
LIBOMPTARGET_INFO to provide a non truncated source path:

``` c
#include <stdio.h>

#define N 4

int main(void) {
  int a[N];
  for (int i = 0; i < N; ++i)
    a[i] = 0;
#pragma omp target map(tofrom : a[0 : N])
  {
    a[0] = 1;

    [16 lines not shown]
DeltaFile
+2-14offload/include/Shared/SourceInfo.h
+3-0openmp/docs/ReleaseNotes.md
+5-142 files

LLVM/project 8ccb182 — llvm/test/CodeGen/AMDGPU bitinsert-bitextract-fp.ll bitinsert-bitextract.ll, llvm/test/CodeGen/ARM bitinsert-bitextract-fp.ll bitinsert-bitextract.ll

[IR] Implementation and lowering of `bitinsert` and `bitextract` (#200605)

This PR introduces `bitinsert` and `bitextract` instructions for LLVM
IR. These allow bit manipulation for byte types. Both were lowered to
GlobalIsel and SDag.

Tests were added for AArch64, AMDGPU, ARM, PowerPC, RISCV, x86 and LLVM
IR.

The LangRef was updated to document the new instructions.

The lowering of `bitextract` and `bitinsert` instructions are
implemented using integer operations.
In order to obtain the results for `bitextract`, a shift right
instruction with a specific offset is used (that can be a variable or an
immediate).
Relative to floating-point, in `bitinsert`, we reinterpret the bits of
the floating-point value as if it is an integer.


    [4 lines not shown]
DeltaFile
+4,294-0llvm/test/CodeGen/RISCV/bitinsert-bitextract.ll
+3,321-0llvm/test/CodeGen/ARM/bitinsert-bitextract.ll
+1,989-0llvm/test/CodeGen/RISCV/bitinsert-bitextract-fp.ll
+1,976-0llvm/test/CodeGen/AMDGPU/bitinsert-bitextract.ll
+1,552-0llvm/test/CodeGen/ARM/bitinsert-bitextract-fp.ll
+891-0llvm/test/CodeGen/AMDGPU/bitinsert-bitextract-fp.ll
+14,023-052 files not shown
+19,525-10158 files

FreeBSD/src 754d2c6 — sys/conf NOTES

NOTES: Multiple schedulers can be compiled in at once

Mention that ULE is the default scheduler when multiple ones are
compiled in and how the tunable 'kern.sched.name' can be used to select
another one.

While here, regroup SCHED_ULE and SCHED_4BSD, as they control if the
respective scheduler instances are compiled in, putting SCHED_STATS
aside.

Reviewed by:    mchoo
Fixes:          75a66a92c92f ("- Add an option to compile in SCHED_STATS. ...")
Fixes:          1322760fd127 ("sys: enable both SCHED_ULE and SCHED_4BSD for some configs")
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D60014
DeltaFile
+10-7sys/conf/NOTES
+10-71 files

FreeBSD/ports 0ecad10 — Mk/Scripts do-depends.sh

Mk/Scripts: respect STRICT_DEPENDS in do-depends.sh

PR:             298848
Reported by:    Benjamin Takacs <nimaje+fbz at bureaucracy.de>
DeltaFile
+6-0Mk/Scripts/do-depends.sh
+6-01 files

FreeBSD/ports 876d5f2 — audio/piper Makefile, audio/piper/files patch-libpiper_src_main_CMakeLists.txt patch-libpiper_src_main_main.cpp

audio/piper: Update to 1.8.0

- Track the rewritten upstream OHF-Voice/piper1-gpl (license GPLv3+)
- Add a SONAME to libpiper
DeltaFile
+198-0audio/piper/files/patch-libpiper_CMakeLists.txt
+0-139audio/piper/files/patch-CMakeLists.txt
+0-61audio/piper/files/patch-src_cpp_piper.cpp
+21-15audio/piper/Makefile
+33-0audio/piper/files/patch-libpiper_src_main_main.cpp
+22-0audio/piper/files/patch-libpiper_src_main_CMakeLists.txt
+274-2152 files not shown
+280-2208 files

LLVM/project edd2419 — llvm/lib/Transforms/Vectorize LoopVectorizationPlanner.h

[LV] Remove unused VectorizationFactor comparison operators (NFC) (#226511)

VectorizationFactor::operator== and operator!= have no users. Remove it.
DeltaFile
+0-8llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
+0-81 files

LLVM/project 621e088 — lldb/packages/Python/lldbsuite/test/tools/lldb_dap session_helpers.py, lldb/tools/lldb-dap/Handler ThreadsRequestHandler.cpp

[lldb-dap] Always return the up-to-date thread if possible. (#226140)

Only send the initial thread list if the process is not stopped and only
the first time.

Remove the workaround in tests. This should not affect tests since we
mostly get the `threadId` from a stopped event.
DeltaFile
+18-16lldb/tools/lldb-dap/Handler/ThreadsRequestHandler.cpp
+0-7lldb/packages/Python/lldbsuite/test/tools/lldb_dap/session_helpers.py
+18-232 files