LLVM/project 9fc012dclang/lib/CIR/CodeGen CIRGenBuiltinAMDGPU.cpp, clang/test/CIR/CodeGenHIP builtins-amdgcn-extended-image.hip

[CIR][AMDGPU] Adds lowering for amdgcn extended image sample/gather4 builtins
DeltaFile
+350-0clang/test/CIR/CodeGenHIP/builtins-amdgcn-extended-image.hip
+50-12clang/lib/CIR/CodeGen/CIRGenBuiltinAMDGPU.cpp
+400-122 files

LLVM/project 78c5866llvm/lib/Transforms/Scalar LoopFuse.cpp, llvm/test/Transforms/LoopFusion cannot_fuse_atomic.ll

[LoopFusion] Reject loops containing atomic accesses (#201525)

The fusion legality check relies on DependenceInfo, which models memory
dependences purely by address and does not capture the ordering or
synchronization (synchronizes-with / fence) semantics of atomic
operations. Fusing two loops interleaves their bodies, which can reorder
atomics in ways that violate the memory model even when they touch
different locations.

Mirror the existing volatile handling and invalidate any fusion
candidate whose body contains an atomic access, adding a
ContainsAtomicAccess statistic.

This is conservative: Instruction::isAtomic() is true for unordered and
higher, so even unordered atomics (which carry no cross-thread ordering)
are rejected. This matches the all-or-nothing volatile precedent and
keeps the check simple; it can be narrowed to allow unordered later if
needed.

Fixes #193770.
DeltaFile
+39-0llvm/test/Transforms/LoopFusion/cannot_fuse_atomic.ll
+12-12llvm/lib/Transforms/Scalar/LoopFuse.cpp
+51-122 files

LLVM/project aab1251llvm/include/llvm/CodeGen/GlobalISel LegalizerHelper.h, llvm/lib/CodeGen/GlobalISel LegalizerHelper.cpp CombinerHelper.cpp

[GlobalISel] Move G_MEMCPY_INLINE into lowerMemCpyFamily (NFC) (#201570)

Makes refactoring this code so it can be moved into TableGen simpler.

Assisted-by: codex
DeltaFile
+14-48llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
+0-4llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
+1-1llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
+15-533 files

LLVM/project 44c1640llvm/test/CodeGen/MIR/Generic scalable-vector-type-err3.mir

[CodeGen][MIR] Delete llvm/test/CodeGen/MIR/Generic/scalable-vector-type-err3.mir (NFC) (#201340)

It's bit-identical to
llvm/test/CodeGen/MIR/Generic/scalable-vector-type-err2.mir. Not sure
what the original intention was.
DeltaFile
+0-9llvm/test/CodeGen/MIR/Generic/scalable-vector-type-err3.mir
+0-91 files

LLVM/project e33f287llvm/lib/Target/RISCV RISCVInstrInfoP.td, llvm/test/CodeGen/RISCV rvp-simd-64.ll rvp-simd-32.ll

[RISCV][P-ext] packed shift-add codegen (#201294)

Add isel patterns for `psh1add`, `pssh1sadd` and the scalar `ssh1sadd`,
matching `(a << 1) + b` and `sadd.sat(sshl.sat(a, 1), b)`/`sadd.sat(sadd.sat(a, a), b)`.
DeltaFile
+110-18llvm/test/CodeGen/RISCV/rvp-simd-64.ll
+42-0llvm/lib/Target/RISCV/RISCVInstrInfoP.td
+35-4llvm/test/CodeGen/RISCV/rvp-simd-32.ll
+20-0llvm/test/CodeGen/RISCV/rv32p.ll
+207-224 files

LLVM/project 55d2d6eclang/include/clang/Basic BuiltinsAMDGPU.td

revert incorrect replacement
DeltaFile
+1-1clang/include/clang/Basic/BuiltinsAMDGPU.td
+1-11 files

LLVM/project 6ae71f3libc/include/llvm-libc-macros sys-ptrace-macros.h, libc/src/__support/OSUtil/linux/syscall_wrappers ptrace.h

[libc] (Begin to) implement ptrace for linux (#201601)

This function is more complicated than your average syscall wrapper,
which is why this PR is mainly about setting up the infrastructure. I've
made this an experimental entry point, as the only request it handles is
PTRACE_TRACEME.

I also added a test to verify the PTRACE_TRACEME behavior. It's an
integration test as anything ptrace-y requires two processes.

Assisted by Gemini.
DeltaFile
+63-0libc/test/integration/src/sys/ptrace/linux/ptrace_test.cpp
+34-0libc/src/sys/ptrace/linux/ptrace.cpp
+32-0libc/src/__support/OSUtil/linux/syscall_wrappers/ptrace.h
+25-0libc/src/sys/ptrace/ptrace.h
+20-0libc/test/integration/src/sys/ptrace/linux/CMakeLists.txt
+20-0libc/include/llvm-libc-macros/sys-ptrace-macros.h
+194-017 files not shown
+297-523 files

LLVM/project 48686f8llvm/lib/Transforms/Scalar LoopInterchange.cpp, llvm/test/Transforms/LoopInterchange guarded-inner-loop.ll lcssa-preheader.ll

[LoopInterchange] Do not interchange guarded imperfect loop nests (#201504)

When the outer-loop header conditionally branches to the outer latch,
that branch guards the inner loop, so the inner loop runs only on a
subset of the outer iterations. Interchanging such a nest moves the
inner loop outside the guard and runs it on every outer iteration,
including the guarded-off ones. That is incorrect when the inner loop
relies on the guard to terminate (e.g. an eq/ne exit whose trip count is
degenerate once the guard is false): the extra runs do not terminate, so
the program hangs at run time. Reject these guarded, imperfect nests in
tightlyNested().

This patch takes conservative approach to fix the crash and keep
upstream sane. In the long term, we need to see permissible cases under
which we can still interchange. I believe this is first good step.

Most importantly, three existing tests
(`currentLimitation.ll`, `loop-interchange-optimization-remarks.ll`,
`lcssa-preheader.ll`) were going through this unsafe transform; **these

    [9 lines not shown]
DeltaFile
+77-0llvm/test/Transforms/LoopInterchange/guarded-inner-loop.ll
+28-32llvm/test/Transforms/LoopInterchange/lcssa-preheader.ll
+19-5llvm/lib/Transforms/Scalar/LoopInterchange.cpp
+11-8llvm/test/Transforms/LoopInterchange/loop-interchange-optimization-remarks.ll
+10-5llvm/test/Transforms/LoopInterchange/currentLimitation.ll
+145-505 files

FreeBSD/src ab478deusr.sbin/pw pw_user.c

pw: fix incorrect metalog path in mkdir_home_parents
DeltaFile
+1-1usr.sbin/pw/pw_user.c
+1-11 files

FreeBSD/src fe1e912usr.sbin/pw pw_conf.c, usr.sbin/pw/tests pw_config_test.sh

pw: fix setmode(NULL) crash when homemode is a boolean value
DeltaFile
+10-4usr.sbin/pw/pw_conf.c
+12-0usr.sbin/pw/tests/pw_config_test.sh
+22-42 files

FreeBSD/src 5f9c8f1usr.sbin/pw pw_conf.c

pw: fix const qualification in unquote()

The unquote() function took a const char * parameter but modified the
string in-place (removing quote characters). Change the parameter to
char * and update callers that passed const char * to cast explicitly.
DeltaFile
+6-6usr.sbin/pw/pw_conf.c
+6-61 files

LLVM/project b92bc2allvm/docs AMDGPUMemoryModel.rst AMDGPUUsage.rst

doc updates: "synchronizing" ops; note in usage manual about metadata
DeltaFile
+27-19llvm/docs/AMDGPUMemoryModel.rst
+5-1llvm/docs/AMDGPUUsage.rst
+32-202 files

FreeBSD/src 4fd8a69usr.sbin/pw pw_user.c, usr.sbin/pw/tests pw_useradd_test.sh

pw: fix inverted condition in shell_path error handling
DeltaFile
+1-1usr.sbin/pw/pw_user.c
+1-1usr.sbin/pw/tests/pw_useradd_test.sh
+2-22 files

FreeBSD/src 13f4a37usr.sbin/pw pw_group.c, usr.sbin/pw/tests pw_groupdel_test.sh

pw: fix uninitialized name pointer in pw_group_del

The 'name' variable could be left uninitialized if neither the
positional argument nor -n is supplied, leading to undefined
behavior when passed to getgroup().
DeltaFile
+15-1usr.sbin/pw/tests/pw_groupdel_test.sh
+1-1usr.sbin/pw/pw_group.c
+16-22 files

FreeBSD/src 1cc5684usr.sbin/pw pw.h

pw: remove duplicate pw_user_add declarations
DeltaFile
+0-3usr.sbin/pw/pw.h
+0-31 files

LLVM/project 36b3ffbllvm/include/llvm/ExecutionEngine/Orc EPCGenericDylibManager.h, llvm/include/llvm/ExecutionEngine/Orc/Shared OrcRTBridge.h

[ORC] Enable EPCGenericDylibManager to use orc_rt::NativeDylibManager. (#201744)

Adds two EPCGenericDylibManager::Create overloads (taking JITDylib& or
ExecutionSession&) that look up implementation addresses by name,
defaulting to orc_rt::NativeDylibManager's SPS controller interface (CI)
symbols. SimpleExecutorDylibManager::addBootstrapSymbols now also vends
its instance, open, and resolve symbols under those names, so the new
Create overloads work against either backend.
DeltaFile
+55-0llvm/unittests/ExecutionEngine/Orc/EPCGenericDylibManagerTest.cpp
+19-4llvm/include/llvm/ExecutionEngine/Orc/EPCGenericDylibManager.h
+23-0llvm/lib/ExecutionEngine/Orc/EPCGenericDylibManager.cpp
+13-0llvm/include/llvm/ExecutionEngine/Orc/Shared/OrcRTBridge.h
+13-0llvm/lib/ExecutionEngine/Orc/TargetProcess/SimpleExecutorDylibManager.cpp
+7-0llvm/lib/ExecutionEngine/Orc/Shared/OrcRTBridge.cpp
+130-41 files not shown
+131-47 files

LLVM/project 82c4c59lldb/source/Utility RISCV_DWARF_Registers.h, llvm/test/CodeGen/AMDGPU amdgcn.bitcast.1024bit.ll memintrinsic-unroll.ll

Merge remote-tracking branch 'upstream/main' into users/ssahasra/av-metadata
DeltaFile
+5,590-5,510llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+10,469-10llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-global.mir
+3,563-3,543llvm/test/CodeGen/AMDGPU/memintrinsic-unroll.ll
+6,598-111llvm/test/CodeGen/X86/clmul-vector.ll
+3,092-2,392llvm/test/CodeGen/AMDGPU/GlobalISel/frem.ll
+4,489-13lldb/source/Utility/RISCV_DWARF_Registers.h
+33,801-11,5794,900 files not shown
+252,561-133,5104,906 files

OPNSense/core d660549src/opnsense/mvc/app/controllers/OPNsense/Interfaces/Api AssignmentController.php, src/opnsense/mvc/app/models/OPNsense/Interfaces NetInterface.php

Interfaces: Assignments - refactor to MVC for https://github.com/opnsense/core/issues/9945

In order to migrate the interface assignments, we need to think of a way to use the differently named xml nodes for interfaces (wan, lan, ..) into something that closely resembles a standard model implementation.
Since we can't match these nodes in our statically defined model xmls, the main idea is to flush all via an in-memory model with a separate load [construct] and save hook [serializeToConfig].

The next challenge is to "stash" updates and wait for "apply" in certain cases, for this we add a temporary database holding the changes  which are synced after the actual system change has happend (pending_action, pending_if). When succesfully applied, the apply function cleans up the final stage of the configuration to make everything consistent again.

This database is a simple single json encoded file named /tmp/.interfaces.todo
DeltaFile
+0-498src/www/interfaces_assign.php
+172-0src/opnsense/mvc/app/models/OPNsense/Interfaces/NetInterface.php
+170-0src/opnsense/mvc/app/controllers/OPNsense/Interfaces/Api/AssignmentController.php
+90-0src/opnsense/scripts/interfaces/list_assign_options.php
+73-0src/opnsense/mvc/app/models/OPNsense/Interfaces/FieldTypes/DeviceField.php
+64-0src/opnsense/scripts/interfaces/apply_pending_if_changes.php
+569-49810 files not shown
+753-50316 files

OPNSense/core 9e4f5a6src/opnsense/mvc/app/controllers/OPNsense/Interfaces/Api AssignmentController.php, src/opnsense/mvc/app/models/OPNsense/Interfaces NetInterface.php

Interfaces: Assignments - refactor to MVC for https://github.com/opnsense/core/issues/9945

In order to migrate the interface assignments, we need to think of a way to use the differently named xml nodes for interfaces (wan, lan, ..) into something that closely resembles a standard model implementation.
Since we can't match these nodes in our statically defined model xmls, the main idea is to flush all via an in-memory model with a separate load [construct] and save hook [serializeToConfig].

The next challenge is to "stash" updates and wait for "apply" in certain cases, for this we add a temporary database holding the changes  which are synced after the actual system change has happend (pending_action, pending_if). When succesfully applied, the apply function cleans up the final stage of the configuration to make everything consistent again.

This database is a simple single json encoded file named /tmp/.interfaces.todo
DeltaFile
+0-498src/www/interfaces_assign.php
+172-0src/opnsense/mvc/app/models/OPNsense/Interfaces/NetInterface.php
+170-0src/opnsense/mvc/app/controllers/OPNsense/Interfaces/Api/AssignmentController.php
+90-0src/opnsense/scripts/interfaces/list_assign_options.php
+73-0src/opnsense/mvc/app/models/OPNsense/Interfaces/FieldTypes/NetInterfaceField.php
+64-0src/opnsense/scripts/interfaces/apply_pending_if_changes.php
+569-49810 files not shown
+753-50316 files

LLVM/project 98ea245llvm/lib/Target/AMDGPU SIMemoryLegalizer.cpp

invoke constructor; directly use Twine
DeltaFile
+4-6llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp
+4-61 files

OpenBSD/ports nyLDZuenet/filezilla Makefile distinfo

   Update to filezilla-3.70.6

   Changes: https://filezilla-project.org

   Followed output of check_sym, bumped major of libfzclient-private
VersionDeltaFile
1.129+4-4net/filezilla/Makefile
1.73+2-2net/filezilla/distinfo
+6-62 files

OpenBSD/ports DCMT6s3net/fzssh Makefile distinfo

   Update to fzssh-1.3.0

   Changes: https://fzssh.filezilla-project.org

   Followed output of check_sym, bumped major of libfzssh and
   libfzssh-client
VersionDeltaFile
1.2+3-3net/fzssh/Makefile
1.2+2-2net/fzssh/distinfo
+5-52 files

OpenBSD/ports eQZHCMxnet/libfilezilla Makefile distinfo, net/libfilezilla/patches patch-lib_local_filesys_cpp

   Update to libfilezilla-0.56.1

   Changes: https://lib.filezilla-project.org

   Followed output of check_sym, bumped minor of libfilezilla
VersionDeltaFile
1.51+2-3net/libfilezilla/Makefile
1.40+2-2net/libfilezilla/distinfo
1.2+2-2net/libfilezilla/patches/patch-lib_local_filesys_cpp
+6-73 files

OpenBSD/src YXpMFtxsys/dev/pci if_aq_pci.c

   Properly set up interrupts in multivec mode if we have multiple msix
   vectors but only one queue, making the driver work in uniprocessor
   kernels, including RAMDISK.

   problem reported by Lexi Winter
   ok dlg@
VersionDeltaFile
1.36+6-4sys/dev/pci/if_aq_pci.c
+6-41 files

FreeBSD/src f7c0bd2usr.bin/file/tests Makefile

file: normalize .result files to ensure trailing newline on install

Some upstream result files introduced in file 5.47 (e.g., bgcode.result)
lack a trailing newline, causing the contrib_file_tests ATF test to
fail with "cmp: EOF on bgcode.result".  Generate normalized copies
of the expected results and install those instead.

MFC after:      3 days
Fixes:          e949ce9dc0e6fff26e83904f1008b76d36ba0a37
DeltaFile
+12-1usr.bin/file/tests/Makefile
+12-11 files

NetBSD/src 9XPj86lsys/arch/sparc64/sparc64 ofw_patch.h

   Add OFW patches for U45 (missed in previous).
VersionDeltaFile
1.6+2-2sys/arch/sparc64/sparc64/ofw_patch.h
+2-21 files

LLVM/project 5589d54llvm/include/llvm/ADT DenseMap.h

[DenseMap] Fix ubsan error after #201281 (#201742)

```
/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/include/llvm/ADT/DenseMap.h:492:17: runtime error: null pointer passed as argument 1, which is declared to never be null
```
DeltaFile
+5-3llvm/include/llvm/ADT/DenseMap.h
+5-31 files

LLVM/project 6f98529mlir/lib/IR BuiltinDialectBytecode.cpp

clang-format
DeltaFile
+20-10mlir/lib/IR/BuiltinDialectBytecode.cpp
+20-101 files

LLVM/project f21e893libc/test/integration/src/threads cnd_test.cpp

[libc] fix lost signal issue in cnd_test (#201721)
DeltaFile
+12-5libc/test/integration/src/threads/cnd_test.cpp
+12-51 files

LLVM/project 0b0a345compiler-rt/lib/builtins/cpu_model riscv.c riscv.h, compiler-rt/lib/builtins/cpu_model/riscv hwprobe.inc unimplemented.inc

[LLVM][compiler-rt][RISCV] Refactor RISC-V CPU features (#199438)
DeltaFile
+12-364compiler-rt/lib/builtins/cpu_model/riscv.c
+357-0compiler-rt/lib/builtins/cpu_model/riscv/hwprobe.inc
+19-0compiler-rt/lib/builtins/cpu_model/riscv/unimplemented.inc
+15-0compiler-rt/lib/builtins/cpu_model/riscv.h
+403-3644 files