LLVM/project c9be707 — llvm/include/llvm/Transforms/IPO Attributor.h

Attributor: Get the associated value of a call site argument from its use

IRPosition::getAssociatedValue computed the argument number of a call site
argument from its use to look up the argument operand, which is the value
of the use. NFC.

CTMark instructions:u with -attributor-enable=light changes by O3 -0.19%,
ThinLTO -0.20%. The attributor-light pass itself is 2.1-4.2% faster
(callgrind), and 1.2-1.6% faster with the other pending Attributor
compile-time changes applied.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+4-5llvm/include/llvm/Transforms/IPO/Attributor.h
+4-51 files

LLVM/project 6c0bc64 — llvm/include/llvm/Transforms/IPO Attributor.h

Attributor: Only look for callback arguments of call site arguments

IRPosition::getArgNo called getAssociatedArgument for any position when
asked for the callee argument number, e.g., for the attribute index of
every argument position, although only call site arguments can be
associated with a different argument. NFC.

Exact instructions (callgrind) on pre-optimization CTMark bitcode, on top
of the other Attributor compile-time changes:
                     light module  light CGSCC  module   CGSCC
  sqlite3              -0.32%        -0.28%     -0.10%   -0.13%
  kimwitu++ k.cc       -0.44%        -0.36%     -0.23%   -0.24%
  SPASS cnf.c          -0.30%        -0.27%     -0.13%   -0.37%

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+5-3llvm/include/llvm/Transforms/IPO/Attributor.h
+5-31 files

LLVM/project bdf4eba — llvm/lib/Transforms/InstCombine InstCombineSimplifyDemanded.cpp, llvm/test/Transforms/InstCombine simplify-demanded-fpclass-fptrunc.ll simplify-demanded-fpclass-fptrunc-round.ll

[InstCombine] Fix demanded classes for fptrunc/fptrunc_round (#240523)

Fixes `simplifyDemandedUseFPClassFPTrunc` so that `bf16 = fptrunc(f32)`
and `f80 = fptrunc(f128)` both demand a `fcSubnormal` source for a
`fcNormal` result. This is because `bf16 =
fptrunc(float32-max-subnormal)` rounds up to `bfloat16-min-normal`.

This PR also adds non-trivial test coverage for `fptrunc.round`.

AI Disclosure:
I used Claude Opus 5 to help write the tests.
DeltaFile
+612-0llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fptrunc-round.ll
+238-0llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fptrunc.ll
+17-4llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+867-43 files

LLVM/project 44d0e05 — llvm/lib/Transforms/InstCombine InstCombineSimplifyDemanded.cpp, llvm/test/Transforms/InstCombine simplify-demanded-fpclass-rounding-intrinsics.ll

 [InstCombine] Correctly handle input denormal modes for roundToIntegral subnormal folds (#238204)

Fixes https://github.com/llvm/llvm-project/issues/237855

Corrects input denormal handling for the subnormal and copysign folds
for the `roundToIntegral` family of functions. Also adds test coverage
for these folds.
DeltaFile
+751-0llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-rounding-intrinsics.ll
+9-5llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+760-52 files

OPNSense/core 63b7673 — src/opnsense/mvc/app/views/OPNsense/Hostdiscovery settings.volt

tiny bit more min width for ip addresses so all ipv6 addresses render without elipse
DeltaFile
+1-1src/opnsense/mvc/app/views/OPNsense/Hostdiscovery/settings.volt
+1-11 files

FreeBSD/ports 28ec95f — mail/thunderbird-esr Makefile distinfo

mail/thunderbird-esr: update to 153.7.0 (rc2)

Release Notes:
  https://www.thunderbird.net/en-US/thunderbird/153.7.0esr/releasenotes/

(cherry picked from commit d3796bf68c85a1c546b614361dcc2bcaa6fd6e14)
DeltaFile
+3-3mail/thunderbird-esr/distinfo
+2-1mail/thunderbird-esr/Makefile
+5-42 files

LLVM/project 987cfaa — clang/lib/CIR/CodeGen CIRGenModule.cpp, clang/test/CIR/CodeGen ctor-alias-prev-decl.cpp unnamed-addr.cpp

[CIR] Do not assume function aliases are dso_local under PIC (#234753)

For PIC code that is not a PIE, shouldAssumeDSOLocal marks a function
dso_local when it can use a local alias, as classic codegen does.
Classic applies that only to real functions, never to aliases. CIR
represents a function alias as a FuncOp with an aliasee, so the check
now skips aliases. The flag does not reach LLVM IR yet, because MLIR's
translation drops dso_local on aliases. #234012 fixes that.

Assisted-by: Cursor / claude-opus-5.5
DeltaFile
+22-4clang/test/CIR/CodeGen/attr-alias.c
+4-4clang/test/CIR/CodeGenHIP/hip-weak-alias.hip
+3-3clang/test/CIR/CodeGen/unnamed-addr.cpp
+3-3clang/test/CIR/CodeGen/attr-alias-no-proto.c
+2-1clang/lib/CIR/CodeGen/CIRGenModule.cpp
+1-1clang/test/CIR/CodeGen/ctor-alias-prev-decl.cpp
+35-164 files not shown
+39-2010 files

FreeBSD/ports d3796bf — mail/thunderbird-esr Makefile distinfo

mail/thunderbird-esr: update to 153.7.0 (rc2)

Release Notes:
  https://www.thunderbird.net/en-US/thunderbird/153.7.0esr/releasenotes/
DeltaFile
+3-3mail/thunderbird-esr/distinfo
+2-1mail/thunderbird-esr/Makefile
+5-42 files

LLVM/project 65ed5b5 — mlir/include/mlir/Dialect/GPU/IR GPUOps.td, mlir/test/Dialect/GPU side-effects.mlir bufferization-buffer-deallocation.mlir

[mlir][gpu] Declare memory effects on gpu.launch_func (#234427)
DeltaFile
+20-1mlir/test/Dialect/GPU/bufferization-buffer-deallocation.mlir
+14-0mlir/test/Dialect/GPU/side-effects.mlir
+2-0mlir/include/mlir/Dialect/GPU/IR/GPUOps.td
+36-13 files

OPNSense/core fc60189 — src/opnsense/mvc/app/views/OPNsense/Hostdiscovery settings.volt

Immediately render the spinner when statistics are refreshed
DeltaFile
+7-2src/opnsense/mvc/app/views/OPNsense/Hostdiscovery/settings.volt
+7-21 files

LLVM/project b23f7aa — llvm/test/CodeGen/X86 vector-deinterleave7-i16.ll vector-deinterleave8-i64.ll

Merge branch 'main' into users/chinmaydd/builtin-convert-from-arbitrary-fp
DeltaFile
+29,293-0llvm/test/CodeGen/X86/vector-interleave7-i16.ll
+29,228-0llvm/test/CodeGen/X86/vector-interleaved7-i8.ll
+27,225-0llvm/test/CodeGen/X86/vector-interleave7-i32.ll
+26,140-0llvm/test/CodeGen/X86/vector-deinterleave7-i8.ll
+25,861-0llvm/test/CodeGen/X86/vector-deinterleave8-i64.ll
+25,769-0llvm/test/CodeGen/X86/vector-deinterleave7-i16.ll
+163,516-014,719 files not shown
+1,253,436-212,86114,725 files

LLVM/project 4bf3bdf — libcxx/include/__pstl/backends libdispatch.h, llvm/include/llvm/IR IntrinsicsHexagonDep.td

Merge branch 'main' into users/arsenm/arm/gprsp-not-allocatable
DeltaFile
+2,968-0llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/is_fpclass.ll
+2,305-0llvm/lib/Target/Hexagon/HexagonDepInstrInfo.td
+814-0llvm/test/MC/Hexagon/HexagonTestWriter/v85_hlx.s
+742-0llvm/include/llvm/IR/IntrinsicsHexagonDep.td
+0-465libcxx/include/__pstl/backends/libdispatch.h
+94-255llvm/lib/Transforms/IPO/SampleProfile.cpp
+6,923-720262 files not shown
+12,515-4,725268 files

LLVM/project 6810032 — clang/include/clang/Basic Builtins.td, clang/test/TableGen target-builtins-prototype-parser.td

[clang][Builtins] West Const (#240926)

Make these more consistent with the rest of the code base, despite not
documenting the preference in the style guide. The builtins emitter
needs an update as a result.

Link:
https://github.com/llvm/llvm-project/pull/231696#discussion_r4492428422
DeltaFile
+139-139clang/include/clang/Basic/Builtins.td
+75-84clang/utils/TableGen/ClangBuiltinsEmitter.cpp
+42-0clang/test/TableGen/target-builtins-prototype-parser.td
+256-2233 files

OPNSense/core 81067c7 — src/opnsense/mvc/app/controllers/OPNsense/Hostdiscovery/Api SettingsController.php, src/opnsense/mvc/app/models/OPNsense/Hostdiscovery/ACL ACL.xml

Lets rather put this into the controller, so we can also add a refresh button like in the firewall rules
DeltaFile
+50-55src/opnsense/mvc/app/views/OPNsense/Hostdiscovery/settings.volt
+49-0src/opnsense/mvc/app/controllers/OPNsense/Hostdiscovery/Api/SettingsController.php
+0-1src/opnsense/mvc/app/models/OPNsense/Hostdiscovery/ACL/ACL.xml
+99-563 files

LLVM/project 4cbeda2 — llvm/lib/Transforms/IPO AttributorAttributes.cpp

Attributor: Query the memory effects of a call site once (#240725)

Instead of separately checking mayRead / mayWrite, directly compute
the full memory effects.

attributor-light is 0.1-0.25% faster (callgrind).

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+4-3llvm/lib/Transforms/IPO/AttributorAttributes.cpp
+4-31 files

LLVM/project 007fead — llvm/test/CodeGen/Mips newpm-pipeline.ll

[Mips] Update newpm-pipeline.ll after #235051 (#240924)

#235051 dropped the emit-debug-entry-values parameter from the printed
live-debug-values pass and updated the X86 and RISC-V pipeline tests,
but the Mips NewPM pipeline test had gained checks for it in the
meantime, so it fails on main.

Assisted-by: Claude Opus 5.5
DeltaFile
+3-3llvm/test/CodeGen/Mips/newpm-pipeline.ll
+3-31 files

FreeNAS/freenas 0736232 — src/middlewared/middlewared/api/v27_0_0 smb.py, src/middlewared/middlewared/api/v28_0_0 smb.py

Remove the TrueSearch warning from the SMB search_protocols docs

The description of search_protocols in v27 and v28 is again the text
that it had before TrueSearch. The WebShare search field keeps its
warning.
DeltaFile
+1-4src/middlewared/middlewared/api/v28_0_0/smb.py
+1-4src/middlewared/middlewared/api/v27_0_0/smb.py
+2-82 files

LLVM/project 11b2942 — llvm/lib/Target/AMDGPU AMDGPUInstCombineIntrinsic.cpp, llvm/test/Transforms/InstCombine/AMDGPU amdgcn-demanded-vector-elts.ll

[AMDGPU] Reduce resource align when shrinking buffer loads

Since the `align` on buffer intrinsics includes the offset argument,
the demand, `simplifyAMDGCNMemoryIntrinsicDemanded` needs to account
for the value added to that offset, which might reduce the alignment
of the load.

AI disclosure: Claude wrote the code, I looked at it and wrote the
commit message.

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+14-2llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
+5-5llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-demanded-vector-elts.ll
+19-72 files

FreeBSD/ports b101026 — devel/R-cran-pak Makefile distinfo

devel/R-cran-pak: Update to 0.11.2

Changelog: https://cloud.r-project.org/web/packages/pak/news/news.html
DeltaFile
+3-3devel/R-cran-pak/distinfo
+1-1devel/R-cran-pak/Makefile
+4-42 files

LLVM/project f0d4b64 — llvm/lib/Target/AMDGPU GCNHazardRecognizer.cpp

Fix comment again
DeltaFile
+0-1llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
+0-11 files

LLVM/project 36c964e — mlir/include/mlir/Interfaces MemorySlotInterfaces.td, mlir/lib/Interfaces MemorySlotInterfaces.cpp

[mlir][mem2reg] Allow memory operations to own wrapped blocking uses (#233705)

Allow PromotableMemOpInterface operations to own blocking uses of a
wrapped memory access, enabling Mem2Reg to promote loads and stores
through the wrapper. Add Test dialect coverage for supported and
rejected cases.

This is to extend mem2reg mechanism to handle masked
trasnfer_read/write, where mask op uses region just to embed one op. See
follow-up PR for the interface usage:
https://github.com/llvm/llvm-project/pull/234251

assisted-by-claude

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply at anthropic.com>
DeltaFile
+160-0mlir/test/Transforms/Mem2Reg/mem2reg.mlir
+64-0mlir/test/lib/Dialect/Test/TestOpDefs.cpp
+23-4mlir/lib/Transforms/Mem2Reg.cpp
+25-0mlir/lib/Interfaces/MemorySlotInterfaces.cpp
+22-0mlir/test/lib/Dialect/Test/TestOps.td
+20-0mlir/include/mlir/Interfaces/MemorySlotInterfaces.td
+314-41 files not shown
+320-57 files

LLVM/project 0488f17 — llvm/test/Transforms/InstCombine/AMDGPU amdgcn-demanded-vector-elts.ll

[AMDGPU] Pre-commit tests for buffer load shrinking with align

Buffer load demanded elements analysis isn't shrinking the `align`
annotated on the intrinsic correctly.

AI disclosure: Claude wrote these, I wrote this message

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+78-0llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-demanded-vector-elts.ll
+78-01 files

LLVM/project 6543651 — flang/test/Lower/OpenMP depend-iterator.f90, mlir/lib/Target/LLVMIR/Dialect/OpenMP OpenMPToLLVMIRTranslation.cpp

[mlir][flang][OpenMP] Honor inclusive iterator bounds in translation

Translation of omp.iterator ignored the `inclusive` flag and always treated
the upper bound as inclusive, so `(%c1 to %c5 step %c1)` produced five
iterations instead of four.

Compute each range's trip count according to the flag, and document that a
range excludes its upper bound unless `inclusive` is specified. Flang now
marks the iterators it creates as `inclusive`, so its DEPEND and AFFINITY
lists are unchanged.

Translation flattens all ranges into one loop and recovers each iterator
value by dividing by its range's trip count. An empty range makes the loop
run zero times, but with constant bounds the body still contained a division
by zero. Divide by one in that case; the body only runs when every trip
count is nonzero, so results are unchanged. Equal bounds now form an empty
range unless `inclusive` is set, which makes this case more common.

Assisted with Claude Opus 5.5.
DeltaFile
+137-13mlir/test/Target/LLVMIR/openmp-iterator.mlir
+25-25flang/test/Lower/OpenMP/depend-iterator.f90
+15-7mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+16-3mlir/test/Dialect/OpenMP/iterator-empty.mlir
+7-7mlir/test/Target/LLVMIR/openmp-iterator-wide.mlir
+6-6mlir/test/Target/LLVMIR/openmp-iterator-multi-block.mlir
+206-616 files not shown
+235-7112 files

LLVM/project 040f7db — libc/test/UnitTest LibcTest.h, libc/test/src/__support integer_to_string_test.cpp

[libc][test][NFC] Align typed test macros and names with GoogleTest (#240608)

LibcTest's typed test support used 3-argument TYPED_TEST and
TYPED_TEST_F
macros, testing::TypeList, ParamType, and manual REGISTER_TYPE_NAME
specializations. GoogleTest instead uses testing::Types,
TYPED_TEST_SUITE,
and a 2-argument TYPED_TEST macro that exposes TypeParam.

Align LibcTest and its typed unit tests with GoogleTest's macro
signatures
and type names so typed tests compile unchanged against either backend.
Naming the GetTypeName template parameter TypeParam produces
"[TypeParam = ...]" directly from __PRETTY_FUNCTION__ without
<typeinfo>,
making the unused REGISTER_TYPE_NAME macro unnecessary.

Part of #91630

Assisted-by: Gemini
DeltaFile
+57-78libc/test/UnitTest/LibcTest.h
+58-65libc/test/src/__support/printf_core/converter_test.cpp
+57-61libc/test/src/__support/printf_core/parser_test.cpp
+48-45libc/test/src/__support/integer_to_string_test.cpp
+39-41libc/test/src/__support/printf_core/writer_test.cpp
+28-31libc/test/src/__support/wchar/string_converter_test.cpp
+287-32111 files not shown
+515-47617 files

FreeBSD/src 1dade70 — sys/dev/tpm tpm_crb.c

tpm_crb: Use locality registers only with plain CRB

The locality release wait times out on every command on a Framework 13
(Pluton start method), logging every 10 seconds.

Reported by:    emaste, tuexen
Reviewed by:    kbowling
Approved by:    kbowling
Fixes:          bfe4be85a935 ("tpm_crb: wait for idle and locality release after each command")
DeltaFile
+11-5sys/dev/tpm/tpm_crb.c
+11-51 files

LLVM/project cbc7d9d — llvm/include/llvm/Transforms/IPO Attributor.h, llvm/lib/Target/AMDGPU AMDGPUAttributor.cpp

Attributor: Test the allowed kinds of abstract attributes with a bit mask (#240914)

The set of enabled AAs was previously a dense set of the attribute ID
pointers which were constructed every run and have many hash table
collisions. Replace it with a compile time bitmask and array. The
kinds declared in Attributor.h are tested with a compile-time computed
bitmask and other kinds declared in AMDGPUAttributor use the array.

CTMark instructions:u with -attributor-enable=light changes by O3
-0.07%,
ThinLTO -0.09%. attributor-light is 0.7-4.4% faster (callgrind).

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+92-3llvm/include/llvm/Transforms/IPO/Attributor.h
+22-9llvm/lib/Transforms/IPO/Attributor.cpp
+21-9llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
+135-213 files

FreeNAS/freenas 6e8302f — src/freenas/usr/local/libexec ctdb_ha_reclock.py, src/middlewared/middlewared/plugins/directoryservices_ secrets.py

NAS-145072 / 27.0.0 / Use truenas_smbhad for SMB stateful failover (by anodos325) (#20165)

Samba now replicates SMB durable handles to the standby controller with
the truenas_smbhad daemon. This replaces the ctdb implementation.

- Remove ctdb and the clustered TDB code. passdb, group mapping, share
ACLs and secrets are local to each controller again.
- Stop setting "clustering" in smb.conf.
- Write /etc/truenas_smbhad.conf with the controller node on HA systems.
Reload the daemon when a license change modifies the file.
- Keep smbd stopped on the standby. Restart it on takeover, because it
restores handles only at startup.
- Log the daemon to /var/log/truenas_smbhad.log.
- Remove the update block for stateful failover.
- Add unit tests and HA tests.

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

Co-authored-by: Andrew Walker <andrew.walker at truenas.com>
DeltaFile
+395-0tests/sharing_protocols/smb/test_smb_ha.py
+8-183src/middlewared/middlewared/utils/tdb.py
+0-111src/freenas/usr/local/libexec/ctdb_ha_reclock.py
+21-57src/middlewared/middlewared/plugins/directoryservices_/secrets.py
+17-37src/middlewared/middlewared/plugins/smb_/groupmap.py
+21-33src/middlewared/middlewared/plugins/smb_/util_passdb.py
+462-42136 files not shown
+665-78842 files

Illumos/gate 4c44fcb — usr/src/test/zfs-tests/tests/functional/l2arc l2arc_arcstats_pos.ksh

18650 l2arc_arcstats_pos reads misspelled kstat arcsats.l2_asize
Reviewed by: Toomas Soome <tsoome at me.com>
Approved by: Gordon Ross <gordon.w.ross at gmail.com>
DeltaFile
+2-1usr/src/test/zfs-tests/tests/functional/l2arc/l2arc_arcstats_pos.ksh
+2-11 files

Illumos/gate 586678a — usr/src/test/zfs-tests/tests/functional/userquota userspace_encrypted.ksh userspace_send_encrypted.ksh, usr/src/uts/common/fs/zfs dbuf.c dmu_recv.c

18582 raw receive of an encrypted dataset fails when the target has user accounting
Portions contributed by: George Amanakis <gamanakis at gmail.com>
Portions contributed by: Rich Ercolani <rincebrain at gmail.com>
Portions contributed by: Alexander Motin <mav at FreeBSD.org>
Portions contributed by: loli10K <ezomori.nozomu at gmail.com>
Portions contributed by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed by: George Wilson <gwilson at zfsmail.com>
Approved by: Gordon Ross <gordon.w.ross at gmail.com>
DeltaFile
+180-0usr/src/test/zfs-tests/tests/functional/userquota/userspace_send_encrypted_changes.ksh
+146-1usr/src/uts/common/fs/zfs/dmu_recv.c
+135-0usr/src/test/zfs-tests/tests/functional/userquota/userspace_encrypted_incomplete_mac.ksh
+119-0usr/src/test/zfs-tests/tests/functional/userquota/userspace_send_encrypted.ksh
+94-0usr/src/test/zfs-tests/tests/functional/userquota/userspace_encrypted.ksh
+71-0usr/src/uts/common/fs/zfs/dbuf.c
+745-112 files not shown
+922-5518 files

Illumos/gate 72c23dc — usr/src/cmd/ztest ztest.c, usr/src/uts/common/fs/zfs spa_checkpoint.c vdev_removal.c

18624 Fix consistency of ztest_device_removal_active
Imported from: OpenZFS c40a1124e1d1010b665909ad31d2904630018f6f
Reviewed by: Matthew Ahrens <mahrens at delphix.com>
Reviewed by: Serapheim Dimitropoulos <serapheim at delphix.com>
Reviewed by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed by: George Wilson <gwilson at zfsmail.com>
Approved by: Gordon Ross <gordon.w.ross at gmail.com>
DeltaFile
+21-1usr/src/cmd/ztest/ztest.c
+1-8usr/src/uts/common/fs/zfs/vdev_removal.c
+1-1usr/src/uts/common/fs/zfs/spa_checkpoint.c
+23-103 files