LLVM/project e37801d — llvm/lib/Target/AMDGPU SIPreEmitPeephole.cpp, llvm/test/CodeGen/AMDGPU si-pre-emit-peephole-preserve-loop-info.mir insert-skip-from-vcc.mir

[AMDGPU] Remove redundant S_AND handling from optimizeVccBranch (#228417)

PR #227729 moved this optimization to SIFoldOperands::tryFoldAndExec
where it is more effective.

Co-authored-by: Claude Opus 5.5 (1M context) <noreply at anthropic.com>
DeltaFile
+0-136llvm/test/CodeGen/AMDGPU/insert-skip-from-vcc.mir
+0-26llvm/test/CodeGen/AMDGPU/si-pre-emit-peephole-preserve-loop-info.mir
+0-20llvm/lib/Target/AMDGPU/SIPreEmitPeephole.cpp
+0-1823 files

LLVM/project 6e3a9b3 — llvm/test/CodeGen/AMDGPU amdgcn.bitcast.768bit.ll amdgcn.bitcast.832bit.ll

Merge remote-tracking branch 'llvm-src/main' into users/aokblast/clang/sema_fix_localscope
DeltaFile
+84,649-104,050llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+23,473-29,275llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+16,802-20,458llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.960bit.ll
+15,510-18,987llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.896bit.ll
+14,281-17,622llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.832bit.ll
+12,111-15,454llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.768bit.ll
+166,826-205,8464,705 files not shown
+439,388-441,1224,711 files

FreeBSD/ports 2bb3b3f — sysutils/hcloud Makefile distinfo

sysutils/hcloud: Update to 1.69.0

Changelogs:
https://github.com/hetznercloud/cli/releases/tag/v1.69.0
https://github.com/hetznercloud/cli/releases/tag/v1.68.0
DeltaFile
+5-5sysutils/hcloud/distinfo
+1-2sysutils/hcloud/Makefile
+6-72 files

LLVM/project aae384a — llvm/docs/GlobalISel IRTranslator.md, llvm/lib/CodeGen/GlobalISel IRTranslator.cpp

Sync pass name between newPM and legacy for irtranslator (#227425)

The legacy pass name was change to newPM one. This is done for
consistency and having only one spelling for stop-after/before
DeltaFile
+13-13llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
+10-10llvm/test/Other/print-changed-machine.ll
+7-7llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/vararg.ll
+6-6llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/calling-conv-half.ll
+6-6llvm/test/CodeGen/AArch64/memsize-remarks.ll
+4-4llvm/docs/GlobalISel/IRTranslator.md
+46-46221 files not shown
+338-338227 files

FreeBSD/ports 05326be — devel/py-uvloop distinfo Makefile

devel/py-uvloop: Update to 0.23.0
DeltaFile
+5-2devel/py-uvloop/Makefile
+3-3devel/py-uvloop/distinfo
+8-52 files

LLVM/project fdfd37c — clang/lib/StaticAnalyzer/Checkers DeadStoresChecker.cpp, clang/test/Analysis dead-stores.c

[clang][analyzer] Diagnose dead stores on parenthesized lvalues (#227176)

This commit fixes that `deadcode.DeadStores` previously failed to diagnose a
dead store when the assigned variable is wrapped in parentheses.

```c
int f(int input) {
  int value;
  (value) = input;
  value = 2;
  return value;
}
```

This change was made with assistance of an AI tool (OpenAI Codex), which
implemented the fix (IgnoreParens()) and the test.
I have found the false negative myself (on a real codebase that uses a
code generator) and ran the tests manually.
DeltaFile
+17-0clang/test/Analysis/dead-stores.c
+1-1clang/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp
+18-12 files

FreeBSD/ports 8e7d8ee — devel/meson distinfo Makefile

devel/meson: update to 1.12.0

Changes:        https://mesonbuild.com/Release-notes-for-1-12-0.html
                https://mesonbuild.com/Release-notes-for-1-11-0.html

PR: 294498
exp-run by: antoine

(cherry picked from commit 2351a5ec9f5b0165d14ebad52eed1e5e77067762)
DeltaFile
+10-5devel/meson/Makefile
+3-3devel/meson/distinfo
+13-82 files

LLVM/project 4da2d7a — compiler-rt/lib/csan csan_gpu.cpp csan.cpp, compiler-rt/test/csan volatile.cpp

Remove separate volatile entry points
DeltaFile
+49-0compiler-rt/test/csan/volatile.cpp
+22-0compiler-rt/test/csan/AMDGPU/volatile.hip
+0-4compiler-rt/lib/csan/csan_gpu.cpp
+0-4compiler-rt/lib/csan/csan.cpp
+71-84 files

LLVM/project 1b61044 — compiler-rt/lib/csan CMakeLists.txt, compiler-rt/lib/csan/offload csan_offload_preinit.cpp CMakeLists.txt

[compiler-rt] Remove dlsym interceptor and support `-shared-libsan` for CSan

Summary:
Follow the UBSan offload runtime. Offload now resolves HSA through the
global scope, so the `dlsym` interceptor is no longer needed. The real
HSA entry points are still taken from the loaded HSA library rather than
`RTLD_NEXT`, since every DSO with a static runtime exports the same
wrappers and they would otherwise chain back into each other.

Build `libclang_rt.csan.so` with the offload objects folded in. The
exported HSA wrappers report failure when HSA is absent and warn when HSA
was loaded ahead of the runtime. The preinit hook moves to a separate
`csan_offload-preinit` archive for executables.
DeltaFile
+34-98compiler-rt/lib/csan/offload/csan_offload_hsa_interceptors.cpp
+84-9compiler-rt/lib/csan/CMakeLists.txt
+35-0compiler-rt/test/csan/hsa-load-order.cpp
+22-4compiler-rt/lib/csan/offload/CMakeLists.txt
+24-0compiler-rt/test/csan/hsa-missing.cpp
+22-0compiler-rt/lib/csan/offload/csan_offload_preinit.cpp
+221-1115 files not shown
+241-11111 files

LLVM/project 5daee65 — compiler-rt/lib/csan csan.cpp, compiler-rt/test/csan access-sizes.cpp

Use unaligned loads when snapshotting watched values
DeltaFile
+22-0compiler-rt/test/csan/access-sizes.cpp
+3-3compiler-rt/lib/csan/csan.cpp
+25-32 files

LLVM/project 6c0ff5a — compiler-rt/cmake config-ix.cmake, compiler-rt/cmake/Modules AllSupportedArchDefs.cmake

comments
DeltaFile
+13-9compiler-rt/lib/csan/csan_gpu.cpp
+3-3compiler-rt/cmake/config-ix.cmake
+2-2compiler-rt/lib/csan/CMakeLists.txt
+1-1compiler-rt/test/csan/CMakeLists.txt
+1-1compiler-rt/lib/csan/offload/CMakeLists.txt
+1-0compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
+21-166 files

LLVM/project 0663ff4 — clang/lib/Driver/ToolChains CommonArgs.cpp, clang/test/Driver fsanitize.c fsanitize-concurrency-offload.c

[Clang] Support `-shared-libsan` for offload CSan

Summary:
Follow the UBSan handling. The shared runtime embeds the HSA
interceptors, so `csan_offload` is only linked with static runtimes and
executables pull in `csan_offload-preinit` to initialize early.
DeltaFile
+38-0clang/test/Driver/fsanitize-concurrency-offload.c
+9-4clang/lib/Driver/ToolChains/CommonArgs.cpp
+3-1clang/test/Driver/fsanitize.c
+50-53 files

LLVM/project c4c2a28 — clang/test/CodeGen sanitize-concurrency.c, clang/test/CodeGen/Inputs sanitize-concurrency-ignorelist.txt

ignore
DeltaFile
+29-0clang/test/CodeGen/sanitize-concurrency.c
+2-0clang/test/CodeGen/Inputs/sanitize-concurrency-ignorelist.txt
+31-02 files

LLVM/project b23cacd — compiler-rt/lib/csan csan_watch.h csan_report.cpp, compiler-rt/lib/csan/offload csan_offload_report.cpp csan_offload_hsa_interceptors.cpp

[compiler-rt] Add 'csan' library for the concurrency sanitizer

Summary:
Adds the runtime for the concurrency sanitizer, both CPU and GPU.
Fundamentally, this works using the following pseudocode:

```c
static u64 watchpoints[N]; // Hash-indexed, zero is empty.

// Emitted before the access, so we never trip on our own write.
void check_access(volatile void *addr, u32 size, u32 type) {
    // Every access probes. A read conflicts only with a watched write, a
    // write conflicts with either.
    if (u64 *wp = find_watchpoint(addr, size, type))
        consume(wp, this_pc()); // Hand our location to the owner.

    if (!should_sample()) // Wave-uniform, 1-in-N chance.
        return;


    [17 lines not shown]
DeltaFile
+456-0compiler-rt/lib/csan/csan_gpu.cpp
+370-0compiler-rt/lib/csan/offload/csan_offload_hsa_interceptors.cpp
+334-0compiler-rt/lib/csan/csan.cpp
+279-0compiler-rt/lib/csan/csan_report.cpp
+184-0compiler-rt/lib/csan/offload/csan_offload_report.cpp
+163-0compiler-rt/lib/csan/csan_watch.h
+1,786-044 files not shown
+2,940-250 files

LLVM/project 2d7a606 — clang/lib/Driver SanitizerArgs.cpp, clang/lib/Driver/ToolChains AMDGPU.cpp CommonArgs.cpp

Comments
DeltaFile
+48-0clang/test/Driver/fsanitize-concurrency-offload.c
+27-0clang/test/Driver/fsanitize.c
+16-7clang/lib/Driver/ToolChains/Clang.cpp
+11-4clang/lib/Driver/SanitizerArgs.cpp
+5-6clang/lib/Driver/ToolChains/CommonArgs.cpp
+3-2clang/lib/Driver/ToolChains/AMDGPU.cpp
+110-195 files not shown
+112-2111 files

LLVM/project ec01b68 — clang/docs ConcurrencySanitizer.md, clang/lib/CodeGen CodeGenFunction.cpp

[Clang] Add support for the `-fsanitize=concurrency` runtime

Summary:
Add the frontend sanitizer kind, function attributes, pass pipeline
integration, predefined macro, driver handling, and documentation for
ConcurrencySanitizer.
DeltaFile
+207-0clang/docs/ConcurrencySanitizer.md
+73-0clang/test/CodeGen/sanitize-concurrency.c
+32-8clang/lib/Driver/ToolChains/CommonArgs.cpp
+15-0clang/test/Driver/fsanitize.c
+10-4clang/lib/Driver/SanitizerArgs.cpp
+10-3clang/lib/CodeGen/CodeGenFunction.cpp
+347-1510 files not shown
+375-1616 files

LLVM/project 50a872f — llvm/lib/Transforms/Instrumentation ConcurrencySanitizer.cpp

names and braces
DeltaFile
+39-17llvm/lib/Transforms/Instrumentation/ConcurrencySanitizer.cpp
+39-171 files

FreeBSD/ports 2351a5e — devel/meson distinfo Makefile

devel/meson: update to 1.12.0

Changes:        https://mesonbuild.com/Release-notes-for-1-12-0.html
                https://mesonbuild.com/Release-notes-for-1-11-0.html

PR: 294498
exp-run by: antoine
DeltaFile
+10-5devel/meson/Makefile
+3-3devel/meson/distinfo
+13-82 files

LLVM/project 82db583 — flang/lib/Optimizer/OpenMP MapInfoFinalization.cpp, flang/test/Lower/OpenMP optional-argument-map-4.f90

[Flang][OpenMP] Preserve absent OPTIONAL arguments in target mappings (#227343)

Generate empty mapping bounds for absent optional scalars and
explicit-shape arrays, preserving null pointers and preventing device
allocation or copies from null.

Co-authored-by: Codex <codex at openai.com>
DeltaFile
+186-0offload/test/offloading/fortran/optional-mapped-arguments-5.f90
+94-0flang/test/Lower/OpenMP/optional-argument-map-4.f90
+62-0flang/lib/Optimizer/OpenMP/MapInfoFinalization.cpp
+342-03 files

LLVM/project ff36303 — offload/plugins-nextgen/level_zero/include L0Options.h, offload/plugins-nextgen/level_zero/src L0Options.cpp L0Program.cpp

[Offload][L0] Add support to print the driver build log (#228022)

The log is printed if the driver reported an error (only the first
lines) or in full if LIBOFFLOAD_LEVEL_ZERO_SHOW_BUILD_LOG env var is
set.

Assisted by Claude.
DeltaFile
+68-4offload/plugins-nextgen/level_zero/src/L0Program.cpp
+4-2offload/plugins-nextgen/level_zero/include/L0Options.h
+3-0offload/plugins-nextgen/level_zero/src/L0Options.cpp
+75-63 files

LLVM/project 2876f4b — clang/lib/CIR/CodeGen CIRGenFunction.h CIRGenBuiltinAMDGPU.cpp, clang/test/CIR/CodeGenHIP builtins-amdgcn-gfx10.hip

[CIR][AMDGPU] Use intrinsic type for dpp signature detection (#226921)

This commit modifies the CIR code generation for AMDGPU to use the
intrinsic type for dpp builtin signature detection. This change ensures
that the correct intrinsic type is used when generating code for dpp
operations, instead of relying on hard-coded types.

This should also help simplify the implementation of other future
builtins, such as NVPTX wmma/mma load/store/mma.

Note that this is not an NFC as it changes the signedness in parts of
the builtin signatures. However, that change fits the signature
definitions and the signedness does not carry much meaning for these
builtins either way.

This is a follow-up to #226469.

Assisted-by: Claude Opus 5.5

Signed-off-by: Steffen Holst Larsen <sholstla at amd.com>
DeltaFile
+15-9clang/lib/CIR/CodeGen/CIRGenBuiltin.cpp
+6-15clang/lib/CIR/CodeGen/CIRGenBuiltinAMDGPU.cpp
+6-6clang/test/CIR/CodeGenHIP/builtins-amdgcn-gfx10.hip
+6-0clang/lib/CIR/CodeGen/CIRGenFunction.h
+33-304 files

LLVM/project 1922374 — offload/plugins-nextgen/level_zero/src L0Device.cpp L0Kernel.cpp

[Offload][L0] Remove OMP_INFOTYPE from plugin (#227994)

Remove OpenMP specific debug types and unify everithing under ODBG with
OL debug types in the Level Zero plugin.

Assisted by Claude.
DeltaFile
+16-15offload/plugins-nextgen/level_zero/src/L0Kernel.cpp
+4-5offload/plugins-nextgen/level_zero/src/L0Device.cpp
+20-202 files

LLVM/project 0889666 — clang/lib/CIR/CodeGen CIRGenCall.cpp, clang/test/CIR/CodeGenCUDA nounwind.cu

[CIR] Implement device-wide nounwind attribute (#227016)

This commit implements the missing application of nounwind on device
functions and device calls. This leaves out OpenMP, similar to how OGCG
currently does not support it for OpenMP device functions.

---------

Signed-off-by: Steffen Holst Larsen <sholstla at amd.com>
DeltaFile
+86-0clang/test/CIR/CodeGenCUDA/nounwind.cu
+42-0clang/test/CIR/CodeGenSYCL/nounwind.cpp
+25-0clang/test/CIR/CodeGenOpenCL/nounwind.cl
+10-2clang/lib/CIR/CodeGen/CIRGenCall.cpp
+1-1clang/test/CIR/CodeGenSYCL/kernel-caller-attributes.cpp
+164-35 files

LLVM/project d71228f — clang/lib/CIR/CodeGen CIRGenModule.cpp, clang/lib/CodeGen CodeGenModule.cpp

[CIR] Fix address space of string literals (#226996)

This commit fixes the address space of string literals in CIR. The
address space of string literals is determined by the AST type, which is
always the default address space for address space agnostic languages.
The global variable that holds the string literal may live in a
different address space, e.g. OpenCL constant address space or HIP
device address space. Therefore, we need to cast the global variable to
the pointer type of the AST type when emitting a reference to the string
literal.

Assisted-by: Claude Opus 5.5

---------

Signed-off-by: Steffen Holst Larsen <sholstla at amd.com>
DeltaFile
+226-0clang/test/CIR/CodeGenHIP/string-literal-addrspace.hip
+111-0clang/test/CIR/CodeGenOpenCL/string-literal-addrspace.cl
+21-5clang/lib/CIR/CodeGen/CIRGenModule.cpp
+21-0clang/lib/CodeGenUtils/CodeGenUtils.cpp
+20-0clang/test/CIR/CodeGenSYCL/string-literal-addrspace-nyi.cpp
+1-16clang/lib/CodeGen/CodeGenModule.cpp
+400-213 files not shown
+420-219 files

LLVM/project 43bfdee —

[OpenMP] Initialize td_last_tied when an untied task starts (#214320)

An untied task inherits td_last_tied -- the innermost tied task the
thread is bound to -- from the task it suspends. That inheritance only
happened in __kmp_invoke_task(), so any path that made an untied task
the thread's current task without going through it left td_last_tied at
the NULL that __kmp_task_alloc() assigns. This causes a crash when
__kmp_task_is_allowed() dereferences NULL.

Move the inheritance into __kmp_task_start(), before it sets
th_current_task. Besides the if0 path, this also covers a cancelled
untied task, which is never invoked but still releases its dependences
while it is the current task, and the pattern task of an untied
taskloop, which the runtime starts and finishes directly.

Fixes #172938
DeltaFile
+0-00 files

LLVM/project 3275789 — lld/ELF/Arch LoongArch.cpp, lld/test/ELF loongarch-relax-pcrel-stress.s loongarch-relax-call-stress.s

[lld][LoongArch] Prevent relaxation oscillation for LA.PCRel and CALL (#226713)

Relaxation of pcalau12i+addi (relaxPCHi20Lo12, isInt<22>) and
call36/call30 (relaxMediumCall, isInt<28>) can oscillate: shrinking one
section moves a symbol, which flips isInt<N> for other sites and changes
bytesDropped again.

Follow the same approach as RISCV::relaxCall: after a few passes, do not
allow remove to increase beyond the previous pass's value (cur - delta).
Pass that cap as prevRemove into the two helpers; range checks may still
clear remove (0) when the target goes out of range.

Fixes #226712
DeltaFile
+58-0lld/test/ELF/loongarch-relax-pcrel-stress.s
+58-0lld/test/ELF/loongarch-relax-call-stress.s
+22-7lld/ELF/Arch/LoongArch.cpp
+138-73 files

LLVM/project 24f931e — llvm/lib/Target/AArch64/GISel AArch64InstructionSelector.cpp, llvm/test/CodeGen/AArch64 mops-dead-nzcv.ll

AArch64/GlobalISel: Mark the MOPS pseudo NZCV def dead

Co-authored-by: Claude Opus 5 <noreply at anthropic.com>
DeltaFile
+72-0llvm/test/CodeGen/AArch64/mops-dead-nzcv.ll
+5-2llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
+77-22 files

LLVM/project 1fd3559 — llvm/test/CodeGen/AMDGPU amdgcn.bitcast.768bit.ll amdgcn.bitcast.832bit.ll

Merge branch 'main' into users/arsenm/arm/fastisel-ext-dead-cpsr
DeltaFile
+56,616-76,182llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+18,274-24,021llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+13,718-17,313llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.960bit.ll
+12,761-16,201llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.896bit.ll
+11,589-14,970llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.832bit.ll
+10,448-13,841llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.768bit.ll
+123,406-162,5281,972 files not shown
+285,265-307,0321,978 files

FreeBSD/ports 7ac47e8 — net/tac_plus4 Makefile distinfo, net/tac_plus4/files patch-tac_plus.h patch-tac__plus.8.in

net/tac_plus4: Update to F4.0.4.32

Changes since .28:

- Fix buffer length argument to ntop() - Muhammad Muquit
- Fix two missing free()s
- Fix segfault from incorrect pointer returned from value().  Reported
  here:
  http://www.shrubbery.net/pipermail/tac_plus/2014-January/001384.html
- update autoconf bits for autoconf 2.69
- put tac_plus daemon in sbin, where it ought to be
- fix hdr->datalength handling in dump_nas_pak()
- add -m option to specify the client listen queue max and increase
  the default to 64 if the O/S does not define SOMAXCONN
- fix config.h include syntax - David M. Syzdek
- added -U and -Q flags to allow runtime setuid/setgid change - from
  from Robert Drake with some alteration
- Make implicit time_t conversions explicit in expire.c - from David M.
  Syzdek

    [25 lines not shown]
DeltaFile
+38-13net/tac_plus4/files/patch-Makefile.in
+0-14net/tac_plus4/files/patch-tac__plus.8.in
+2-3net/tac_plus4/Makefile
+3-2net/tac_plus4/distinfo
+2-2net/tac_plus4/files/patch-tac_plus.h
+45-345 files

LLVM/project 6350537 — llvm/test/CodeGen/AMDGPU amdgcn.bitcast.768bit.ll amdgcn.bitcast.832bit.ll

Merge branch 'main' into users/arsenm/register-coalescer/dont-mark-remat-def-dead-live-super-reg
DeltaFile
+84,650-104,067llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+23,490-29,303llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+16,802-20,458llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.960bit.ll
+15,510-18,987llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.896bit.ll
+14,281-17,622llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.832bit.ll
+12,111-15,454llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.768bit.ll
+166,844-205,8917,441 files not shown
+562,096-489,7487,447 files