LLVM/project 56b4589llvm/test/Transforms/SLPVectorizer/X86 fmuladd-copyable-fmul.ll

[SLP][NFC]Add a test for fmul copyables to fmuladd, NFC



Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/213328
DeltaFile
+495-0llvm/test/Transforms/SLPVectorizer/X86/fmuladd-copyable-fmul.ll
+495-01 files

LLVM/project 34de439libcxx/test/std/ranges/range.adaptors/range.filter/sentinel ctor.parent.compile.pass.cpp, libcxx/test/std/ranges/range.adaptors/range.split/iterator base.pass.cpp deref.pass.cpp

[libc++][ranges][test-suite][NFC] Consistency improvements after P3050 merge (#213062)

Consistency improvements and other small tweaks.

A follow-up to https://github.com/llvm/llvm-project/pull/193891 - the
changes were deferred to reduce the size of an already large and
approved PR.
DeltaFile
+8-4libcxx/test/std/ranges/range.factories/range.iota.view/iterator/ctor.value.compile.pass.cpp
+4-4libcxx/test/std/ranges/range.factories/range.istream.view/iterator/ctor.parent.compile.pass.cpp
+3-3libcxx/test/std/ranges/range.adaptors/range.take.while/sentinel/ctor.convert.pass.cpp
+5-1libcxx/test/std/ranges/range.adaptors/range.split/iterator/deref.pass.cpp
+3-2libcxx/test/std/ranges/range.adaptors/range.filter/sentinel/ctor.parent.compile.pass.cpp
+3-1libcxx/test/std/ranges/range.adaptors/range.split/iterator/base.pass.cpp
+26-159 files not shown
+36-1615 files

LLVM/project 2f8eb5bclang/lib/CodeGen CodeGenModule.cpp, clang/test/CodeGen/AArch64 ptrauth-function-attributes-synthetic.c

[clang][llvm][AArch64] Set hardening fn attrs on synthetic functions (#211013)

Compiler-synthesized functions such as `__llvm_gcov_writeout`,
`__llvm_gcov_reset` and `__llvm_gcov_init` were previously never
receiving the AArch64 hardening function attributes (ptrauth-returns,
ptrauth-auth-traps, ptrauth-indirect-gotos and
aarch64-jump-table-hardening) since the attributes were only emitted by
Clang and gated by `PointerAuthOptions` structure's corresponding
fields. See `setPointerAuthFnAttributes` and
`initPointerAuthFnAttributes` member functions of `TargetCodeGenInfo`.

This patch resolves this in the same manner as #83153 does for several
other attributes. Particularly, Clang now emits corresponding 4 module
flags (conditionally on whether the related feature is enabled) with Max
behavior, and LLVM's `Function::createWithDefaultAttr` derives the
matching function attributes from them. Max behavior with conditional
emission is safe because none of these features affect ABI, so promoting
an absent flag on module merge cannot break compatibility.
DeltaFile
+64-0llvm/test/Instrumentation/AddressSanitizer/ptrauth-module-flags-aarch64.ll
+53-0clang/test/CodeGen/AArch64/ptrauth-function-attributes-synthetic.c
+39-0llvm/test/Transforms/GCOVProfiling/ptrauth-module-flags-aarch64.ll
+26-0clang/lib/CodeGen/CodeGenModule.cpp
+4-0llvm/lib/IR/Function.cpp
+186-05 files

FreeBSD/ports 15d63acsecurity/i2pd pkg-plist Makefile

security/i2pd: update to 2.61.0

Changes:        https://github.com/PurpleI2P/i2pd/releases/tag/2.61.0
DeltaFile
+3-3security/i2pd/distinfo
+1-1security/i2pd/Makefile
+1-0security/i2pd/pkg-plist
+5-43 files

LLVM/project 998ba43clang/include/clang/CIR/Dialect/IR CIROps.td, clang/lib/CIR/Lowering/DirectToLLVM LowerToLLVM.h LowerToLLVM.cpp

[CIR] Implement fenv lowering to constrained intrinsic calls (#213105)

This change adds support for lowering floating-point operations with the
fenv attribute set to a call to the corresponding constrained intrinsic
when the operation is lowered to the LLVM dialect.

Generation of operations with the Fenv attribute set will be implemented
in a later change. This only adds support for lowering.

Assisted-by: Cursor / claude-opus-4.8
DeltaFile
+222-0clang/test/CIR/Lowering/fenv.cir
+202-15clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+52-0clang/include/clang/CIR/Dialect/IR/CIROps.td
+36-7clang/utils/TableGen/CIRLoweringEmitter.cpp
+13-0clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.h
+525-225 files

LLVM/project 57b145dcmake/Modules GetTripleCMakeSystemName.cmake, llvm/include/llvm/TargetParser TripleName.def

cmake: Derive CMake system name from a triple via new mechanism

This is a reimplementation of the cmake functionality first implemented in
6e4e181c83, which has now been reverted twice. Implement the raw cmake functionality
without introducing the uses yet.

The runtimes build needs to translate the build target (configured with a target
triple) to cmake's naming scheme, to use for CMAKE_SYSTEM_NAME. Use the OS/environment
list from TargetParser as the source of truth; add an additional entry for the
cmake name to ensure the build system and compiler always recognize the same set
of names.

Upgrade the previous cmake regexes to a new python script which parses the
authoritative def file. The new script logic should match Triple::normalize's
permissiveness for various legacy and malformed triple shapes. This should be
more maintainable than the previous cmake regexes, since there's now a unit test
mirroring the triple unit test.

Co-Authored-By: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+118-110llvm/include/llvm/TargetParser/TripleName.def
+206-0llvm/test/tools/TargetParser/get_triple_system_name_test.py
+148-0llvm/utils/get_triple_system_name.py
+40-0cmake/Modules/GetTripleCMakeSystemName.cmake
+4-4llvm/lib/TargetParser/Triple.cpp
+6-0llvm/test/tools/TargetParser/get-triple-system-name.test
+522-1146 files

LLVM/project 3b852e3llvm/utils/TableGen/Common CodeGenTarget.cpp

[TableGen] Use DenseMap in getValueType instead of StringSwitch (#213229)

StringSwitch is linear.
getValueType gets called often, identified by callgrind to be
responsible for 11% of the executed instructions for NVPTX
-gen-dag-isel.

With DenseMap or StringMap, NVPTX and RISCV -gen-dag-isel runs 20% and
15% faster respectively.

Modest 2-6% improvement for others.
DeltaFile
+5-4llvm/utils/TableGen/Common/CodeGenTarget.cpp
+5-41 files

LLVM/project 35713dfllvm/test/CodeGen/AMDGPU amdgcn.bitcast.96bit.ll, llvm/test/CodeGen/X86 build-vector-known-bits-poison.ll kmov.ll

DAG: Skip poison elements in BUILD_VECTOR computeKnownBits

This defends against regressions in future patches. Copies the logic
from the IR version of computeKnownBits's handling of ConstantVector.
I'm not sure why the IR version doesn't directly return a value for poison,
but this follows suit.

Co-authored-by: Claude (Claude-Opus-4.8)
DeltaFile
+67-64llvm/test/CodeGen/X86/ifma-combine-vpmadd52.ll
+40-41llvm/test/CodeGen/X86/srem-vector-lkk.ll
+29-21llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.96bit.ll
+8-18llvm/test/CodeGen/X86/pr120906.ll
+9-9llvm/test/CodeGen/X86/kmov.ll
+3-11llvm/test/CodeGen/X86/build-vector-known-bits-poison.ll
+156-1647 files not shown
+183-18613 files

LLVM/project 1969f15lldb/include/lldb/Expression ExpressionVariable.h, lldb/source/Expression LLVMUserExpression.cpp Materializer.cpp

Reapply "Make result variables obey their dynamic values in subsequent expressions" (#211321) (#213308)

This adds back the patch that makes result variables retain their
dynamic type when you use them in subsequent expressions or fetch their
SBValues.

This reverts commit e1af868257eb4a49db9149cc239ca9b9338d6419.

The first time I submitted this I had some flakey tests, but when I
fixed the accounting for synthetic children those went away. But the
patch was still failing in a set of ObjC tests on x86_64. Those failures
weren't caused by this patch, but rather uncovered a bug in Tagged
Pointer detection, which I fixed in:

https://github.com/llvm/llvm-project/pull/213163
DeltaFile
+174-0lldb/test/API/functionalities/expr-result-var/TestCPPExprResult.py
+72-6lldb/source/Expression/ExpressionVariable.cpp
+44-18lldb/include/lldb/Expression/ExpressionVariable.h
+55-0lldb/test/API/functionalities/expr-result-var/two-bases.cpp
+25-24lldb/source/Expression/Materializer.cpp
+9-5lldb/source/Expression/LLVMUserExpression.cpp
+379-534 files not shown
+384-5610 files

LLVM/project 8225c81clang/include/clang/Options Options.td, clang/lib/Driver/ToolChains CommonArgs.cpp Clang.cpp

[flang][debug] Add compressed DWARF support in Flang (#212584)

Re-use most of the clang implementation for compressed DWARF support in
flang.

AI attribution: Co-developed with Claude Opus 4.6
DeltaFile
+2-35clang/lib/Driver/ToolChains/Clang.cpp
+32-0clang/lib/Driver/ToolChains/CommonArgs.cpp
+28-0flang/test/Integration/debug-compressed-sections.f90
+23-0flang/test/Driver/compress-debug-sections.f90
+17-0flang/lib/Frontend/CompilerInvocation.cpp
+9-7clang/include/clang/Options/Options.td
+111-429 files not shown
+145-4215 files

LLVM/project e4de0ddllvm/test/CodeGen/AMDGPU/GlobalISel legalize-fsin.mir legalize-fmad.s32.mir

AMDGPU/GlobalISel: Switch more FP opcodes to extended LLTs (part 3) (#213135)

Migrate trigonometric, division, remainder, multiply-add, and min/max
opcodes to extended floating-point LLTs.

Remove redundant scalar clamps that request unsupported f128-to-f64
narrowing, while retaining required f16-to-f32 widening.

Also update the relevant MIR tests.
DeltaFile
+1,139-1,149llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fdiv.mir
+779-779llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmad.s16.mir
+609-609llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fminnum.mir
+609-609llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmaxnum.mir
+469-439llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmad.s32.mir
+383-383llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fsin.mir
+3,988-3,9685 files not shown
+4,761-4,74711 files

LLVM/project 5d4cd81offload/unittests/OffloadAPI/program olCreateProgram.cpp

[offload][lit] Re-enable olCreateProgram JIT test on AMDGPU (#213321)

Should be passing now.

Context: https://github.com/llvm/llvm-project/pull/213149

Signed-off-by: Nick Sarnie <nick.sarnie at intel.com>
DeltaFile
+0-1offload/unittests/OffloadAPI/program/olCreateProgram.cpp
+0-11 files

HardenedBSD/src b5fe1bclibexec/rc/rc.d bthidd

rc.d/bthidd: Correct load_kld invocations

Pass a single module name to load_kld for kbdmux and vkbd, allowing
bthidd_prestart to load both modules successfully.

Fixes:          cfe1962a1925 (rc: Fix improper use of load_kld)
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
DeltaFile
+2-2libexec/rc/rc.d/bthidd
+2-21 files

FreeBSD/src b5fe1bclibexec/rc/rc.d bthidd

rc.d/bthidd: Correct load_kld invocations

Pass a single module name to load_kld for kbdmux and vkbd, allowing
bthidd_prestart to load both modules successfully.

Fixes:          cfe1962a1925 (rc: Fix improper use of load_kld)
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
DeltaFile
+2-2libexec/rc/rc.d/bthidd
+2-21 files

LLVM/project 71e5cb7mlir/include/mlir/Dialect/OpenACC OpenACCRuntimeUtils.h, mlir/lib/Conversion/OpenACCToLLVM ACCToLLVMUtils.cpp ACCExecutableDirectivePatterns.cpp

[mlir][acc] Introduce ACCToLLVM and executable directive codegen (#213165)

Adds initial infrastructure for converting the acc dialect to LLVM,
specifically around generating libacctarget runtime calls. The current
libacctarget APIs are not yet finalized, but the draft proposal can be
found at https://github.com/llvm/llvm-project/pull/197894. This PR adds
codegen for acc init, shutdown, set, and wait.
DeltaFile
+305-0mlir/lib/Conversion/OpenACCToLLVM/ACCExecutableDirectivePatterns.cpp
+171-0mlir/lib/Conversion/OpenACCToLLVM/ACCToLLVMUtils.cpp
+156-0mlir/test/Conversion/OpenACCToLLVM/init-shutdown-set.mlir
+144-0mlir/test/Conversion/OpenACCToLLVM/wait.mlir
+127-0mlir/lib/Dialect/OpenACC/Utils/OpenACCRuntimeUtils.cpp
+102-0mlir/include/mlir/Dialect/OpenACC/OpenACCRuntimeUtils.h
+1,005-010 files not shown
+1,266-016 files

FreeNAS/freenas 9609390src/middlewared/middlewared/api/base model.py private.py, src/middlewared/middlewared/api/base/handler accept.py

`Private` API parameters
DeltaFile
+233-0src/middlewared/middlewared/pytest/unit/api/base/test_private.py
+95-0src/middlewared/middlewared/api/base/private.py
+32-3src/middlewared/middlewared/api/base/model.py
+17-4src/middlewared/middlewared/api/base/handler/accept.py
+18-0tests/api2/test_zfs_resource_snapshot_destroy.py
+8-8src/middlewared/middlewared/api/v26_0_0/zfs_resource_snapshot.py
+403-1513 files not shown
+433-4419 files

LLVM/project 7afc899llvm/lib/Target/Sparc SparcInstr64Bit.td, llvm/test/CodeGen/SPARC bswap.ll

[SPARC] Add patterns for i64->i32 and i64->i16 BSWAP-STOREs (#210483)

The lack of those is causing instruction selection to fail.

Also, for completeness, add variants of extending/truncating ops for
LOAD-BSWAP pairs too.
DeltaFile
+501-0llvm/test/CodeGen/SPARC/bswap.ll
+5-0llvm/lib/Target/Sparc/SparcInstr64Bit.td
+506-02 files

LLVM/project bfc237allvm/include/llvm/IR Type.h DerivedTypes.h, llvm/lib/IR Type.cpp

[IR] Remove deprecated typed-pointer creation APIs (#212812)

Removes `PointerType::get(Type*, unsigned)`,
`PointerType::getUnqual(Type*)`, and `Type::getPointerTo(unsigned)`, the
last typed-pointer-creation leftovers from the opaque pointers
migration. All three have been marked deprecated for a while and have no
remaining in-tree callers; every caller already uses the
LLVMContext-taking overloads.

Co-authored-by: Claude <noreply at anthropic.com>
DeltaFile
+0-16llvm/include/llvm/IR/DerivedTypes.h
+0-12llvm/lib/IR/Type.cpp
+0-6llvm/include/llvm/IR/Type.h
+0-343 files

FreeNAS/freenas c24a491src/middlewared/middlewared/plugins replication.py zettarepl.py, tests/api2 test_replication.py

NAS-141823 / 26.0.0-RC.1 / Allow running disabled replication tasks (by themylogin) (#19420)
DeltaFile
+8-4tests/api2/test_replication.py
+4-4src/middlewared/middlewared/plugins/zettarepl.py
+0-3src/middlewared/middlewared/plugins/replication.py
+12-113 files

FreeBSD/src f7e7fabsys/compat/linuxkpi/common/include/linux xarray.h

linuxkpi: Add xa_insert_irq wrapper

This just invokes xa_insert similar to other xa_*_irq wrappers.

Reviewed by:    bz
Sponsored by:   Chelsio Communications
Differential Revision:  https://reviews.freebsd.org/D58576
DeltaFile
+3-0sys/compat/linuxkpi/common/include/linux/xarray.h
+3-01 files

HardenedBSD/src f7e7fabsys/compat/linuxkpi/common/include/linux xarray.h

linuxkpi: Add xa_insert_irq wrapper

This just invokes xa_insert similar to other xa_*_irq wrappers.

Reviewed by:    bz
Sponsored by:   Chelsio Communications
Differential Revision:  https://reviews.freebsd.org/D58576
DeltaFile
+3-0sys/compat/linuxkpi/common/include/linux/xarray.h
+3-01 files

HardenedBSD/ports 23e4744comms/sdrangel pkg-message Makefile, lang/gawk Makefile

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+119-0comms/sdrangel/pkg-plist
+61-0comms/sdrangel/Makefile
+32-0comms/sdrangel/pkg-message
+31-0security/vuxml/vuln/2026.xml
+15-15textproc/py-zensical/distinfo
+17-11lang/gawk/Makefile
+275-2659 files not shown
+435-18565 files

OpenBSD/ports lLIHH3rnet/py-websockets distinfo Makefile, net/py-websockets/pkg PLIST

   update to py3-websockets-17.0
VersionDeltaFile
1.7+37-9net/py-websockets/pkg/PLIST
1.10+20-17net/py-websockets/Makefile
1.4+2-2net/py-websockets/distinfo
+59-283 files

OpenBSD/ports jn5qQ6nmail/grommunio/gromox distinfo Makefile, mail/grommunio/gromox/patches patch-mda_exmdb_local_exmdb_local_cpp patch-lib_textmaps_cpp

   update to 3.9
VersionDeltaFile
1.4+5-5mail/grommunio/gromox/patches/patch-lib_textmaps_cpp
1.48+2-2mail/grommunio/gromox/distinfo
1.71+2-2mail/grommunio/gromox/Makefile
1.7+1-1mail/grommunio/gromox/patches/patch-mda_exmdb_local_exmdb_local_cpp
+10-104 files

HardenedBSD/src c7400festand/common load_elf.c

stand: Reject ELF files with PT_LOAD segments where filesz > memsz

Reviewed by:    jrtc27, kib
Differential Revision:  https://reviews.freebsd.org/D58543
DeltaFile
+6-0stand/common/load_elf.c
+6-01 files

FreeBSD/src c7400festand/common load_elf.c

stand: Reject ELF files with PT_LOAD segments where filesz > memsz

Reviewed by:    jrtc27, kib
Differential Revision:  https://reviews.freebsd.org/D58543
DeltaFile
+6-0stand/common/load_elf.c
+6-01 files

HardenedBSD/src 486dfbbsys/kern link_elf.c

kld: Reject kernel modules with PT_LOAD segments where filesz > memsz

All sorts of places in the ELF loading code assume that filesz <=
memsz, so check that explicitly up front.

Reported by:    Jane Smith <thebugfixers at pm.me> (via D57785)
Reviewed by:    jrtc27, kib
Differential Revision:  https://reviews.freebsd.org/D58542
DeltaFile
+8-0sys/kern/link_elf.c
+8-01 files

FreeBSD/src 486dfbbsys/kern link_elf.c

kld: Reject kernel modules with PT_LOAD segments where filesz > memsz

All sorts of places in the ELF loading code assume that filesz <=
memsz, so check that explicitly up front.

Reported by:    Jane Smith <thebugfixers at pm.me> (via D57785)
Reviewed by:    jrtc27, kib
Differential Revision:  https://reviews.freebsd.org/D58542
DeltaFile
+8-0sys/kern/link_elf.c
+8-01 files

HardenedBSD/src b9eaf9blib/libc/gen tls.c

libc: Reject static ELF exectables with PT_TLS segments were filesz > memsz

Reviewed by:    jrtc27
Differential Revision:  https://reviews.freebsd.org/D58558
DeltaFile
+4-0lib/libc/gen/tls.c
+4-01 files

FreeBSD/src b9eaf9blib/libc/gen tls.c

libc: Reject static ELF exectables with PT_TLS segments were filesz > memsz

Reviewed by:    jrtc27
Differential Revision:  https://reviews.freebsd.org/D58558
DeltaFile
+4-0lib/libc/gen/tls.c
+4-01 files