LLVM/project 502b5e0llvm/lib/Transforms/Instrumentation MemProfUse.cpp, llvm/test/Transforms/PGOProfile memprof-inline-call-stacks.ll

[MemProf] Dump inline call stacks as optimization remarks (#188678)

This patch teaches the MemProf matching pass to dump inline call
stacks as analysis remarks like so:

frame: 704e4117e6a62739 main:10:5
frame: 273929e54b9f1234 foo:2:12
inline call stack: 704e4117e6a62739,273929e54b9f1234

The output consists of two types of remarks:

- "frame": Acts as a dictionary mapping a unique MD5-based FrameID
  to source information (function name, line offset, and column).

- "inline call stack": Provides the full call stack for a call site
  as a sequence of FrameIDs.

Both types of remarks are deduplicated to reduce the output size.

This patch is intended to be a debugging aid.
DeltaFile
+65-2llvm/lib/Transforms/Instrumentation/MemProfUse.cpp
+38-0llvm/test/Transforms/PGOProfile/memprof-inline-call-stacks.ll
+103-22 files

LLVM/project 4537293llvm/lib/Target/AMDGPU AMDGPUCodeGenPrepare.cpp, llvm/test/CodeGen/AMDGPU fract-match.ll

AMDGPU: Match fract from compare and select and minimum

Implementing this with any of the minnum variants is overconstraining
for the actual use. Existing patterns use fmin, then have to manually
clamp nan inputs to get nan propagating behavior. It's cleaner to express
this with a nan propagating operation to start with.
DeltaFile
+197-264llvm/test/CodeGen/AMDGPU/fract-match.ll
+124-85llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
+321-3492 files

LLVM/project 0cfea9cllvm/lib/Target/AMDGPU AMDGPUCodeGenPrepare.cpp, llvm/test/CodeGen/AMDGPU fract-match.ll

AMDGPU: Match fract pattern with swapped edge case check

A fract implementation can equivalently be written as
  r = fmin(x - floor(x))
  r = isnan(x) ? x : r;
  r = isinf(x) ? 0.0 : r;

or:
  r = fmin(x - floor(x));
  r = isinf(x) ? 0.0 : r;
  r = isnan(x) ? x : r;

Previously this only matched the previous form. Match
the case where the isinf check is the inner clamp. There are
a few more ways to write this pattern (e.g., move the clamp of
infinity to the input) but I haven't encountered that in the wild.

The existing code seems to be trying too hard to match noncanonical
variants of the pattern. Only handles the result that all 4 permutations
of compare and select produce out of instcombine.
DeltaFile
+328-349llvm/test/CodeGen/AMDGPU/fract-match.ll
+47-17llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
+375-3662 files

LLVM/project 28f24b5llvm/test/CodeGen/AMDGPU fract-match.ll

AMDGPU: Add baseline tests for more fract patterns (#189092)
DeltaFile
+2,235-0llvm/test/CodeGen/AMDGPU/fract-match.ll
+2,235-01 files

FreeBSD/ports bc79fd1x11/mako distinfo Makefile

x11/mako: update to 1.11.0

Changes:        https://github.com/emersion/mako/releases/tag/v1.11.0
Reported by:    GitHub (watch releases)
DeltaFile
+3-3x11/mako/distinfo
+1-1x11/mako/Makefile
+4-42 files

FreeBSD/ports d262828x11-toolkits/wlroots019 Makefile, x11-toolkits/wlroots020 distinfo Makefile

x11-toolkits/wlroots020: update to 0.20.0

Changes:        https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/0.20.0
Reported by:    GitLab (notify releases)
DeltaFile
+3-3x11-toolkits/wlroots020/distinfo
+1-1x11-toolkits/wlroots019/Makefile
+1-1x11-toolkits/wlroots020/Makefile
+5-53 files

FreeBSD/src 6cf1afeusr.sbin/newsyslog newsyslog.c

newsyslog: check for rename failure during log rotation

Differential Revision:  https://reviews.freebsd.org/D56088
DeltaFile
+3-3usr.sbin/newsyslog/newsyslog.c
+3-31 files

LLVM/project 871d675compiler-rt/lib/profile CMakeLists.txt

[compiler-rt] Add PTX feature specifically when CUDA is not available (#189083)

Summary:
People need to be able to build this without a CUDA installation.

Long term we should bump up the minimum version as I'm pretty sure every
architecture before this has been deprecated by NVIDIA.
DeltaFile
+2-0compiler-rt/lib/profile/CMakeLists.txt
+2-01 files

FreeNAS/freenas 9b43668src/middlewared/middlewared/api/v26_0_0 zpool_query.py, src/middlewared/middlewared/api/v27_0_0 zpool_query.py

make zpool.query behave like pool.query
DeltaFile
+150-0tests/api2/test_zpool_query.py
+110-6src/middlewared/middlewared/plugins/zpool/crud.py
+3-3src/middlewared/middlewared/api/v26_0_0/zpool_query.py
+3-3src/middlewared/middlewared/api/v27_0_0/zpool_query.py
+266-124 files

LLVM/project df6d6c9compiler-rt/lib/scudo/standalone/tests combined_test.cpp

[Scudo] Disable ScudoCombinedTests.NewType (#189070)

This is failing in some configurations on AArch64 Linux. Given there are
a lot of follow-up commits that makes this hard to revert, just disable
it for now pending future investigation.
DeltaFile
+1-1compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
+1-11 files

LLVM/project ba44df4clang/tools/clang-format git-clang-format

[clang-format] Add pre-commit CI env var support to git-clang-format (#188816)

When git-clang-format is invoked with no explicit commit arguments and
both PRE_COMMIT_FROM_REF and PRE_COMMIT_TO_REF are set, the script
automatically uses those refs as the diff range and implies --diff. If
the variables are absent, existing behavior is fully preserved.

This allows projects to use `git-clang-format` directly inside CI
pipelines via the [pre-commit](https://pre-commit.com/) framework
without any wrapper scripts or extra configuration.


Closes: #188813

No existing lit test suite for this script. Verified manually that env
vars activate two-commit diff mode, existing behavior is preserved
without them, and explicit CLI args always override them.
DeltaFile
+15-0clang/tools/clang-format/git-clang-format
+15-01 files

LLVM/project 354f742clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage UnsafeBufferUsage.cpp

Update clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsage.cpp

Replace "const char * const" with "llvm::StringLiteral"

Co-authored-by: Balázs Benics <benicsbalazs at gmail.com>
DeltaFile
+1-3clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsage.cpp
+1-31 files

LLVM/project 1611a23offload/test/offloading back2back_distribute.c bug49021.cpp, openmp/device/src Synchronization.cpp

[OFFLOAD] Add spirv implementation for named barrier (#180393)

This change adds implementation for named barriers for SPIRV backend.
Since there is no built in API/intrinsics for named barrier in SPIRV,
the implementation loosely follows implementation for AMD
DeltaFile
+22-9openmp/device/src/Synchronization.cpp
+2-1offload/test/offloading/back2back_distribute.c
+2-1offload/test/offloading/bug49021.cpp
+2-1offload/test/offloading/atomic-compare-signedness.c
+2-1offload/test/offloading/bug51781.c
+2-1offload/test/offloading/bug51982.c
+32-1482 files not shown
+56-9688 files

LLVM/project de65a73llvm/lib/Analysis ValueTracking.cpp

Rename function to show nan doesn't matter
DeltaFile
+4-4llvm/lib/Analysis/ValueTracking.cpp
+4-41 files

LLVM/project f8a2e0eclang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage UnsafeBufferUsage.cpp

Update clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsage.cpp

Remove "#include SSAFForceLinker.h"

Co-authored-by: Balázs Benics <benicsbalazs at gmail.com>
DeltaFile
+0-1clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsage.cpp
+0-11 files

LLVM/project 8420612clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage UnsafeBufferUsage.cpp

Update clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsage.cpp

adjust the position of the file title

Co-authored-by: Balázs Benics <benicsbalazs at gmail.com>
DeltaFile
+1-1clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsage.cpp
+1-11 files

FreeBSD/ports 9ecbfd1irc/halloy distinfo Makefile.crates

irc/halloy: update to 2026.5

PR: 294063
DeltaFile
+331-289irc/halloy/distinfo
+165-144irc/halloy/Makefile.crates
+1-2irc/halloy/Makefile
+497-4353 files

FreeNAS/freenas b855532src/middlewared/middlewared/plugins/iscsi_ scst.py

Suspend iscsi-scstd logins during ALUA failover transition

During failover, iscsi-scstd may accept connections before its
configuration is fully applied, causing permanent rejections. Send
SIGUSR1 before the ALUA transition begins and SIGUSR2 after
clear_suspend completes, ensuring initiators that arrive in the window
receive a retriable error instead.
DeltaFile
+22-0src/middlewared/middlewared/plugins/iscsi_/scst.py
+22-01 files

LLVM/project a609bffllvm/test/CodeGen/AMDGPU fract-match.ll

AMDGPU: Add baseline tests for more fract patterns
DeltaFile
+2,235-0llvm/test/CodeGen/AMDGPU/fract-match.ll
+2,235-01 files

LLVM/project 3c625a1llvm/test/MC/AMDGPU gfx10_unsupported.s gfx7_unsupported.s

[AMDGPU][MC] Improving assembler error message for unsupported instructions (#185778)

The updated error message shows both the instruction name and the GPU
target name.
DeltaFile
+2,210-1,106llvm/test/MC/AMDGPU/gfx10_unsupported.s
+863-863llvm/test/MC/AMDGPU/gfx7_unsupported.s
+1,185-397llvm/test/MC/AMDGPU/gfx950_asm_features.s
+691-691llvm/test/MC/AMDGPU/gfx11_unsupported.s
+613-613llvm/test/MC/AMDGPU/gfx8_unsupported.s
+376-376llvm/test/MC/AMDGPU/gfx1250_asm_wmma_w32.s
+5,938-4,04652 files not shown
+10,005-7,66658 files

FreeBSD/ports af8f4acarchivers/lhasa pkg-descr pkg-plist

archivers/lhasa: Update to 0.5.0

Take maintainership.
Update MASTER_SITES, COMMENT, LICENSE_FILE and pkg-descr.
Use the LIBVERSION and VERSION variable in pkg-plist.

Changelog:
https://raw.githubusercontent.com/fragglet/lhasa/refs/tags/v0.5.0/NEWS.md

PR:             290946
Approved by:    cs at innolan.dk (maintainer timeout), fluffy (mentor)
DeltaFile
+10-8archivers/lhasa/pkg-descr
+6-6archivers/lhasa/pkg-plist
+7-5archivers/lhasa/Makefile
+3-3archivers/lhasa/distinfo
+26-224 files

NetBSD/src DSYHgxktests/bin/sh t_expand.sh

   Add a new land_mine test case

   This new test case is intended to attempt to find buried
   shell expansion code bugs, that don't often affect normal
   scripts, (including most of the normal ATF tests) but can
   cause problems with very odd ones.

   It would have detected the bug introduced last Monday which
   blew up the gettext libtool usage (because of clearly unintentional
   libtool script code), which was fixed on Thursday.

   It also would have detected a similar one, which was never
   detected in the wild, which was installed in 2019, and also
   fixed on Thursday.

   Whether it can detect other similar problems in other cases is
   unknown - probably not, until they are understood...   More sub-tests
   here for more bizarre cases might help, or might not.


    [6 lines not shown]
VersionDeltaFile
1.31+128-2tests/bin/sh/t_expand.sh
+128-21 files

FreeNAS/freenas 774448esrc/middlewared/middlewared/etc_files scst.conf.mako, src/middlewared/middlewared/plugins/failover_ event.py

NAS-140407 / 25.10.2.2 / Fix FC/iSCSI path availability during ALUA failover (#18568)

Fixes FC/iSCSI path availability during HA failover when ALUA is
enabled.

Four independent problems caused paths to drop or I/O to fail during the
`dev_disk` -> `dev_vdisk` LUN swap window:

- **FC path death**: HA iSCSI session logout cascaded through SCST and
removed LUN mappings before the LUN swap, destroying the ALUA tgt_dev
filter and causing LUN NOT SUPPORTED on FC. Fixed by deferring
`reset_active` to after `become_active` has replaced all LUN mappings.

- **90-second global drain**: `activate_extents` wrote `active=1` via
sysfs, triggering `scst_suspend_activity(90s)`. Fixed by removing the
job entirely - `bind_alua_state=1` already handles dev_vdisk file-open
drain-free via `blockio_on_alua_state_change_finish`.

- **LUN replace blocks on in-flight commands**: `scst_acg_repl_lun`

    [16 lines not shown]
DeltaFile
+52-83src/middlewared/middlewared/plugins/iscsi_/scst.py
+16-66src/middlewared/middlewared/plugins/failover_/event.py
+4-66src/middlewared/middlewared/plugins/iscsi_/alua.py
+12-0src/middlewared/middlewared/etc_files/scst.conf.mako
+84-2154 files

LLVM/project 7b5c33dflang/lib/Optimizer/OpenMP LowerWorkdistribute.cpp, mlir/include/mlir/Dialect/OpenMP OpenMPClauses.td OpenMPOps.td

[mlir][OpenMP] Add iterator support to depend clause

Extend the depend clause to support `!omp.iterated<Ty>` handles
alongside plain depend vars, so the IR can represent both forms.

Assisted with copilot
DeltaFile
+107-58mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+35-2mlir/test/Dialect/OpenMP/ops.mlir
+24-4mlir/test/Dialect/OpenMP/invalid.mlir
+11-5mlir/include/mlir/Dialect/OpenMP/OpenMPClauses.td
+3-3mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
+4-0flang/lib/Optimizer/OpenMP/LowerWorkdistribute.cpp
+184-721 files not shown
+186-727 files

LLVM/project 07f63daclang/test/SemaHLSL Texture2D-mips-errors.hlsl

[HLSL] Fix up Texture2D-mips-errors test

The Texture2D-mips-errors test was supposed to test for an error when the mips
types are used as templates. It was initially disabled because of a
crash. On further investigation, the crash was related to int2(0,0), and
not the mips type.

Follow-up issue for the int2(0,0) crash: #189086

Fixes #188556
DeltaFile
+5-7clang/test/SemaHLSL/Texture2D-mips-errors.hlsl
+5-71 files

LLVM/project 55f15adclang/lib/Headers/hlsl hlsl_alias_intrinsics.h, clang/test/CodeGenHLSL/builtins fma.hlsl

Merge branch 'main' into users/amehsan/weakc-nsw
DeltaFile
+0-220llvm/test/CodeGen/AMDGPU/frame-index-disjoint-s-or-b32.ll
+0-161llvm/test/CodeGen/AMDGPU/eliminate-frame-index-scalar-bit-ops.mir
+138-0clang/test/CodeGenHLSL/builtins/fma.hlsl
+113-0clang/test/SemaHLSL/BuiltIns/fma-errors.hlsl
+54-0clang/lib/Headers/hlsl/hlsl_alias_intrinsics.h
+53-0llvm/test/CodeGen/DirectX/fma.ll
+358-38111 files not shown
+481-41517 files

NetBSD/pkgsrc OnNsxBSaudio/portaudio distinfo, audio/portaudio/patches patch-src_common_pa__converters.c

   portaudio: fix build with clang
VersionDeltaFile
1.1+50-0audio/portaudio/patches/patch-src_common_pa__converters.c
1.31+2-1audio/portaudio/distinfo
+52-12 files

LLVM/project 509f181flang/test/Transforms debug-imported-entity.fir, mlir/test/Dialect/LLVMIR bytecode.mlir

[MLIR][TableGen] Fix ArrayRefParameter in struct format roundtrip  (#189065)

When an ArrayRefParameter (or OptionalArrayRefParameter) appears in a
non-last position within a struct() assembly format directive, the
printed
output is ambiguous: the comma-separated array elements are
indistinguishable from the struct-level commas separating key-value
pairs.

Fix this by wrapping such parameters in square brackets in both the
generated printer and parser. The printer emits '[' before and ']' after
the array value; the parser calls parseLSquare()/parseRSquare() around
the
FieldParser call. Parameters with a custom printer or parser are
unaffected
(the user controls the format in that case).

Fixes #156623

Assisted-by: Claude Code
DeltaFile
+62-9mlir/tools/mlir-tblgen/AttrOrTypeFormatGen.cpp
+68-0mlir/test/mlir-tblgen/attr-or-type-format.td
+33-0mlir/test/lib/Dialect/Test/TestAttrDefs.td
+18-1mlir/test/mlir-tblgen/attr-or-type-format-roundtrip.mlir
+1-1mlir/test/Dialect/LLVMIR/bytecode.mlir
+1-1flang/test/Transforms/debug-imported-entity.fir
+183-122 files not shown
+185-148 files

OpenBSD/ports 2NeihAfsecurity/openssl/3.5 Makefile, security/openssl/3.5/pkg PLIST

   openssl/3.5: install a symlink eopenssl -> eopenssl35 for the binary

   The various openssl ports must not conflict since we need simultaneous
   installs of all the branches for interop testing. Therefore only one branch
   can have such a symlink, and this must obviously be our default OpenSSL.

   Prompted by a request by Otto Cooper who wanted this for OpenSSL 3.6.
   OpenSSL 3.6 will likely be replaced with OpenSSL 4.0 soon since there
   is nothing particularly interesting in 3.6 anyway. Our default OpenSSL
   will stay on the OpenSSL 3.5 LTS branch until the worst breakage in
   OpenSSL 4.0 will have been sorted out by the various downstreams. Going
   by past experiences and the massive breakage I'm aware of we're unlikely
   to switch LTS branches before 4.1 is out.

   discussed with/ok sthen
VersionDeltaFile
1.15+2-1security/openssl/3.5/Makefile
1.6+1-0security/openssl/3.5/pkg/PLIST
+3-12 files

LLVM/project 0760a72flang/lib/Optimizer/OpenMP LowerWorkdistribute.cpp, mlir/include/mlir/Dialect/OpenMP OpenMPClauses.td OpenMPOps.td

[mlir][OpenMP] Add iterator support to depend clause

Extend the depend clause to support `!omp.iterated<Ty>` handles
alongside plain depend vars, so the IR can represent both forms.
DeltaFile
+102-50mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+35-2mlir/test/Dialect/OpenMP/ops.mlir
+11-5mlir/include/mlir/Dialect/OpenMP/OpenMPClauses.td
+6-6mlir/test/Dialect/OpenMP/invalid.mlir
+3-3mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
+4-0flang/lib/Optimizer/OpenMP/LowerWorkdistribute.cpp
+161-661 files not shown
+163-667 files