LLVM/project 28fec94llvm/test/tools/llvm-profgen lit.local.cfg, llvm/test/tools/llvm-profgen/AArch64 cs-bogus-trace.test

[llvm-profgen] Fix bogus trace check (#225569)
DeltaFile
+160-0llvm/test/tools/llvm-profgen/AArch64/cs-bogus-trace.test
+30-5llvm/tools/llvm-profgen/PerfReader.cpp
+3-18llvm/tools/llvm-profgen/PerfReader.h
+5-0llvm/test/tools/llvm-profgen/lit.local.cfg
+198-234 files

HardenedBSD/src c6e1e91release Makefile.vm, release/tools vmimage.subr

HBSD: Resolve merge conflicts

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
DeltaFile
+0-4release/Makefile.vm
+0-3release/tools/vmimage.subr
+0-72 files

HardenedBSD/src fe1f30crelease Makefile.vm, release/tools ec2_setpass vmimage.subr

Merge remote-tracking branch 'rad/freebsd/15-stable/main' into hardened/15-stable/main

Conflicts:
        release/Makefile.vm (unresolved)
        release/tools/vmimage.subr (unresolved)
DeltaFile
+73-0release/tools/ec2-desktop.conf
+60-0release/tools/vmimage.subr
+60-0release/tools/ec2_desktop_extras
+58-0release/tools/ec2_setpass
+5-0release/Makefile.vm
+256-05 files

LLVM/project 9058b9cllvm/lib/Target/RISCV/GISel RISCVLegalizerInfo.cpp, llvm/test/CodeGen/RISCV/GlobalISel half-convert.ll

[RISCV][GlobalISel] Fix fptosi/fptoui from half to i64 on RV32 (#222316)

The fcvt.l[u].h patterns are RV64-only, so RV32 had no rule for
`G_FPTOSI/G_FPTOUI` with `{s64, s16}.` The magnitude of a half is at
most `65504`, so with Zfh the i32 result of `fcvt.w[u].h` never
overflows and can simply be extended to i64.
DeltaFile
+75-0llvm/test/CodeGen/RISCV/GlobalISel/half-convert.ll
+5-0llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
+80-02 files

LLVM/project 22108b5llvm/test/TableGen AMDGPUTargetDefGenericClassification.td AMDGPUTargetDefGenericFeatures.td

[AMDGPU] Use synthetic fixtures for generic feature validation tests  (#225551)

Remove the classification test that includes the full AMDGPU target.
Real targets are validated when generating AMDGPUTargetParserDef.inc
during the build.

Extend the lightweight generic feature tests to cover inherited
classifications of backend-only features, support through member-side
implications, and unsupported generic-side implied features.

Addresses the timeout reported on #223179
DeltaFile
+64-16llvm/test/TableGen/AMDGPUTargetDefGenericFeatures.td
+0-71llvm/test/TableGen/AMDGPUTargetDefGenericClassification.td
+64-872 files

LLVM/project ad3b8belibcxx/docs TestingLibcxx.rst

[libc++][docs] Fix typos in TestingLibcxx.rst (#225983)
DeltaFile
+5-5libcxx/docs/TestingLibcxx.rst
+5-51 files

FreeBSD/src c5cc084sbin/ipfw ipfw.8

ipfw.8: clarify a difference between reset and reset6 actions

PR:             298348
MFC after:      2 weeks

(cherry picked from commit 009940e3d4d398f0cba8b689d284bd8585e2ad5a)
DeltaFile
+3-3sbin/ipfw/ipfw.8
+3-31 files

FreeBSD/src 1511b29sbin/ipfw ipfw.8

ipfw.8: more grammar fixes

(cherry picked from commit b31db8d8de6785804f6b552bc9d7d1960a47eea5)
DeltaFile
+3-3sbin/ipfw/ipfw.8
+3-31 files

FreeBSD/src f38dfbfsbin/ipfw ipfw.8

ipfw.8: whitespace police

(cherry picked from commit b891252f209bf22938c9492496d166da96fcba1f)
DeltaFile
+1-1sbin/ipfw/ipfw.8
+1-11 files

FreeBSD/src fd3ded8sbin/ipfw ipfw.8

ipfw.8: grammar

(cherry picked from commit 055a726ca6324eead24df4177effd9c69755f386)
DeltaFile
+8-8sbin/ipfw/ipfw.8
+8-81 files

LLVM/project 50c52f5llvm/lib/Target/PowerPC PPCTargetMachine.cpp, llvm/test/CodeGen/PowerPC O3-pipeline.ll O0-pipeline.ll

[PowerPC] Restore LiveVariables run before PPCTLSDynamicCallPass (#225816)

This change is a partial revert of 7818c91f7151. Removing the explicit
LiveVariables run before PPCTLSDynamicCallPass causes a crash on ppc64le
-fPIC builds:
```
  fatal error: error in backend: Use not jointly dominated by defs.
```
This change was first added in 2016 with an unresolved FIXME.
Unfortunately, the root cause still needs to be understood and
investigated, so restore this for now to fix the broken buildbots.
DeltaFile
+8-2llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
+2-0llvm/test/CodeGen/PowerPC/O3-pipeline.ll
+2-0llvm/test/CodeGen/PowerPC/O0-pipeline.ll
+12-23 files

LLVM/project b0c96fdclang/include/clang/CIR/Dialect/IR CIRDialect.td, clang/lib/CIR/CodeGen CIRGenModule.cpp

[CIR] Introduce the cir.sdk_version module attribute (#225953)

CIRGen records the platform SDK version on the module as a
`cir.sdk_version` string attribute, and LoweringPrepare's CUDA/HIP
registration reads it instead of  `getTargetInfo().getSDKVersion()` to gate
`__cudaRegisterFatBinaryEnd`, dropping one more `ASTContext` dependency
from the post-CIRGen pipeline.

LLVM IR already records the same fact as the "SDK Version" module flag
(`Module::setSDKVersion/getSDKVersion`), so an attribute on the module
is proper.

Co-authored-by: Claude Opus 5 <noreply at anthropic.com>
DeltaFile
+28-2clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+17-0clang/test/CIR/CodeGenCUDA/device-stub.cu
+17-0clang/test/CIR/CodeGen/sdk-version.c
+4-0clang/lib/CIR/CodeGen/CIRGenModule.cpp
+3-0clang/include/clang/CIR/Dialect/IR/CIRDialect.td
+69-25 files

LLVM/project 1c57168flang/include/flang/Optimizer/Support Utils.h, flang/lib/Optimizer/Builder IntrinsicCall.cpp

[flang] Remove FIRBuilder dependency from optimizer support utilities (#225836)

Fix a GCC 16 build failure where FIROps.cpp.o had undefined references
to
fir::FirOpBuilder::setCommonAttributes(mlir::Operation *) const from
FirOpBuilder::notifyOperationInserted,
RewriterBase::ForwardingListener's notifyOperationInserted, and
OpBuilder::createOrFold<fir::ConvertOp>.

FIROps.cpp includes Optimizer/Support/Utils.h, which previously included
FIRBuilder.h. That exposes the inline virtual override
FirOpBuilder::notifyOperationInserted and its call to the out-of-line
setCommonAttributes implementation. Speculative devirtualization can
turn an ordinary virtual listener call into a guarded direct call and
inline that override, introducing a reference to setCommonAttributes
without an explicit use of FirOpBuilder in FIROps.cpp. This is
consistent with the reported call sites and GCC 16's expanded
speculative devirtualization.


    [18 lines not shown]
DeltaFile
+18-23flang/include/flang/Optimizer/Support/Utils.h
+13-14flang/lib/Optimizer/Builder/IntrinsicCall.cpp
+11-11flang/lib/Optimizer/Builder/Runtime/Reduction.cpp
+10-10flang/lib/Optimizer/Builder/Runtime/Numeric.cpp
+6-7flang/lib/Optimizer/Builder/Runtime/Transformational.cpp
+1-0flang/lib/Optimizer/CodeGen/CodeGen.cpp
+59-656 files

OpenBSD/ports fum33kjlang/jruby distinfo Makefile, lang/jruby/patches patch-bin_jruby_sh

   Update to JRuby 10.1.2.0

   Enable building on aarch64. Thank you to ian@ for testing a prerelease
   and confirming it works.

   Update jffi to 1.4.0, which uses a different prefix.

   Drop a patch for an issue that was addressed upstream.
VersionDeltaFile
1.86+823-830lang/jruby/pkg/PLIST
1.92+4-4lang/jruby/distinfo
1.133+4-4lang/jruby/Makefile
1.4+0-0lang/jruby/patches/patch-bin_jruby_sh
+831-8384 files

NetBSD/src UNveQSWsys/ufs/lfs lfs_vfsops.c

   Add one more instance of LFS_RELEASESEGENTRY() overlooked in the last commit.
VersionDeltaFile
1.406+3-3sys/ufs/lfs/lfs_vfsops.c
+3-31 files

HardenedBSD/src 65a8b68lib/libpmcstat libpmcstat_image.c, lib/libsys stat.2

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+75-11tests/sys/fs/fusefs/pre-init.cc
+31-0sys/fs/fuse/fuse_vfsops.c
+1-23sys/fs/fuse/fuse_ipc.c
+0-23sys/modules/dtrace/Makefile.inc
+19-2lib/libsys/stat.2
+17-2lib/libpmcstat/libpmcstat_image.c
+143-6127 files not shown
+215-13233 files

FreeBSD/ports cc0257fdeskutils/taskwarrior Makefile, deskutils/taskwarrior/files patch-src_CMakeLists.txt extra-patch-src_libshared_src_Datetime.cpp

deskutils/taskwarrior: Fix i386 build and WITH_DEBUG builds

- Cast to time_t in Datetime::operator+/- (libshared): time_t is 32-bit
  on i386, so the braced return narrowed int64_t and clang rejected it
  with -Wc++11-narrowing.  Only needed on 32-bit architectures, so apply
  the patch through EXTRA_PATCHES when ARCH is i386 instead of always.
- Stop upstream from compiling -DTASK_TEST_RCDIR="${CMAKE_SOURCE_DIR}/doc/rc"
  into the binary for Debug builds: WITH_DEBUG made the binary write
  "include <WRKSRC>/doc/rc/default.theme" into every generated .taskrc,
  breaking it once the work directory is removed.  Also drop the
  ineffective -DCMAKE_BUILD_TYPE=release (Uses/cmake.mk appends its own
  CMAKE_BUILD_TYPE afterwards, which always wins).
DeltaFile
+23-0deskutils/taskwarrior/files/extra-patch-src_libshared_src_Datetime.cpp
+19-0deskutils/taskwarrior/files/patch-src_CMakeLists.txt
+10-3deskutils/taskwarrior/Makefile
+52-33 files

HardenedBSD/src 0fdb4falib/libpmcstat libpmcstat_image.c, lib/libsys stat.2

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+75-11tests/sys/fs/fusefs/pre-init.cc
+31-0sys/fs/fuse/fuse_vfsops.c
+1-23sys/fs/fuse/fuse_ipc.c
+0-23sys/modules/dtrace/Makefile.inc
+19-2lib/libsys/stat.2
+17-2lib/libpmcstat/libpmcstat_image.c
+143-6127 files not shown
+215-13233 files

HardenedBSD/src 6d7a1e3lib/libpmcstat libpmcstat_image.c, lib/libsys stat.2

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+75-11tests/sys/fs/fusefs/pre-init.cc
+31-0sys/fs/fuse/fuse_vfsops.c
+1-23sys/fs/fuse/fuse_ipc.c
+0-23sys/modules/dtrace/Makefile.inc
+19-2lib/libsys/stat.2
+17-2lib/libpmcstat/libpmcstat_image.c
+143-6127 files not shown
+215-13233 files

LLVM/project 263300bclang-tools-extra/clangd/index YAMLSerialization.cpp

[clangd] Enforce SymbolKind YAML coverage with -Wswitch (#225945)

Turn the SymbolKind YAML mappings into switch cases so missing mappings
trigger -Wswitch.

Follow-up to #222070.
DeltaFile
+42-33clang-tools-extra/clangd/index/YAMLSerialization.cpp
+42-331 files

LLVM/project 77d4846llvm/lib/SandboxIR Instruction.cpp

[SandboxIR] Add missing export to symbol used in test (#225505)
DeltaFile
+2-2llvm/lib/SandboxIR/Instruction.cpp
+2-21 files

LLVM/project 620a9e9llvm/lib/Target/RISCV RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV/rvv vector-interleave-fixed.ll fixed-vectors-masked-scatter.ll

[RISCV] Combine two consecutive VSLIDEDOWN_VL nodes into one (#225232)

Given this pattern
```
  %down0 = RISCVISD::VSLIDEDOWN_VL undef, %val, %offset0, %mask, %vl0
%down1 = RISCVISD::VSLIDEDOWN_VL undef, %down0, %offset1, %mask, %vl1
```
we can turn it into
```
%down1 = RISCVISD::VSLIDEDOWN_VL undef, %val, %offset2, %mask, %vl1
```
where %offset2 is `%offset0 + %offset1`, if `%vl0 >= %offset1 + %vl1`.
DeltaFile
+3,913-3,252llvm/test/CodeGen/RISCV/rvv/fixed-vectors-masked-gather.ll
+3,098-2,506llvm/test/CodeGen/RISCV/rvv/fixed-vectors-masked-scatter.ll
+94-45llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+9-28llvm/test/CodeGen/RISCV/rvv/vector-interleave-fixed.ll
+7,114-5,8314 files

LLVM/project 7e4b8aebolt/include/bolt/Core DebugNames.h, bolt/lib/Core DebugNames.cpp

[BOLT] Make .debug_names emission reproducible (#225218)

--update-debug-sections does not produce the same binary twice when the
input has a .debug_names section, or is given one with
--create-debug-names-section. Three sections vary from run to run:
.debug_str, .debug_names and .debug_str_offsets. On a two-CU split-DWARF
test binary, ten runs of the same llvm-bolt produced three different
outputs.

PR #197859 made the per-bucket work merge in partition order precisely
so the output would be reproducible, but missed this section. Two
issues:

- .debug_str offsets were handed out from the workers, so main.dwo.dwo
added by the merge step lands in a different place in each run. The
string offsets stored in .debug_names follow from it, and so does
.debug_str_offsets;
- hash colliding names were ordered by insertion (worker) order, also
non-deterministic.

    [2 lines not shown]
DeltaFile
+22-8bolt/lib/Core/DebugNames.cpp
+6-0bolt/include/bolt/Core/DebugNames.h
+28-82 files

LLVM/project 76d164cclang/lib/CIR/CodeGen CIRGenFunction.h CIRGenCleanup.cpp, clang/test/CIR/CodeGen cleanup-conditional-with-wrapper.cpp dtors.cpp

[CIR] Fix the order of temporary object cleanup (#225560)

We had a problem in CIR where we were performing cleanups in the wrong
order when conditional and unconditional cleanups were needed for
temporary objects created in a single expression. The unconditional
cleanups were being emitted as they occur, while the conditional
cleanups were deferred until the entire expression had been emitted. The
result was that conditional cleanups were performed after unconditional
cleanups, even if the unconditionally destroyed object was created
first.

This change fixes that problem by reorganizing the way conditional
cleanups are handled. A cir.cleanup.scope operation is now created
eagerly where a conditional begins rather than at the start of the full
expression, so that it nests inside the cleanup scopes of temporaries
created before the conditional and outside those created after it. Scope
nesting determines the order in which the cleanup regions run, so this
yields reverse-of-construction order. A ConditionalCleanupScope object
tracks the scope and the conditional cleanups waiting to be emitted into

    [3 lines not shown]
DeltaFile
+510-57clang/test/CIR/CodeGen/cleanup-conditional-with-wrapper-eh.cpp
+102-47clang/lib/CIR/CodeGen/CIRGenCleanup.cpp
+90-9clang/lib/CIR/CodeGen/CIRGenFunction.h
+50-44clang/test/CIR/CodeGen/cleanup-conditional.cpp
+18-41clang/test/CIR/CodeGen/cleanup-conditional-with-wrapper.cpp
+23-36clang/test/CIR/CodeGen/dtors.cpp
+793-2347 files not shown
+849-27313 files

LLVM/project bc9119bflang/include/flang/Optimizer/Dialect/CUF CUFOps.td, flang/lib/Optimizer/Builder/Runtime/CUDA Support.cpp

[flang][cuda] Lower device is active as an operation (#225583)

Instead of lowering straight to a functin call, go through an op so it
can be lowered differently between device and host.
DeltaFile
+50-0flang/test/Fir/CUDA/cuda-device-is-active.mlir
+32-3flang/test/Lower/CUDA/cuda-return01.cuf
+31-0flang/lib/Optimizer/Transforms/CUDA/CUFOpConversionLate.cpp
+17-0flang/include/flang/Optimizer/Dialect/CUF/CUFOps.td
+0-12flang/lib/Optimizer/Builder/Runtime/CUDA/Support.cpp
+10-1flang/test/Fir/cuf.mlir
+140-167 files not shown
+150-2813 files

LLVM/project 57a637allvm/lib/Transforms/Utils Evaluator.cpp, llvm/test/Transforms/GlobalOpt constructor-explicit-section.ll

[GlobalOpt] Fix constructor folding on global with explicit section. (#220729)

Make sure we don't try to emit a non-zero value into BSS, or anything
similar to that.
DeltaFile
+26-0llvm/test/Transforms/GlobalOpt/constructor-explicit-section.ll
+7-1llvm/lib/Transforms/Utils/Evaluator.cpp
+33-12 files

HardenedBSD/src 10a3562sys/kern kern_jail.c

jail: set default root directory for a jail to its parent's root.

All default jail parameter values are an empty or otherwise standard
value, or are copied the jail's parent.  A notable exception is the
root directory, which is instead copied from the creating process's
jail.  Fix that to be in line with everything else.

This change affects only the default when no path is specified; if
a path of "/" is explicitly given, that will still be the creating
process's root directory.
DeltaFile
+1-1sys/kern/kern_jail.c
+1-11 files

FreeBSD/src 10a3562sys/kern kern_jail.c

jail: set default root directory for a jail to its parent's root.

All default jail parameter values are an empty or otherwise standard
value, or are copied the jail's parent.  A notable exception is the
root directory, which is instead copied from the creating process's
jail.  Fix that to be in line with everything else.

This change affects only the default when no path is specified; if
a path of "/" is explicitly given, that will still be the creating
process's root directory.
DeltaFile
+1-1sys/kern/kern_jail.c
+1-11 files

LLVM/project 104f644llvm/docs/DirectX SemanticSignatures.md, llvm/include/llvm/Frontend/HLSL SemanticSignaturePacking.h

[HLSLSemanticSignatures] Implement the optimal packing of elements (#218064)

Implements the optimal packing algorithm by sorting the elements in an
optimal order before sorting with prefix packing. This also adds an
explicit packing stage for the clip/cull signature elements that allows
them to be packed with other compatible semantic types.

Resolves: #205874.

Assisted by: Claude Opus 5 and GPT-5.6 Sol
DeltaFile
+972-112llvm/unittests/Frontend/HLSLSemanticSignaturePackingTest.cpp
+320-47llvm/lib/Frontend/HLSL/SemanticSignaturePacking.cpp
+55-30llvm/docs/DirectX/SemanticSignatures.md
+20-1llvm/include/llvm/Frontend/HLSL/SemanticSignaturePacking.h
+1,367-1904 files

HardenedBSD/ports e4db654x11/cde-devel distinfo Makefile, x11/cde-devel/files patch-programs_dtterm_Makefile.am patch-programs_dtksh_Makefile.am

x11/cde-devel: Update to the latest cdesktopenv-code commit

Update to the latest cdedesktop-code commit proxied through my GH account
DeltaFile
+12-4x11/cde-devel/Makefile
+11-0x11/cde-devel/files/patch-programs_dtksh_Makefile.am
+0-7x11/cde-devel/files/patch-programs_dtterm_Makefile.am
+3-3x11/cde-devel/distinfo
+26-144 files