LLVM/project 689dc6cclang/lib/CIR/CodeGen CIRGenExpr.cpp, clang/test/CIR/CodeGen array.cpp vla.c

[CIR] Handle boolean expression as array indexes (#193814)

We were hitting a CIR verification error in some cases when a boolean
expression was used as an index to an array because the GetElementOp
verifier expected the index operand to be a fundamental integer type. To
fix this, I'm updating the emitArraySubscriptExpr to cast index values
to ptrDiffTy, which more closely matches what classic codegen does in
the corrsponding code.

The improved alignment with the classic codegen implementation caused
some minor changes in generated IR that required some tests to be
updated.

Assisted-by: Cursor / claude-4.7-opus-high
DeltaFile
+117-20clang/test/CIR/CodeGen/array.cpp
+21-6clang/lib/CIR/CodeGen/CIRGenExpr.cpp
+11-9clang/test/CIR/CodeGen/vla.c
+8-4clang/test/CIR/CodeGen/array-init-loop-exprs.cpp
+6-6clang/test/CIR/CodeGen/pointers.cpp
+5-4clang/test/CIR/CodeGen/no-odr-use.cpp
+168-498 files not shown
+187-6314 files

LLVM/project dca6106mlir/include/mlir/Dialect/XeGPU/IR XeGPUDialect.td, mlir/lib/Conversion/VectorToXeGPU VectorToXeGPU.cpp

[mlir][xegpu] Add support for `vector.transfer_read/write` on SLM buffers (#192757)

Adds lowering support when `vector.transfer_read/write` operate on SLM
buffers. These ops will be lowered to `xegpu.load/store_matrix`
DeltaFile
+80-14mlir/lib/Conversion/VectorToXeGPU/VectorToXeGPU.cpp
+49-5mlir/test/Conversion/VectorToXeGPU/transfer-read-to-xegpu.mlir
+46-0mlir/test/Conversion/VectorToXeGPU/transfer-write-to-xegpu.mlir
+16-0mlir/lib/Dialect/XeGPU/IR/XeGPUDialect.cpp
+0-13mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp
+5-0mlir/include/mlir/Dialect/XeGPU/IR/XeGPUDialect.td
+196-321 files not shown
+197-337 files

LLVM/project 28027f8llvm/lib/CodeGen MachineOutliner.cpp

[MachineOutliner] Do not allow debug instructions to affect liveness computations. (#192336)

Because DBG_VALUE precedes the actual definition of a physical register,
considering
these during the liveness updating phase of MachineOutliner was causing
every register
definition to also be marked as a use, which would eventually lead to a
verifier error
when a use without a def was detected.

A MIR testcase for this is present at
https://github.com/CHERIoT-Platform/llvm-project/commit/b71f6d67e338e70a1dc23e15a77805da3e3cd015
but it depends on CHERIoT instructions that are not in LLVM upstream at
present. It's also very senstive to small changes to the input, so I
have not been able to reproduce it on an in-tree target. That said, I
believe this change is small enough that its correctness is verifiable
by inspection.
DeltaFile
+2-0llvm/lib/CodeGen/MachineOutliner.cpp
+2-01 files

NetBSD/pkgsrc Fmx2YrVdoc CHANGES-2026

   doc: Updated editors/vim-share to 9.2.0390
VersionDeltaFile
1.2550+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc kghk0pTeditors/vim-share distinfo version.mk

   Update to version 9.2.0390.

   Changes:
   - patch 9.2.0390: filetype: some Beancount files are not recognized
   - patch 9.2.0389: DECRQM still leaves stray "pp" on Apple Terminal.app
   - patch 9.2.0388: strange indent in update_topline()
   - patch 9.2.0387: DECRQM request may leave stray chars in terminal
   - patch 9.2.0386: No scroll/scrollbar support in the tabpanel
   - runtime(sh): allow "#" in special derefs
   - patch 9.2.0385: Integer overflow with "ze" and large 'sidescrolloff'
   - runtime(doc): fix incorrect description of 'scrolloffpad'
   - runtime(graphql): Update syntax script to September 2025 spec
   - patch 9.2.0384: stale Insstart after <Cmd> cursor move breaks undo
   - patch 9.2.0383: [security]: runtime(netrw): shell-injection via sftp: and file: URLs
   - patch 9.2.0382: Wayland: focus-stealing is non-working
   - patch 9.2.0381: Vim9: Missing check_secure() in exec_instructions()
   - patch 9.2.0380: completion: a few issues in completion code
   - patch 9.2.0379: gui.color_approx is never used
   - patch 9.2.0378: Using int as bool type in win_T struct

    [31 lines not shown]
VersionDeltaFile
1.231+4-4editors/vim-share/distinfo
1.167+2-2editors/vim-share/version.mk
1.87+1-0editors/vim-share/PLIST
+7-63 files

LLVM/project 6364bf6lldb/include/lldb/ValueObject ValueObject.h, lldb/source/ValueObject ValueObject.cpp

[lldb] Remove unused ValueObject::IsBaseClass(uint32_t &depth) (NFC) (#193849)
DeltaFile
+0-15lldb/source/ValueObject/ValueObject.cpp
+0-2lldb/include/lldb/ValueObject/ValueObject.h
+0-172 files

LLVM/project 8b96c21flang/lib/Optimizer/Builder IntrinsicCall.cpp, flang/module __fortran_builtins.f90

[flang] Add comparison operators for c_devptr (#192687)
DeltaFile
+58-0flang/test/Lower/Intrinsics/c_devptr_eq_ne.f90
+14-1openmp/module/CMakeLists.txt
+15-0flang/module/__fortran_builtins.f90
+3-1flang/lib/Optimizer/Builder/IntrinsicCall.cpp
+90-24 files

FreeBSD/ports 04f684dTools/scripts git-diff-ports.sh

Tools/scripts: Add git-diff-ports.sh

This script prints the list of ports with uncommitted changes.
It is called git-diff-ports because it prints the processed output of
'git diff'.

I found is useful while working on ports.
DeltaFile
+18-15Tools/scripts/git-diff-ports.sh
+18-151 files

LLVM/project 464392ecompiler-rt/lib/tysan tysan.cpp

[TySan] add internal interface support (#192413)

Partial reland of https://github.com/llvm/llvm-project/pull/183310
Trying to avoid the parts that blow up mac ci until I can fix that
issue.
DeltaFile
+28-7compiler-rt/lib/tysan/tysan.cpp
+28-71 files

LLVM/project 713965eflang/lib/Optimizer/Dialect FIROps.cpp CMakeLists.txt, flang/test/Fir array-coor-canonicalization-cuf.fir

Revert "[flang][cuda] Preserve fir.rebox captured by cuf.kernel in SimplifyAr…"

This reverts commit b756be64cad6fe566fbfeddc69a2bd0894a9d997.
DeltaFile
+0-67flang/test/Fir/array-coor-canonicalization-cuf.fir
+0-10flang/lib/Optimizer/Dialect/FIROps.cpp
+0-1flang/lib/Optimizer/Dialect/CMakeLists.txt
+0-783 files

FreeBSD/ports 1c4caafsysutils/fastfetch distinfo Makefile

sysutils/fastfetch: update to 2.62.1

Changelog:      https://github.com/fastfetch-cli/fastfetch/releases/tag/2.62.1
DeltaFile
+3-3sysutils/fastfetch/distinfo
+1-1sysutils/fastfetch/Makefile
+4-42 files

NetBSD/pkgsrc-wip 20bf410dnsdist COMMIT_MSG distinfo

net/dnsdist: Update to version 2.0.5
DeltaFile
+25-1dnsdist/COMMIT_MSG
+3-3dnsdist/distinfo
+1-1dnsdist/Makefile
+29-53 files

OpenBSD/ports 18LVwphlang/gawk Makefile

   lang/gawk: do not pick up gettext-tools in configure

   configure picks up xgettext and it is then used during the build, but
   to no effect.

   Reported by jca@
VersionDeltaFile
1.47+4-0lang/gawk/Makefile
+4-01 files

LLVM/project b756be6flang/lib/Optimizer/Dialect FIROps.cpp CMakeLists.txt, flang/test/Fir array-coor-canonicalization-cuf.fir

[flang][cuda] Preserve fir.rebox captured by cuf.kernel in SimplifyArrayCoorOp (#193837)

SimplifyArrayCoorOp folds fir.rebox → fir.array_coor by rewriting the
array_coor to consume the rebox's source box directly. This is unsafe
when the array_coor is inside a cuf.kernel and the rebox is not: in CUF,
a rebox of a device-attributed value (e.g. a dummy with cuf.data_attr =
device) is the op whose lowering copies the descriptor into
GPU-accessible memory. Folding it out skips the copy, so the kernel
dereferences a host-side descriptor on the device, causing
cudaErrorIllegalAddress (or cudaErrorUnknown on H100 under ATS).

The pattern already guards this hazard for OpenACC via
ACC_COMPUTE_AND_DATA_CONSTRUCT_OPS / ACC_DATA_ENTRY_OPS; this change
adds the analogous guard for cuf::KernelOp.
DeltaFile
+67-0flang/test/Fir/array-coor-canonicalization-cuf.fir
+10-0flang/lib/Optimizer/Dialect/FIROps.cpp
+1-0flang/lib/Optimizer/Dialect/CMakeLists.txt
+78-03 files

LLVM/project 42077dblldb/test/API/functionalities/plugins/python_os_plugin/os_plugin_in_dsym TestOSIndSYM.py

[lldb/test] Fix TestOSIndSYM for Darwin embedded platforms (#193839)

The test used CreateTarget(None) and relied on the attach to discover
the executable and load the dSYM. On remote platforms this doesn't find
the local dSYM, so the OS plugin never loads. Switch to
CreateTarget(executable) so the dSYM Python module is loaded before
attach.

Also split the test into two methods: test_python_os_plugin uses
spawn+attach which works both locally and on real remote platforms,
while test_python_os_plugin_remote simulates remote debugging by
manually spawning debugserver and is skipped on embedded platforms where
this setup conflicts with lldb-platform.

rdar://175455380

Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
DeltaFile
+22-29lldb/test/API/functionalities/plugins/python_os_plugin/os_plugin_in_dsym/TestOSIndSYM.py
+22-291 files

LLVM/project 281f993clang/lib/CIR/CodeGen CIRGenCall.cpp, clang/test/CIR/CodeGen new.cpp nonnull.c

[CIR] Add nonnull on returns and pointer params (#188281)

Add nonnull to return attributes when the function has
ReturnsNonNullAttr (e.g. operator new), guarded by !NullPointerIsValid.
Add nonnull to pointer parameters with __attribute__((nonnull)), both
per-parameter and function-level forms.

Thread targetDecl into constructFunctionArgumentAttributes and build a
parallel ParmVarDecl array in the zip_equal loop to access
parameter-level attributes without manual index arithmetic.

Restrict->noalias handling has been moved to #191483.
DeltaFile
+38-38clang/test/CIR/CodeGenCXX/new-array-init.cpp
+32-32clang/test/CIR/CodeGen/new.cpp
+20-4clang/lib/CIR/CodeGen/CIRGenCall.cpp
+23-0clang/test/CIR/CodeGen/nonnull.c
+6-6clang/test/CIR/CodeGen/paren-list-agg-init.cpp
+5-5clang/test/CIR/CodeGen/new-delete-deactivation.cpp
+124-853 files not shown
+134-959 files

LLVM/project 222113ebolt/lib/Profile DataReader.cpp DataAggregator.cpp, bolt/test/X86 pre-aggregated-records.s

[𝘀𝗽𝗿] initial version

Created using spr 1.3.4
DeltaFile
+248-2bolt/unittests/Profile/DataAggregator.cpp
+60-0bolt/test/X86/pre-aggregated-records.s
+8-3bolt/lib/Profile/DataReader.cpp
+4-2bolt/lib/Profile/DataAggregator.cpp
+1-0bolt/test/X86/Inputs/pre-aggregated-bad-hex.txt
+1-0bolt/test/X86/Inputs/pre-aggregated-bad-type.txt
+322-71 files not shown
+323-77 files

LLVM/project 900e8acbolt/include/bolt/Profile DataAggregator.h, bolt/lib/Profile DataReader.cpp DataAggregator.cpp

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.4

[skip ci]
DeltaFile
+248-2bolt/unittests/Profile/DataAggregator.cpp
+8-3bolt/lib/Profile/DataReader.cpp
+4-2bolt/lib/Profile/DataAggregator.cpp
+1-0bolt/include/bolt/Profile/DataAggregator.h
+261-74 files

NetBSD/pkgsrc gOPq0jBsysutils/lsof distinfo, sysutils/lsof/patches patch-dialects_n+obsd_dproc.c

   lsof: Do not include _STABLE, _RC, etc. suffixes in version comparison.

   Avoid (some) unnecessary system version warnings on NetBSD.  The ABI
   should not change between 11.0_BETA, 11.0_RC*, 11.0, and 11.0_STABLE.
   In fact it should not change between 11.0, 11.1, 11.2, and so forth.

   The only exception is *.99.* (e.g. 11.99.5), where the full version
   should be compared.

   XXX:  This could be improved to only compare the major version when
         the minor version is less than 99.
VersionDeltaFile
1.1+26-0sysutils/lsof/patches/patch-dialects_n+obsd_dproc.c
1.113+2-1sysutils/lsof/distinfo
+28-12 files

FreeBSD/src b675ff8share/man/man4 mac_seeotheruids.4, sys/security/mac_seeotheruids mac_seeotheruids.c

mac_seeotheruids: allow specificgid to be a list of groups

The specificgid functionality has historically allowed only a single
group to be exempt, but in practice one might want a few services to
be exempt for reasons.  From a security perspective, we probably don't
want to encourage unrelated users to be grouped together solely for
this purpose, as that creates one point of shared access that could be
used for nefarious purposes.

Normalize the group list as we do cr_groups to allow for linear matching
rather than quadratic, we just need to account for the differences in
FreeBSD 15.0+ where cr_groups is entirely supplementary groups vs.
earlier versions, where cr_groups[0] is the egid and the rest is
sorted.

Reviewed by:    csjp, des (earlier version)
Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D56592
DeltaFile
+164-10sys/security/mac_seeotheruids/mac_seeotheruids.c
+2-2share/man/man4/mac_seeotheruids.4
+166-122 files

OpenBSD/ports qCx39Nrnet/ejabberd Makefile

   net/ejabberd: prevent linking agains wayland/libei instead erlang's libei.a
VersionDeltaFile
1.67+6-3net/ejabberd/Makefile
+6-31 files

Illumos/gate 7de10d4usr/src/uts/common/io/mac mac_sched.c mac_datapath_setup.c, usr/src/uts/common/sys mac_soft_ring.h mac_flow_impl.h

13157 maxbw can kill link with hires tick
17908 Removing maxbw can trap a Tx SRS in SRS_RESTART_DONE
17917 SRS_BW_ENFORCED is misnamed
17922 mac_tx_srs_drain, mac_tx_srs_enqueue do not correctly handle fanout hints
Reviewed by: Robert Mustacchi <rm at fingolfin.org>
Reviewed by: Ryan Zezeski <ryan at zinascii.com>
Approved by: Dan McDonald <danmcd at edgecast.io>
DeltaFile
+645-451usr/src/uts/common/io/mac/mac_sched.c
+132-87usr/src/uts/common/io/mac/mac_datapath_setup.c
+35-76usr/src/uts/common/sys/mac_soft_ring.h
+36-9usr/src/uts/common/sys/mac_flow_impl.h
+20-0usr/src/uts/common/io/mac/mac_flow.c
+0-4usr/src/uts/common/io/mac/mac_soft_ring.c
+868-6276 files

Illumos/gate 0764e87usr/src/cmd/cmd-inet/usr.sbin/snoop snoop_capture.c snoop.c, usr/src/man/man8 snoop.8

18078 snoop should report drops when capturing to file
Reviewed by: Gordon Ross <gordon.w.ross at gmail.com>
Reviewed by: Toomas Soome <tsoome at me.com>
Reviewed by: Bill Sommerfeld <sommerfeld at hamachi.org>
Approved by: Dan McDonald <danmcd at edgecast.io>
DeltaFile
+7-6usr/src/man/man8/snoop.8
+10-1usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop_capture.c
+3-2usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop.c
+20-93 files

LLVM/project 3cd4a79clang/lib/Basic OffloadArch.cpp, clang/lib/Basic/Targets SPIR.cpp

clang: Avoid hardcoding some offload triple strings (#193811)

This will make it easier to use the subarch field in the future.
DeltaFile
+16-11clang/lib/Driver/Driver.cpp
+11-6clang/lib/Basic/OffloadArch.cpp
+4-1clang/lib/Basic/Targets/SPIR.cpp
+3-1clang/lib/Sema/SemaAMDGPU.cpp
+34-194 files

LLVM/project 8ebc730llvm/lib/Object COFFObjectFile.cpp WindowsResource.cpp, llvm/test/tools/llvm-rc windres-target.test

[llvm-rc] Add support for MIPS machine (#193830)
DeltaFile
+7-0llvm/test/tools/llvm-rc/windres-target.test
+3-0llvm/lib/Object/COFFObjectFile.cpp
+3-0llvm/lib/Object/WindowsResource.cpp
+3-0llvm/tools/llvm-rc/llvm-rc.cpp
+16-04 files

OpenZFS/src 8da4729module/zfs dsl_crypt.c arc.c

key lookup failure should always return EACCES

spa_do_crypt_abd() already maps a missing key to EACCES. However
spa_do_crypt_mac_abd(), spa_do_crypt_objset_mac_abd(), and
spa_crypt_get_salt() still return the raw
spa_keystore_lookup_key() error (ENOENT). This is inconsistent
As we want to treat all “no key” failures as a permission
failure. Standardize on EACCES for the unloaded-key case.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Alek Pinchuk <alek.pinchuk at connectwise.com>
Closes #18448
DeltaFile
+17-36module/zfs/dsl_crypt.c
+1-1module/zfs/arc.c
+18-372 files

LLVM/project 7ed9d96llvm/test/Transforms/PreISelIntrinsicLowering/AArch64 expand-fp-math.ll expand-fp-math-binary.ll

[AArch64][PreISelIntrinsicLowering] Adjust tests to include -march=+sve (#193833)

These tests are exercising expansion of scalable vectors. This is
ill-defined without SVE as there aren't such legal vector types. This
mostly doesn't change the output (since the ops being exercised are
Expand in both configurations), but for fcanonicalize we're testing the
wrong result as this _shouldn't_ be (and isn't) expanded when you have
SVE.
DeltaFile
+15-27llvm/test/Transforms/PreISelIntrinsicLowering/AArch64/expand-fp-math.ll
+5-5llvm/test/Transforms/PreISelIntrinsicLowering/AArch64/expand-fp-math-binary.ll
+3-4llvm/test/Transforms/PreISelIntrinsicLowering/AArch64/expand-exp.ll
+3-3llvm/test/Transforms/PreISelIntrinsicLowering/AArch64/expand-log.ll
+26-394 files

OpenZFS/src 9dd3c65tests/zfs-tests/tests/functional/cli_user/zpool_iostat zpool_iostat_002_pos.ksh

ZTS: zpool_iostat_002_pos increase sleep time

Allow an additional second for the test to complete before checking
the results.  This may explain occasional test failures in the CI.
Additionally, when the test fails dump the tmpfile for inspection.

Reviewed-by: Tony Hutter <hutter2 at llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Closes #18455
DeltaFile
+4-3tests/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_002_pos.ksh
+4-31 files

OpenZFS/src 91f9b11tests/zfs-tests/tests/functional/redundancy redundancy.kshlib redundancy_draid_spare3.ksh

ZTS: add targeted redundancy_draid_spare exception

When sequentially resilvering a dRAID pool it's possible that a few
correctable checksum errors will be reported.  This is a known issue
which is occasionally observed in the CI.  Until it's resolved we
want the test case to tolerate a few checksum errors in this scenario
to prevent false positives in the CI.

This change also has the additional side effect of standardizing in
one location how the dRAID pool integrity is verified.

Reviewed-by: Tony Hutter <hutter2 at llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Issue #18307
Issue #18319
Closes #18436
DeltaFile
+75-1tests/zfs-tests/tests/functional/redundancy/redundancy.kshlib
+7-21tests/zfs-tests/tests/functional/redundancy/redundancy_draid_spare3.ksh
+2-12tests/zfs-tests/tests/functional/redundancy/redundancy_draid_damaged2.ksh
+3-9tests/zfs-tests/tests/functional/redundancy/redundancy_draid_spare4.ksh
+4-8tests/zfs-tests/tests/functional/redundancy/redundancy_draid.ksh
+2-6tests/zfs-tests/tests/functional/redundancy/redundancy_draid_spare1.ksh
+93-574 files not shown
+99-8010 files

LLVM/project de82b47clang/lib/CodeGen CGExprAgg.cpp ItaniumCXXABI.cpp, clang/lib/CodeGen/Targets AMDGPU.cpp

[Clang] Fix sret AS for non-trivial-copy returns. (#186275)

classifyReturnType used getAllocaAddrSpace() for sret, which is wrong
on targets like AMDGPU where alloca lives in addrspace(5). For types
with deleted copy/move constructors, there is no way to construct into
a temp and copy out — the sret pointer must point directly to the caller's 
destination in the default address space.

Add a target hook getSRetAddrSpace() so AMDGPU can return LangAS::Default
for non-register-passable types.

Fixes issue #185744
DeltaFile
+56-16clang/test/CodeGenHIP/sret-nontrivial-copyable.hip
+29-6clang/test/CodeGenHIP/store-addr-space.hip
+12-7clang/lib/CodeGen/CGExprAgg.cpp
+13-0clang/lib/CodeGen/Targets/AMDGPU.cpp
+8-4clang/test/CodeGenCXX/no-elide-constructors.cpp
+6-4clang/lib/CodeGen/ItaniumCXXABI.cpp
+124-373 files not shown
+136-429 files