LLVM/project 556cd4e — .github/workflows llvm-test-suite-lnt-pipeline.yml libcxx-lnt-pipeline.yml

[libc++][ci] Submit the results of PR benchmarks to LNT in a single job (#237337)

Instead of spawning one submission job per machine, which is wasteful,
download all the artifacts in a single job and submit them.
DeltaFile
+12-10.github/workflows/lnt-submit.yml
+3-8.github/workflows/libcxx-pr-benchmark.yml
+1-1.github/workflows/llvm-test-suite-lnt-pipeline.yml
+1-1.github/workflows/libcxx-lnt-pipeline.yml
+1-1.github/workflows/libcxx-lnt-pipeline-libstdcxx.yml
+18-215 files

LLVM/project 42adfa6 — llvm/lib/Target/Sparc SparcISelLowering.cpp

Sparc: Remove redundant check for +/-0.5 immediates (#237319)

getExactLog2Abs() == -1 already checks for +/-0.5, so drop the
separate isExactlyValue comparisons.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+3-5llvm/lib/Target/Sparc/SparcISelLowering.cpp
+3-51 files

LLVM/project 3cf102a — llvm/test/CodeGen/AArch64/GlobalISel combine-max-min.mir combine-max-min.ll, llvm/test/CodeGen/PowerPC sink-down-more-instructions-regpressure-high.mir convert-rr-to-ri-instrs.mir

Merge branch 'main' into users/arsenm/x86/remove-addregoffset-kill
DeltaFile
+221-303llvm/test/CodeGen/RISCV/GlobalISel/double-convert.ll
+225-225llvm/test/CodeGen/PowerPC/convert-rr-to-ri-instrs.mir
+114-154llvm/test/CodeGen/RISCV/GlobalISel/double-arith.ll
+0-171llvm/test/CodeGen/AArch64/GlobalISel/combine-max-min.ll
+1-157llvm/test/CodeGen/AArch64/GlobalISel/combine-max-min.mir
+76-76llvm/test/CodeGen/PowerPC/sink-down-more-instructions-regpressure-high.mir
+637-1,086201 files not shown
+1,764-2,280207 files

LLVM/project f5dd2dc — clang/test lit.cfg.py, clang/test/Interpreter/CUDA host-and-device-codegen.cu memory-codegen.cu

[clang-repl] Add stubs for CUDA runtime and enable tests on CI (#236206)

The tests in test/Interpreter/CUDA run only where clang-repl can launch
a kernel. None of them currently runs in CI: premerge reports the whole
directory as unsupported and no buildbot runs clang's lit tests on a
GPU. clang-repl emits the PTX and the fatbinary itself. A host without
CUDA lacks only the runtime that the JIT'd host code calls.

Each test now builds a stub runtime from Inputs/cudart.c, loads it with
--cuda-path and checks the kernels the host code registers and launches
instead of the values they compute. clang's CodeGenCUDA tests check the
same registration and launch calls in the IR, with a minimal
Inputs/cuda.h and no toolkit. libdevice-math.cu needs libdevice and a
GPU and is removed. DeviceOffloadTest covers its change in
BuiltinBitcodeLinkedIntoEveryModule. The host-supports-cuda probe has no
user left and is removed too.

Assisted-by: Claude Opus 5.5
DeltaFile
+48-1clang/test/Interpreter/CUDA/lit.local.cfg
+42-0clang/test/Interpreter/CUDA/Inputs/cudart.c
+39-0clang/test/Interpreter/CUDA/Inputs/cuda.h
+0-29clang/test/lit.cfg.py
+29-0clang/test/Interpreter/CUDA/memory-codegen.cu
+27-0clang/test/Interpreter/CUDA/host-and-device-codegen.cu
+185-3012 files not shown
+284-4018 files

LLVM/project d1ea97d — llvm/test/CodeGen/AArch64/GlobalISel combine-max-min.mir combine-max-min.ll, llvm/test/CodeGen/PowerPC sink-down-more-instructions-regpressure-high.mir convert-rr-to-ri-instrs.mir

Merge branch 'main' into users/d-makogon/revert-scev-fall-through-implications
DeltaFile
+221-303llvm/test/CodeGen/RISCV/GlobalISel/double-convert.ll
+225-225llvm/test/CodeGen/PowerPC/convert-rr-to-ri-instrs.mir
+114-154llvm/test/CodeGen/RISCV/GlobalISel/double-arith.ll
+0-171llvm/test/CodeGen/AArch64/GlobalISel/combine-max-min.ll
+1-157llvm/test/CodeGen/AArch64/GlobalISel/combine-max-min.mir
+76-76llvm/test/CodeGen/PowerPC/sink-down-more-instructions-regpressure-high.mir
+637-1,086183 files not shown
+1,480-2,240189 files

LLVM/project 60fcbb5 — llvm/lib/CodeGen/GlobalISel LegalizerHelper.cpp, llvm/lib/Target/RISCV RISCVISelLowering.cpp

GlobalISel: Make default lower action smarter for FP constants (#237307)

Add an LLT version of getFPImmAction and use it in the default
expansion, which allows targets to select the integer bitcast or
constant pool strategies without resorting to duplicated custom
lowering.

RISCV soft float f64 and fp128 constants are now materialized from
integers instead of loaded from the constant pool, which matches DAG
behavior.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+221-303llvm/test/CodeGen/RISCV/GlobalISel/double-convert.ll
+114-154llvm/test/CodeGen/RISCV/GlobalISel/double-arith.ll
+15-34llvm/test/CodeGen/RISCV/GlobalISel/constantpool.ll
+16-32llvm/test/CodeGen/RISCV/GlobalISel/store-fp-zero-to-x0.ll
+23-0llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+10-4llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
+399-5278 files not shown
+428-55914 files

FreeBSD/ports 4d06e2b — security/metasploit distinfo Makefile, security/metasploit/files patch-config_boot.rb

security/metasploit: Update to 6.5.8

Move to the Rails 8.0 ports, which this release requires.

Disable bootsnap's bytecode cache: its workaround for Ruby bug 22023 reads
source files honouring Encoding.default_internal, which metasploit sets to
binary, so msfconsole does not start.  Fixed upstream in bootsnap 1.26.1;
drop the patch once devel/rubygem-bootsnap is updated.

Changelog:      https://github.com/rapid7/metasploit-framework/compare/6.4.58...6.5.8

Security:       4488c0db-d45b-11f1-bae2-3497f65b111b
With hat:       ports-secteam
Sponsored by:   Netzkommune GmbH

(cherry picked from commit d881527a6f777d58dff9bb31e76a42d6bc91ea85)
DeltaFile
+26-15security/metasploit/Makefile
+18-0security/metasploit/files/patch-config_boot.rb
+3-3security/metasploit/distinfo
+47-183 files

FreeBSD/ports eb916ae — security/rubygem-rex-powershell Makefile distinfo

security/rubygem-rex-powershell: Update to 0.1.105

Changelog:      https://github.com/rapid7/rex-powershell/compare/v0.1.103...v0.1.105

Approved by:    antoine (maintainer)
Sponsored by:   Netzkommune GmbH

(cherry picked from commit 7426491168535d522405f9ec5545a5c34c24e01c)
DeltaFile
+3-3security/rubygem-rex-powershell/distinfo
+1-1security/rubygem-rex-powershell/Makefile
+4-42 files

FreeBSD/ports 4c2ea75 — security/rubygem-metasploit-credential distinfo Makefile

security/rubygem-metasploit-credential: Update to 6.0.25

Changelog:      https://github.com/rapid7/metasploit-credential/compare/v6.0.14...v6.0.25

Approved by:    antoine (maintainer)
Sponsored by:   Netzkommune GmbH

(cherry picked from commit 8a4afb927fbcf12d00b65a03323dc0cb26fea6da)
DeltaFile
+8-4security/rubygem-metasploit-credential/Makefile
+3-3security/rubygem-metasploit-credential/distinfo
+11-72 files

FreeBSD/ports 7089e20 — converters/rubygem-xdr Makefile

converters/rubygem-xdr: Use the Rails 8.0 ports

The gemspec caps activesupport and activemodel below 8.0.  The bound is
precautionary, the gem only uses basic features of both, and
security/metasploit needs Rails 8.0.

Approved by:    antoine (maintainer)
Sponsored by:   Netzkommune GmbH

(cherry picked from commit 7c3bff5ce4e31b02604eb587084db65f665c5985)
DeltaFile
+8-3converters/rubygem-xdr/Makefile
+8-31 files

FreeBSD/ports 4436d2d — security/rubygem-metasploit_data_models distinfo Makefile

security/rubygem-metasploit_data_models: Update to 6.0.18

Use the Rails 8.0 ports, which 6.0.18 allows.

Changelog:      https://github.com/rapid7/metasploit_data_models/compare/v6.0.9...v6.0.18

Approved by:    antoine (maintainer)
Sponsored by:   Netzkommune GmbH

(cherry picked from commit 3ea0c1e862d49a53b33a2057b7602568f323b746)
DeltaFile
+8-5security/rubygem-metasploit_data_models/Makefile
+3-3security/rubygem-metasploit_data_models/distinfo
+11-82 files

FreeBSD/ports 8cdd40b — databases/rubygem-arel-helpers Makefile

databases/rubygem-arel-helpers: Use the Rails 8.0 ports

Needed by security/metasploit, which moves to Rails 8.0.

Approved by:    antoine (maintainer)
Sponsored by:   Netzkommune GmbH

(cherry picked from commit 350790c2020c6514aa26002e3eae34a0b180b4dc)
DeltaFile
+2-2databases/rubygem-arel-helpers/Makefile
+2-21 files

FreeBSD/ports 677c23e — security/rubygem-metasploit-concern distinfo Makefile

security/rubygem-metasploit-concern: Update to 5.0.6

Use the Rails 8.0 ports: 5.0.4 required activemodel, activesupport and
railties ~> 7.0, 5.0.6 allows 8.0.

Changelog:      https://github.com/rapid7/metasploit-concern/compare/v5.0.4...v5.0.6

Approved by:    antoine (maintainer)
Sponsored by:   Netzkommune GmbH

(cherry picked from commit 9a57071b0c2b0c79228cf6670a9a78e2ae45783e)
DeltaFile
+6-5security/rubygem-metasploit-concern/Makefile
+3-3security/rubygem-metasploit-concern/distinfo
+9-82 files

FreeBSD/ports c3f1b32 — security/rubygem-metasploit-model distinfo Makefile

security/rubygem-metasploit-model: Update to 5.0.5

Use the Rails 8.0 ports: 5.0.4 required activemodel, activesupport and
railties ~> 7.0, 5.0.5 allows 8.0.

Changelog:      https://github.com/rapid7/metasploit-model/compare/v5.0.3...v5.0.5

Approved by:    antoine (maintainer)
Sponsored by:   Netzkommune GmbH

(cherry picked from commit fa3ab949d2928a1e64ae11eefdadad1125aa2865)
DeltaFile
+7-4security/rubygem-metasploit-model/Makefile
+3-3security/rubygem-metasploit-model/distinfo
+10-72 files

FreeBSD/ports 06b2ebe — security/rubygem-metasploit-payloads Makefile distinfo

security/rubygem-metasploit-payloads: Update to 2.0.257

Changelog:      https://github.com/rapid7/metasploit-payloads/compare/v2.0.189...v2.0.257

Approved by:    antoine (maintainer)
Sponsored by:   Netzkommune GmbH

(cherry picked from commit 0644544b16c5ec0ab9e6c44529db9cf5dfa0123e)
DeltaFile
+3-3security/rubygem-metasploit-payloads/distinfo
+1-1security/rubygem-metasploit-payloads/Makefile
+4-42 files

FreeBSD/ports a1667a5 — security/rubygem-metasploit_payloads-mettle Makefile distinfo

security/rubygem-metasploit_payloads-mettle: Update to 1.0.48

Changelog:      https://rubygems.org/gems/metasploit_payloads-mettle/versions

Approved by:    antoine (maintainer)
Sponsored by:   Netzkommune GmbH

(cherry picked from commit 67d4bb74503b0d4bfbf06b16ba1f06887e1eaee0)
DeltaFile
+3-3security/rubygem-metasploit_payloads-mettle/distinfo
+1-1security/rubygem-metasploit_payloads-mettle/Makefile
+4-42 files

FreeBSD/ports 6da5400 — math/octave-forge-parts Makefile

math/octave-forge-parts: Fix run_depends.

    Bump portrevision.
DeltaFile
+3-1math/octave-forge-parts/Makefile
+3-11 files

FreeBSD/ports 7068041 — math/octave-forge-csg-toolkit Makefile

math/octave-forge-csg-toolkit: Fix run_depends.

Bump portrevision.
DeltaFile
+4-2math/octave-forge-csg-toolkit/Makefile
+4-21 files

FreeBSD/ports 7bda5d7 — math/octave-forge-octave_zstd Makefile

math/octave-forge-octave_zstd: Fix run_depends.

    Bump portrevision.
DeltaFile
+1-3math/octave-forge-octave_zstd/Makefile
+1-31 files

FreeBSD/ports ec90ee9 — math/octave-forge-fileio Makefile

math/octave-forge-fileio: Fix run_depends.

Bump portrevision.
DeltaFile
+3-1math/octave-forge-fileio/Makefile
+3-11 files

LLVM/project 51586f5 — 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 4a2fcfe — 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 aaa29c1 — 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 dcb624a — 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 c488d79 — 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 de9f460 — 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 4e67d1e — 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 37f6d83 — 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 f025cce — 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 ed25a30 — llvm/lib/Transforms/Instrumentation ConcurrencySanitizer.cpp

fix deprecated
DeltaFile
+1-1llvm/lib/Transforms/Instrumentation/ConcurrencySanitizer.cpp
+1-11 files