LLVM/project a92f85d — llvm/lib/Target/AMDGPU SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU addrspacecast-known-non-null-O0.ll

[AMDGPU] Pass the cast source to isKnownNonNull in lowerADDRSPACECAST

`lowerADDRSPACECAST` passes the cast node instead of its source to
`isKnownNonNull`. The cast node is never a frame index, a global address, or a
constant, so the check never succeeds, and SelectionDAG checks for null when it
casts an alloca or a global. At -O2 the `nonnull` flag that IR passes set on the
cast hides this, but at -O0 every such cast gets a compare and two selects. The
GlobalISel path already passes the source.

This PR was assisted by AI but I reviewed all the changes.
DeltaFile
+0-14llvm/test/CodeGen/AMDGPU/addrspacecast-known-non-null-O0.ll
+2-2llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+2-162 files

LLVM/project 114492e — llvm/test/CodeGen/AMDGPU addrspacecast-known-non-null-O0.ll

[NFC][AMDGPU] Add a test for casts of known non-null pointers at -O0 (#244286)

At -O0, SelectionDAG checks for null when it casts an alloca or an LDS
global to flat, but GlobalISel does not.

This PR was assisted by AI but I reviewed all the changes.
DeltaFile
+101-0llvm/test/CodeGen/AMDGPU/addrspacecast-known-non-null-O0.ll
+101-01 files

LLVM/project 436c282 — llvm/test/CodeGen/AArch64 zext-to-tbl.ll, llvm/test/CodeGen/AMDGPU asyncmark-stage.ll

Revert "[CodeGen] Query AA in cross-iteration mode for machine instructions" (#244718)

Reverts llvm/llvm-project#226768

Breaks an AMDGPU test (`CodeGen/AMDGPU/asyncmark-stage.ll`) in premerge.
DeltaFile
+44-44llvm/test/CodeGen/AArch64/zext-to-tbl.ll
+27-27llvm/test/CodeGen/PowerPC/rematerializable-instruction-machine-licm.ll
+0-46llvm/test/CodeGen/SystemZ/machine-sched-cross-iteration-aa.ll
+9-10llvm/test/CodeGen/AMDGPU/asyncmark-stage.ll
+8-8llvm/test/CodeGen/Thumb2/mve-memtp-loop.ll
+4-8llvm/test/CodeGen/SystemZ/loop-01.ll
+92-1433 files not shown
+98-1589 files

LLVM/project da0bca4 — llvm/include/llvm/ADT StringRef.h, llvm/lib/Support StringRef.cpp

[Support] Vectorize the byte scan in StringRef::rfind (#242215)

Currently, `StringRef::rfind(StringRef)` forwards to
`std::string_view::rfind`, and neither standard library vectorizes it.
libstdc++ calls `memcmp` on the whole needle at every candidate
position. libc++ compares one byte at a time: before LLVM 22 it scans
forwards over the whole string for the needle's first character, keeping
the last match, and since then it walks backwards looking for the
needle's last character.

The linker calls it a lot on symbol names. In lld, `getRootSymbol` calls
`rsplit(".llvm.")` and `rsplit(".__uniq.")` on names that contain a `.`
when there is an order file. During LTO, `PGOIndirectCallPromotion` and
`CGProfilePass` build an `InstrProfSymtab`, whose `getCanonicalFnName`
calls `rfind(".llvm.")` and `rfind(".part.")` on every function name. A
Chromium ThinLTO link makes about 2.4 M of these calls.

## Design


    [13 lines not shown]
DeltaFile
+35-1llvm/lib/Support/StringRef.cpp
+20-0llvm/unittests/ADT/StringRefTest.cpp
+1-9llvm/include/llvm/ADT/StringRef.h
+56-103 files

LLVM/project c88f171 — lldb/source/Target ThreadPlanStepOut.cpp

[lldb] Pass the step-out return type through the language runtime (#244706)

Before giving a function's return type to the ABI plugin, ask the
language
runtime for the runtime type, as ValueObject does.

Downstream, the Swift language runtime needs this. The return type comes
from the type system of the function's module, which has no process, so
the
ABI plugin can't get the size of a type like Swift.Optional<Int> from
the
Swift runtime. The Swift language runtime returns the type from the
target's
scratch type system, which has a process.

assisted by claude
DeltaFile
+8-0lldb/source/Target/ThreadPlanStepOut.cpp
+8-01 files

LLVM/project 9e35250 — lldb/docs/resources dil.md, lldb/source/Target Target.cpp StackFrame.cpp

[lldb] Remove the legacy frame variable implementation (#243651)

DIL has been the default implementation of `frame variable` since
f5c676d6d95d, which shipped in LLDB 22 and 23. The old path expression
parser in LegacyGetValueForVariableExpressionPath is still reachable by
setting target.experimental.use-DIL to false, but nothing else selects
it, and the only tests that exercise it use it as a baseline to compare
DIL against.

This patch removes the legacy implementation and the use-DIL setting.
eDILModeLegacy is unaffected; it is a DIL mode that restricts the
grammar to what the old parser accepted, and does not use the old code.
Because the setting lives under target.experimental, LLDB silently
ignores attempts to set it, so existing scripts that set it keep
working.

Assisted-by: Claude
DeltaFile
+0-661lldb/source/Target/StackFrame.cpp
+0-65lldb/test/API/functionalities/gdb_remote_client/TestXMLRegisterUnion.py
+9-28lldb/docs/resources/dil.md
+10-19lldb/test/API/commands/frame/var-dil/basics/AddressOf/TestFrameVarDILAddressOf.py
+0-21lldb/source/Target/Target.cpp
+5-14lldb/test/API/commands/frame/var-dil/basics/PointerArithmetic/TestFrameVarDILPointerArithmetic.py
+24-80842 files not shown
+38-93548 files

FreeBSD/ports ad868ad — www/samdruckerserver Makefile

www/samdruckerserver: Remove -dev from PKGNAMESUFFIX

It was part of testing.
DeltaFile
+2-1www/samdruckerserver/Makefile
+2-11 files

FreeBSD/ports 35cf2b7 — sysutils/samdruckerclientshell Makefile

sysutils/samdruckerclientshell: remove PKGNAMESUFFIX

It was left over from testing
DeltaFile
+1-1sysutils/samdruckerclientshell/Makefile
+1-11 files

FreeBSD/ports 486fe8b — sysutils/samdruckerclientshell Makefile distinfo

sysutils/samdruckerclientshell: Update to 0.3.0

The previous commit was actually 0.3.0.b7_1

This fixes c7b49a3
DeltaFile
+3-3sysutils/samdruckerclientshell/distinfo
+1-2sysutils/samdruckerclientshell/Makefile
+4-52 files

FreeBSD/ports dd5aa92 — www/samdruckerweb Makefile distinfo

www/samdruckerweb: Update to 0.3.0

The previous commit was actually 0.3.0.b7

Fixes 1683863
DeltaFile
+3-3www/samdruckerweb/distinfo
+1-1www/samdruckerweb/Makefile
+4-42 files

FreeBSD/ports 7048ead — www/samdruckerserver Makefile pkg-plist

www/samdruckerserver: Update to 0.3.0

The previous commit was actually 0.3.0.b12

Fixes 5ccd7c1
DeltaFile
+3-3www/samdruckerserver/distinfo
+2-3www/samdruckerserver/pkg-plist
+1-1www/samdruckerserver/Makefile
+6-73 files

LLVM/project b397635 — libc/src/__support/CPP simd.h

fix

Created using spr 1.3.7
DeltaFile
+0-2libc/src/__support/CPP/simd.h
+0-21 files

LLVM/project 61c665e — clang/include/clang/Options Options.td, clang/test/CodeGenOpenCL relaxed-fpmath.cl

IR: Remove traces of less-precise-fpmad attribute (#244661)

Nothing reads this attribute. clang emitted it for -cl-mad-enable,
and the inliner had a merge rule for it, but no backend or optimization
ever used it.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+0-42llvm/test/Transforms/Inline/attributes.ll
+3-14clang/unittests/Frontend/CompilerInvocationTest.cpp
+0-11clang/test/CodeGenOpenCL/relaxed-fpmath.cl
+2-7llvm/test/CodeGen/AMDGPU/inline-attr.ll
+2-5clang/include/clang/Options/Options.td
+3-1clang/test/Driver/opencl.cl
+10-806 files not shown
+14-9012 files

OpenBSD/src 4LPd4V3 — sys/netinet udp_usrreq.c

   Fix endless loop in udp_output() on 32 bit architectures.

   As CMSG_ALIGN() can overflow the integer value, do the length check
   with and without alignment.

   from Acts1631; OK mvs@
VersionDeltaFile
1.353+2-2sys/netinet/udp_usrreq.c
+2-21 files

LLVM/project d40a5dc — llvm/include/llvm/IR RuntimeLibcalls.td

RuntimeLibcalls: Add attributes to operator new and delete

Annotate operator new and delete implementation variants. The nothrow
variants are nounwind. No library registers these yet so they don't
appear in the DeclareRuntimeLibcalls tests.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+100-64llvm/include/llvm/IR/RuntimeLibcalls.td
+100-641 files

LLVM/project e9e1145 — llvm/include/llvm/IR RuntimeLibcalls.td

RuntimeLibcalls: Add attributes to ObjC runtime calls

Mark the ObjC runtime functions nounwind, and mark the argument of
the functions whose intrinsics mark their argument returned.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+31-26llvm/include/llvm/IR/RuntimeLibcalls.td
+31-261 files

LLVM/project 9e9b2bf — llvm/include/llvm/IR RuntimeLibcalls.td, llvm/test/Transforms/Util/DeclareRuntimeLibcalls xcore.ll emscripten.ll

RuntimeLibcalls: Add attributes to printf variants

Give the integer-only and size-optimized printf variants the
attributes of the corresponding printf functions.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+6-6llvm/include/llvm/IR/RuntimeLibcalls.td
+5-3llvm/test/Transforms/Util/DeclareRuntimeLibcalls/xcore.ll
+5-3llvm/test/Transforms/Util/DeclareRuntimeLibcalls/emscripten.ll
+16-123 files

FreeNAS/freenas e431152 — src/middlewared/middlewared/plugins/account user_home.py, src/middlewared/middlewared/plugins/iscsi_ extents.py

Add a symlink_in_path util for the extent check

Review asked for a util in place of the inline openat2 check in the
iSCSI extent validation. symlink_in_path() returns whether a component
of a path is a symlink, checking up to the first one that does not exist.

Also type the capped safe_open reads as str. safe_open yields IO[Any],
so returning f.read() directly failed mypy --strict with no-any-return
in read_authorized_keys and get_known_hosts.
DeltaFile
+29-1src/middlewared/middlewared/pytest/unit/utils/test_path.py
+18-1src/middlewared/middlewared/utils/path.py
+2-9src/middlewared/middlewared/plugins/iscsi_/extents.py
+2-1src/middlewared/middlewared/plugins/rsync/validate.py
+2-1src/middlewared/middlewared/plugins/account/user_home.py
+53-135 files

LLVM/project b33fc93 — llvm/include/llvm/IR RuntimeLibcalls.td, llvm/test/Transforms/Util/DeclareRuntimeLibcalls windows.ll ve.ll

RuntimeLibcalls: Mark runtime helper functions nounwind (#244641)

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+47-42llvm/test/Transforms/Util/DeclareRuntimeLibcalls/aarch64.ll
+28-23llvm/include/llvm/IR/RuntimeLibcalls.td
+5-4llvm/test/Transforms/Util/DeclareRuntimeLibcalls/mips.ll
+3-2llvm/test/Transforms/Util/DeclareRuntimeLibcalls/ve.ll
+3-2llvm/test/Transforms/Util/DeclareRuntimeLibcalls/arm.ll
+2-1llvm/test/Transforms/Util/DeclareRuntimeLibcalls/windows.ll
+88-741 files not shown
+90-757 files

LLVM/project 4dc7c69 — llvm/test/CodeGen/RISCV fround-optsize.ll, llvm/third_party/llvm/llvm-project/llvm/test/CodeGen/RISCV fround-optsize.ll

[RISCV][test] Move fround-optsize.ll to llvm/test/CodeGen/RISCV (#244707)

Fixes 4055d07d0933 (#243839).

The test was added under llvm/third_party/llvm/llvm-project/, so lit
never ran it.

Assisted-by: Gemini
DeltaFile
+0-222llvm/third_party/llvm/llvm-project/llvm/test/CodeGen/RISCV/fround-optsize.ll
+222-0llvm/test/CodeGen/RISCV/fround-optsize.ll
+222-2222 files

FreeBSD/ports 4851d7d — net-mgmt/pnp Makefile pkg-plist, net-mgmt/pnp/files patch-share_pnp_application_views_basket__box.php patch-sample-config__Makefile.in

net-mgmt/pnp: Update 0.6.26 => 0.6.27.5

Changelog:
https://github.com/pnp4nagios/pnp4nagios/blob/v0.6.27-5/ChangeLog
https://github.com/pnp4nagios/pnp4nagios/compare/v0.6.27-4...v0.6.27-5

PR:             279579
Approved by:    no maintainer
Sponsored by:   FLEX-IT LLC
DeltaFile
+302-269net-mgmt/pnp/pkg-plist
+0-193net-mgmt/pnp/files/patch-share_pnp_application_models_data.php
+46-37net-mgmt/pnp/files/extra-patch-disable-pdf
+40-32net-mgmt/pnp/Makefile
+0-43net-mgmt/pnp/files/patch-sample-config__Makefile.in
+0-20net-mgmt/pnp/files/patch-share_pnp_application_views_basket__box.php
+388-59414 files not shown
+449-71820 files

LLVM/project a7e94c0 — llvm/lib/Target/AMDGPU AMDGPUISelDAGToDAG.cpp, llvm/test/CodeGen/AMDGPU chain-hi-to-lo.ll

[AMDGPU] Don't tie true16 load into d16_hi load (#244272)

With real true16, build_vector (load lo), (load hi) was still matched to
a 32-bit LOAD_D16_HI whose tied input is the low half. The low load is
selected to a _t16 load into the lo16 register, so the tied 32-bit use
looks like a read of that pending result and SIInsertWaitcnts puts a
wait between the two loads, e.g. on gfx11:

  ds_load_u16_d16 v0, v1 offset:2
  s_waitcnt lgkmcnt(0)
  ds_load_u16_d16_hi v0, v1

The d16_hi load only writes the high half and does not read the low
half, so no wait is needed. When the low half is itself a load, skip the
match under real true16 and let both halves be selected as _t16 loads
into 16-bit registers. The hi16 one is emitted as the d16_hi encoding.
Other low-half sources (constants, VALU results) keep using the tied
form, which avoids an extra pack after the load.

Assisted-by: Claude Code:claude-opus-5-5
DeltaFile
+8-14llvm/test/CodeGen/AMDGPU/chain-hi-to-lo.ll
+9-1llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
+17-152 files

LLVM/project 4be6dcc — clang/include/clang/Options Options.td, clang/lib/Driver/ToolChains Clang.cpp

address comments
DeltaFile
+3-3clang/include/clang/Options/Options.td
+1-1clang/lib/Driver/ToolChains/Clang.cpp
+4-42 files

LLVM/project daa258f — clang/docs LanguageExtensions.md, clang/include/clang/Options Options.td

Enable driver changes for fexec-charset
DeltaFile
+14-6clang/lib/Driver/ToolChains/Clang.cpp
+14-4clang/include/clang/Options/Options.td
+11-3clang/test/Driver/clang_f_opts.c
+10-0llvm/lib/Support/TextEncoding.cpp
+4-3clang/test/Driver/cl-options.c
+3-3clang/docs/LanguageExtensions.md
+56-193 files not shown
+60-199 files

LLVM/project 4beddfb — clang/include/clang/Basic TargetInfo.h, clang/lib/AST ASTContext.cpp

convert to exec-charset inside getPredefinedStringLiteralFromCache, test __builtin_FILE()
DeltaFile
+10-0clang/lib/AST/ASTContext.cpp
+3-1clang/test/CodeGen/systemz-charset.cpp
+3-0clang/lib/Basic/TargetInfo.cpp
+2-0clang/include/clang/Basic/TargetInfo.h
+18-14 files

LLVM/project 4799662 — clang/lib/AST FormatStringParsing.h ScanfFormatString.cpp

remove changes in objc and apple's logging system
DeltaFile
+23-30clang/lib/AST/PrintfFormatString.cpp
+31-21clang/lib/AST/FormatString.cpp
+9-9clang/lib/AST/ScanfFormatString.cpp
+5-12clang/lib/AST/FormatStringParsing.h
+68-724 files

LLVM/project 7dfd778 — clang/lib/AST ASTContext.cpp, clang/lib/Lex TextEncoding.cpp

Convert the key before cache lookup to prevent encoding differences
DeltaFile
+9-9clang/lib/AST/ASTContext.cpp
+2-0clang/lib/Lex/TextEncoding.cpp
+11-92 files

SmartOS/live 378eeaa — nix nixpkgs-illumos.json

nix: pin nixpkgs-illumos c3d503e: an image of the proto area takes its SMF, man and boot files from it

Images made by tools/src_workspace image and tools/illumos_workspace
image took their SMF repository, whatis databases and loader files from
the Nix build rather than from proto, and had the Nix build's stages
built again for a checkout with changes; now they are made from proto,
and the stages are not built.

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+3-3nix/nixpkgs-illumos.json
+3-31 files

Linux/linux 5f22fb2 — fs/fuse fuse_i.h virtio_fs.c, tools/testing/selftests/filesystems/fuse write_extend_eof_test.c

Merge tag 'fuse-fixes-7.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse

Pull fuse fixes from Miklos Szeredi:

 - Fix  bugs reported by Sashiko

 - Fix a couple of issues introduced in this cycle

 - Misc bug fixes

* tag 'fuse-fixes-7.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse:
  fuse: limit name size in listxattr
  fuse: clear the old EOF tail before writeback-cache writes
  fuse: fix UBSAN warning in fuse_iomap_writeback_range()
  fuse: skip dcache instantiation for readdirplus names with embedded NUL
  fuse: preserve ENOTCONN after failed initialization and disconnect
  fuse: set dentry epoch before making the dentry visible
  fuse: advertise support for DAX mappings
  fuse: don't mark inode DAX without CONFIG_FS_DAX

    [9 lines not shown]
DeltaFile
+125-18tools/testing/selftests/filesystems/fuse/write_extend_eof_test.c
+41-12fs/fuse/file.c
+37-9fs/fuse/inode.c
+23-16fs/fuse/readdir.c
+28-6fs/fuse/virtio_fs.c
+23-0fs/fuse/fuse_i.h
+277-616 files not shown
+308-8012 files

NetBSD/pkgsrc-wip a6ea124 — . Makefile, jj-musubi DESCR Makefile

jj-musubi: add new packages

If you're interested, test and import!
DeltaFile
+1,487-0jj-musubi/distinfo
+496-0jj-musubi/cargo-depends.mk
+32-0jj-musubi/PLIST
+27-0jj-musubi/Makefile
+14-0jj-musubi/DESCR
+4-0Makefile
+2,060-01 files not shown
+2,061-07 files