HardenedBSD/src 4290c29 — sys/amd64/vmm vmm.c, sys/dev/cxgbe t4_vf.c

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+401-0usr.bin/stat/tests/mountpoint_test.sh
+58-3usr.bin/stat/stat.1
+48-0usr.bin/stat/stat.c
+20-4sys/dev/cxgbe/t4_vf.c
+11-9usr.sbin/tcpdrop/tcpdrop.c
+6-6sys/amd64/vmm/vmm.c
+544-2217 files not shown
+573-4823 files

HardenedBSD/src 60631be — lib/clang/include/llvm/Config Targets.h, lib/clang/libllvm Makefile

Merge remote-tracking branch 'rad/hardened/15-stable/main' into hardened/15-stable/pledge
DeltaFile
+6-83lib/clang/libllvm/Makefile
+1-6share/man/man5/src.conf.5
+0-4tools/build/options/WITH_LLVM_TARGET_MIPS
+0-4tools/build/options/WITHOUT_LLVM_TARGET_MIPS
+0-4lib/clang/include/llvm/Config/Targets.h
+2-2tests/sys/fs/fusefs/misc.cc
+9-1036 files not shown
+10-11912 files

HardenedBSD/src 168d256 — sys/amd64/vmm vmm.c, sys/dev/cxgbe t4_vf.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+401-0usr.bin/stat/tests/mountpoint_test.sh
+58-3usr.bin/stat/stat.1
+48-0usr.bin/stat/stat.c
+20-4sys/dev/cxgbe/t4_vf.c
+11-9usr.sbin/tcpdrop/tcpdrop.c
+6-6sys/amd64/vmm/vmm.c
+544-2217 files not shown
+573-4823 files

HardenedBSD/src 4e2c566 — lib/clang/include/llvm/Config Targets.h, lib/clang/libllvm Makefile

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+6-83lib/clang/libllvm/Makefile
+1-6share/man/man5/src.conf.5
+0-4tools/build/options/WITH_LLVM_TARGET_MIPS
+0-4tools/build/options/WITHOUT_LLVM_TARGET_MIPS
+0-4lib/clang/include/llvm/Config/Targets.h
+2-2tests/sys/fs/fusefs/misc.cc
+9-1036 files not shown
+10-11912 files

FreeBSD/ports 238c4ab — audio/dexed/files patch-libs_JUCE_modules_juce__core_native_juce__BasicNativeHeaders.h

audio/dexed: fix build when it was broken due to the mb macro conflict
DeltaFile
+19-0audio/dexed/files/patch-libs_JUCE_modules_juce__core_native_juce__BasicNativeHeaders.h
+19-01 files

LLVM/project 75fa2bd — llvm/tools/llvm-profdata llvm-profdata.cpp

[llvm-profdata] Remove exitWithError and LSan leak workaround

With all subcommands propagating llvm::Error to main, exitWithError,
exitWithErrorCode, and the LSan leak suppression workaround are no
longer needed.

Assisted-by: Gemini
DeltaFile
+0-31llvm/tools/llvm-profdata/llvm-profdata.cpp
+0-311 files

LLVM/project ef79cbf — llvm/tools/llvm-profdata llvm-profdata.cpp

[NFCI][llvm-profdata] Propagate Error in loadInput and mergeWriterContexts

Propagate Error from loadInput and mergeWriterContexts in mergeInstrProfile,
supplementInstrProfile, and overlapInstrProfile. In mergeInstrProfile's
ThreadPool, catch errors from worker threads, stop scheduling new jobs,
and return the first encountered fatal error.

Ensure ~WriterContext() consumes any pending unhandled errors in
WriterContext::Errors upon destruction.

Not NFC as destructors are run on the stack and ThreadPool workers exit
earlier on error.

Assisted-by: Gemini
DeltaFile
+64-26llvm/tools/llvm-profdata/llvm-profdata.cpp
+64-261 files

LLVM/project 40ca8e5 — llvm/tools/llvm-profdata llvm-profdata.cpp

[NFCI][llvm-profdata] Propagate Error in merge subcommand

Change merge_main and its helpers to return Error and handle it
with reportError in main.

Not NFC as destructors are run on the stack.

Assisted-by: Gemini
DeltaFile
+146-111llvm/tools/llvm-profdata/llvm-profdata.cpp
+146-1111 files

LLVM/project 56a27f7 — llvm/tools/llvm-profdata llvm-profdata.cpp

[NFCI][llvm-profdata] Propagate Error in show subcommand (#228156)

Change show_main and its helpers to return Error and handle it
with reportError in main.

Not NFC as destructors are run on the stack.

Assisted-by: Gemini
DeltaFile
+43-45llvm/tools/llvm-profdata/llvm-profdata.cpp
+43-451 files

LLVM/project 084db4a — utils/bazel MODULE.bazel MODULE.bazel.lock

[bazel] Remove unused `rules_android` dependency (#228174)

This dep appears to be unused. Though to note, it is still pulled in
through the `com_google_protobuf` dependency but there is no need to
explicitly pin it as a dependency to `llvm-project`
DeltaFile
+632-11utils/bazel/MODULE.bazel.lock
+0-1utils/bazel/MODULE.bazel
+632-122 files

LLVM/project 3878c5f — clang/docs ReleaseNotes.md, clang/lib/Sema SemaTemplateInstantiateDecl.cpp

[Clang][Sema] Create Local Scope for Variable Template

A variable template should create its own LocalScope as its should be
opaque to other instantiation. This can happens when there is any
duplicate instantiation in the same lexical scope. The correct behavior
here is that these instantiation should not be chained together.

Assisted-by: Claude # Test ReleaseNote
DeltaFile
+34-0clang/test/SemaTemplate/instantiate-var-template.cpp
+5-0clang/docs/ReleaseNotes.md
+4-0clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
+43-03 files

LLVM/project 0791157 — libcxx/test/libcxx/thread/thread.condition PR30202_notify_from_pthread_created_thread.pass.cpp, libcxx/test/std/input.output/syncstream/osyncstream/thread several_threads.pass.cpp

[libc++][test] Remove some `XFAIL` for LLVM libc in multi-threaded tests (#228036)

Recently, LLVM libc fixed https://llvm.org/PR194029 in
https://llvm.org/PR226134, so more libc++ tests passes with LLVM libc
now.

Co-authored-by: Aiden Grossman <aidengrossman at google.com>
DeltaFile
+0-3libcxx/test/std/thread/thread.condition/notify_all_at_thread_exit_lwg3343.pass.cpp
+0-3libcxx/test/std/input.output/syncstream/osyncstream/thread/several_threads.pass.cpp
+0-3libcxx/test/libcxx/thread/thread.condition/PR30202_notify_from_pthread_created_thread.pass.cpp
+0-93 files

LLVM/project d4f6f06 —

[clang-repl] Fix TargetMachine leak in CUDA device PTX generation (#228208)

The TargetMachine created per PTU in GeneratePTX was never freed, which
LSan now flags with the addition of DeviceOffloadTest. Make it a
unique_ptr declared before the PassManager, since the codegen passes
hold a reference to it.
DeltaFile
+0-00 files

LLVM/project 21912d4 —

[clang-repl] Fix TargetMachine leak in CUDA device PTX generation (#228208)

The TargetMachine created per PTU in GeneratePTX was never freed, which
LSan now flags with the addition of DeviceOffloadTest. Make it a
unique_ptr declared before the PassManager, since the codegen passes
hold a reference to it.
DeltaFile
+0-00 files

LLVM/project 4204004 — clang/lib/Interpreter DeviceOffload.cpp

[clang-repl] Fix TargetMachine leak in CUDA device PTX generation (#228208)

The TargetMachine created per PTU in GeneratePTX was never freed, which
LSan now flags with the addition of DeviceOffloadTest. Make it a
unique_ptr declared before the PassManager, since the codegen passes
hold a reference to it.
DeltaFile
+4-4clang/lib/Interpreter/DeviceOffload.cpp
+4-41 files

LLVM/project 07b29f6 — utils/bazel/llvm-project-overlay/openmp/runtime/src BUILD.bazel

[Bazel] Fixes 1524cec (#228273)

This fixes 1524cec90a78ad6da741458ee6fdea4721894398 (#225427).

Buildkite error link:
https://buildkite.com/llvm-project/upstream-bazel/builds?commit=1524cec90a78ad6da741458ee6fdea4721894398

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
Co-authored-by: Aiden Grossman <aidengrossman at google.com>
DeltaFile
+4-0utils/bazel/llvm-project-overlay/openmp/runtime/src/BUILD.bazel
+4-01 files

LLVM/project 7710aeb — compiler-rt/lib/builtins/cpu_model/aarch64/fmv elf_aux_info.inc, libunwind/src Registers.hpp

[compiler-rt][libunwind] Check elf_aux_info return value (#228190)

elf_aux_info() returns an errno value (0 on success) rather than -1
with errno set. Check the result and treat a failure as "no features
reported" instead of silently ignoring the error.

In compiler-rt, hwcap had no initializer, so a failed call left it
uninitialized. The libunwind users already started from zero, so the
change there only makes the error handling explicit.
DeltaFile
+5-3compiler-rt/lib/builtins/cpu_model/aarch64/fmv/elf_aux_info.inc
+3-2libunwind/test/ra_sign_state.pass.cpp
+3-2libunwind/test/aarch64_za_unwind.pass.cpp
+3-2libunwind/src/Registers.hpp
+14-94 files

LLVM/project 1518316 — llvm/lib/Transforms/InstCombine InstCombineAndOrXor.cpp, llvm/test/Transforms/InstCombine xor-and-or.ll

[InstCombine] Fix profile propagation in xor-and-or.ll (#228246)

c461d3cf5e8b9cd2e930d7a275ecdd485b6fcc29 previously attempted to fix
this, but was partially incorrect (propagation in
xor_logic_and_logic_or2_commuted picked up metadata from the wrong
select), and also partially incomplete. This patch fixes that by making
the conditions where we pull profile metadata simpler (now when the new
condition exactly matches a previous condition).
DeltaFile
+9-9llvm/test/Transforms/InstCombine/xor-and-or.ll
+13-3llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
+0-1llvm/utils/profcheck-xfail.txt
+22-133 files

LLVM/project 3efd7c4 — clang/lib/Interpreter DeviceOffload.cpp

Drop redundant null check

Created using spr 1.3.7
DeltaFile
+0-3clang/lib/Interpreter/DeviceOffload.cpp
+0-31 files

LLVM/project 516e4f6 — clang/lib/Interpreter DeviceOffload.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+7-3clang/lib/Interpreter/DeviceOffload.cpp
+7-31 files

OpenZFS/src 86b3fb1 — include/sys spa_impl.h, module/zfs spa_misc.c spa.c

Build the pool stats config without the namespace lock

The spa_open_common() function built the full config with vdev stats
while it held the namespace lock. Every pool lookup in the system waits
on that lock, so polling stats on a pool with many vdevs slowed down
unrelated pool operations. The config is now built after the lock is
dropped. spa_config_generate() takes the config locks it needs. The
recovery load info is copied while the lock is still held.

A stats caller now holds the pool for as long as the build takes, which
can be hundreds of milliseconds on a pool with many vdevs. Export fails
with "pool is busy" when it sees such a hold, so running zpool iostat or
zpool status in a loop would break zpool export, zpool destroy and
zpool split. To avoid this, stats callers count their hold, and export
waits for that count to drop to zero before it sets spa_export_thread.
New stats callers wait while the pool is being exported, so the wait
always ends. The hold and its count are taken and dropped together
under the namespace lock. As before, export holds the namespace lock
from setting spa_export_thread until it checks the pool references.

    [8 lines not shown]
DeltaFile
+71-12module/zfs/spa.c
+62-0tests/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export_stats_pos.ksh
+2-1tests/runfiles/common.run
+1-0tests/zfs-tests/tests/Makefile.am
+1-0module/zfs/spa_misc.c
+1-0include/sys/spa_impl.h
+138-136 files

LLVM/project 62a600b — llvm/test/CodeGen/AArch64 tbl-loops.ll

[AArch64][GlobalISel] Add full reverse tbl loop test. NFC (#228276)

Add GISel test coverage whilst here too.
DeltaFile
+837-0llvm/test/CodeGen/AArch64/tbl-loops.ll
+837-01 files

LLVM/project d903a7b — llvm/tools/llvm-profdata llvm-profdata.cpp

[llvm-profdata] Remove exitWithError and LSan leak workaround

With all subcommands propagating llvm::Error to main, exitWithError,
exitWithErrorCode, and the LSan leak suppression workaround are no
longer needed.

Assisted-by: Gemini
DeltaFile
+0-31llvm/tools/llvm-profdata/llvm-profdata.cpp
+0-311 files

LLVM/project bb8ee77 — llvm/tools/llvm-profdata llvm-profdata.cpp

[NFCI][llvm-profdata] Propagate Error in loadInput and mergeWriterContexts

Propagate Error from loadInput and mergeWriterContexts in mergeInstrProfile,
supplementInstrProfile, and overlapInstrProfile. In mergeInstrProfile's
ThreadPool, catch errors from worker threads, stop scheduling new jobs,
and return the first encountered fatal error.

Ensure ~WriterContext() consumes any pending unhandled errors in
WriterContext::Errors upon destruction.

Not NFC as destructors are run on the stack and ThreadPool workers exit
earlier on error.

Assisted-by: Gemini
DeltaFile
+64-26llvm/tools/llvm-profdata/llvm-profdata.cpp
+64-261 files

LLVM/project 6d46f8a — llvm/tools/llvm-profdata llvm-profdata.cpp

[NFCI][llvm-profdata] Propagate Error in merge subcommand

Change merge_main and its helpers to return Error and handle it
with reportError in main.

Not NFC as destructors are run on the stack.

Assisted-by: Gemini
DeltaFile
+146-111llvm/tools/llvm-profdata/llvm-profdata.cpp
+146-1111 files

LLVM/project b1fb7c4 — llvm/tools/llvm-profdata llvm-profdata.cpp

[NFCI][llvm-profdata] Propagate Error in show subcommand

Change show_main and its helpers to return Error and handle it
with reportError in main.

Not NFC as destructors are run on the stack.

Assisted-by: Gemini
DeltaFile
+43-45llvm/tools/llvm-profdata/llvm-profdata.cpp
+43-451 files

LLVM/project c410892 — llvm/tools/llvm-profdata llvm-profdata.cpp

[NFCI][llvm-profdata] Propagate Error in overlap subcommand (#228155)

Change overlap_main and its helpers to return Error and handle it
with reportError in main.

Not NFC as destructors are run on the stack.

Assisted-by: Gemini
DeltaFile
+36-34llvm/tools/llvm-profdata/llvm-profdata.cpp
+36-341 files

LLVM/project 72435d3 — clang/include/clang/CIR/Dialect/IR CIROps.td, clang/lib/CIR/CodeGen CIRGenCoroutine.cpp

[CIR] Add structured control flow for coroutine suspend points (#213191)

This PR adds 2 new ops for improving structured control flow in
coroutines, according to the redesign in this discussion:
https://github.com/llvm/llvm-project/pull/203802#discussion_r3464356343

One of the ops is `suspend_point`, which marks the point where a
coroutine should suspend and return control flow to the caller it's also
the point where the coroutine resumes from when it starts again. This op
must be inside the `cir.await` suspend region, and it works in pair with
the `CoroRetPoint` op, which marks the only exit point of the coroutine
so no matter how many awaits/suspend points exist in the body, they all
converge on the same exit path.
This will help the FlattenCFG pass know where to branch when flattening
the `cir.await` op. Previously we didn't have an exact point to branch
to when suspending a coroutine this gives us that.

---------

Co-authored-by: Erich Keane <ekeane at nvidia.com>
DeltaFile
+186-177clang/test/CIR/CodeGenCoroutines/coro-task.cpp
+166-135clang/lib/CIR/CodeGen/CIRGenCoroutine.cpp
+289-0clang/test/CIR/IR/invalid-coroutine.cir
+215-29clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+122-42clang/include/clang/CIR/Dialect/IR/CIROps.td
+85-17clang/unittests/CIR/ControlFlowTest.cpp
+1,063-40010 files not shown
+1,239-47616 files

LLVM/project 839d60d — clang/lib/CIR/CodeGen CIRGenOpenMPClause.h CIRGenStmtOpenMP.cpp, clang/test/CIR/CodeGenOpenMP parallel.c not-yet-implemented.c

[CIR][OpenMP] Add support for combined target parallel directives (#207019)

This patch adds support for handling combined target and parallel
directives. It also refactors the code so that the emission functions
can be easily combined to handle both the single and combine cases for
emitting directives.

Assisted-by: Cursor / claude-opus-4.8-medium
DeltaFile
+365-0clang/lib/CIR/CodeGen/CIRGenOpenMPConstructDecomposition.h
+199-72clang/lib/CIR/CodeGen/CIRGenStmtOpenMP.cpp
+58-0clang/test/CIR/CodeGenOpenMP/target-parallel.c
+21-0clang/test/CIR/CodeGenOpenMP/not-yet-implemented.c
+10-5clang/lib/CIR/CodeGen/CIRGenOpenMPClause.h
+2-5clang/test/CIR/CodeGenOpenMP/parallel.c
+655-821 files not shown
+659-837 files

LLVM/project 6351af1 — llvm/test/CodeGen/AMDGPU amdgcn.bitcast.768bit.ll amdgcn.bitcast.960bit.ll

rebase and update test
DeltaFile
+46,127-46,139llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+8,511-8,754llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+6,023-6,182llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.896bit.ll
+5,965-6,074llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.832bit.ll
+5,837-6,020llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.960bit.ll
+5,011-5,136llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.768bit.ll
+77,474-78,30516 files not shown
+106,360-109,24122 files