LLVM/project 952fae4lldb/unittests/Highlighter HighlighterTest.cpp

Add if let keyword test
DeltaFile
+2-0lldb/unittests/Highlighter/HighlighterTest.cpp
+2-01 files

FreeBSD/src 45c1e44sys/contrib/openzfs/include/os/freebsd/spl/sys time.h

Merge commit bfb276e55c76 from upstream OpenZFS (by Jessica Clarke)

  Once upon a time, 32-bit PowerPC did indeed have a 32-bit time_t, but
  FreeBSD 12.0 switched to a 64-bit time_t for PowerPC as an ABI break,
  which predates the addition of FreeBSD support to OpenZFS. Moreover,
  64-bit PowerPC has existed since FreeBSD 9.0, where __powerpc__ is also
  defined (alongside __powerpc64__ to disambiguate), which has always had
  a 64-bit time_t. This code has therefore always been wrong for all
  PowerPC variants. Fix this by limiting the 32-bit case to just i386,
  which is the only architecture in FreeBSD to have a 32-bit time_t and
  not have broken ABI, due to its special legacy compatibility status.

  Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
  Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
  Signed-off-by: Jessica Clarke <jrtc27 at jrtc27.com>
  Closes #18217
  Closes #18218

Reported by:    fuz
MFC after:      1 day
DeltaFile
+1-1sys/contrib/openzfs/include/os/freebsd/spl/sys/time.h
+1-11 files

LLVM/project cc0d7bfutils/bazel/llvm-project-overlay/lldb/source/Plugins BUILD.bazel

[bazel] Fix Bazel build for 5c8d247 (#182092)

Co-authored-by: Pranav Kant <prka at google.com>
DeltaFile
+1-0utils/bazel/llvm-project-overlay/lldb/source/Plugins/BUILD.bazel
+1-01 files

LLVM/project 9595905clang/include/clang/Analysis/Scalable/Serialization SerializationFormatRegistry.h

[clang][ssaf] Improve docs of SerializationFormatRegistry (#181847)

DeltaFile
+19-2clang/include/clang/Analysis/Scalable/Serialization/SerializationFormatRegistry.h
+19-21 files

LLVM/project 3549507clang/lib/CodeGen/TargetBuiltins ARM.cpp, clang/lib/Sema SemaARM.cpp

[clang][ARM] Refactor argument handling in `EmitAArch64BuiltinExpr` (2/2) (NFC)

Refactor `EmitAArch64BuiltinExpr` so that all AArch64/NEON builtins
handled by this hook _and marked as overloaded_ share a common path
for generating LLVM IR arguments (collected into the `Ops`
`SmallVector<Value*>`) (*). This is a follow-up for #181794 - please
refer to that PR for more context.

As in the previous PR, the key change is implemented in
`HasExtraNeonArgument` , i.e. in the hook that identifies Builtins with
the extra argument. In this PR, I am replacing the ad-hoc switch
statement with a more principled approach borrowed from SemaARM.cpp,
namely:
```cpp
uint64_t mask = 0;
  switch (BuiltinID) {
  #define GET_NEON_OVERLOAD_CHECK
  #include "clang/Basic/arm_fp16.inc"
  #include "clang/Basic/arm_neon.inc"

    [28 lines not shown]
DeltaFile
+48-254clang/lib/CodeGen/TargetBuiltins/ARM.cpp
+3-1clang/lib/Sema/SemaARM.cpp
+51-2552 files

LLVM/project 7c0cbb1clang/lib/Sema SemaHLSL.cpp, clang/test/CodeGenHLSL/resources cbuffer_matrix_align.hlsl

[HLSL] Define CBuffer field alignment for matrix types (#179836)

fixes https://github.com/llvm/llvm-project/issues/179834

Change defines Matrix alignment as buffer row length (16). Same as
arrays and structs.
Change also adds tests for matrix, matrix in structs, & arrays.
DeltaFile
+71-0clang/test/CodeGenHLSL/resources/cbuffer_matrix_align.hlsl
+2-2clang/lib/Sema/SemaHLSL.cpp
+73-22 files

LLVM/project f90447fclang/lib/CodeGen/TargetBuiltins ARM.cpp, clang/test/CodeGen arm64-microsoft-intrinsics.c

[clang][ARM] Refactor argument handling in `EmitAArch64BuiltinExpr` (1/2) (NFC)

Refactor `EmitAArch64BuiltinExpr` so that all AArch64/NEON builtins
handled by this hook _and marked as non-overloaded_ share a common path
for generating LLVM IR arguments (collected into the `Ops`
`SmallVector<Value*>`) (*)

Previously, the argument emission loop unconditionally skipped the
trailing argument:

```cpp
  for (unsigned i = 0, e = E->getNumArgs() - 1; i != e; ++i)
```

This was originally intended to ignore the extra Sema-only argument
used by overloaded NEON builtins (e.g. the type discriminator passed
by `__builtin_neon_*` intrinsics). However, this logic was applied
unconditionally.


    [37 lines not shown]
DeltaFile
+225-79clang/lib/CodeGen/TargetBuiltins/ARM.cpp
+16-16clang/test/CodeGen/arm64-microsoft-intrinsics.c
+241-952 files

LLVM/project ca21a65clang/lib/CodeGen HLSLBufferLayoutBuilder.cpp CGHLSLRuntime.cpp, clang/test/CodeGenHLSL matrix_types.hlsl

[HLSL][Cbuffer][Matrix] Add Cbuffer padding and createBufferMatrixTempAddress (#181903)

fixes #181901

This change detects when a HLSL Cbuffer matrix’s layout differs from its
in-memory type and materializes a temporary with the non-padded matrix
type. Matrix elements are copied explicitly from the padded buffer
layout into the temporary, ensuring correct addressing and avoiding
overlapping GEPs or incorrect vector flattening.
DeltaFile
+18-18clang/test/CodeGenHLSL/matrix_types.hlsl
+23-4clang/lib/CodeGen/HLSLBufferLayoutBuilder.cpp
+26-0clang/lib/CodeGen/CGHLSLRuntime.cpp
+10-1clang/lib/CodeGen/CGExpr.cpp
+9-2clang/test/CodeGenHLSL/resources/default_cbuffer_with_layout.hlsl
+7-0clang/lib/CodeGen/HLSLBufferLayoutBuilder.h
+93-251 files not shown
+96-257 files

LLVM/project 157f820clang-tools-extra/clangd TidyProvider.cpp

[clangd] Add abseil-unchecked-statusor-access to list of ignored checks (#181864)

This
[check](https://clang.llvm.org/extra/clang-tidy/checks/abseil/unchecked-statusor-access.html)
also depends on dataflow framework.
DeltaFile
+2-1clang-tools-extra/clangd/TidyProvider.cpp
+2-11 files

FreeBSD/src 589cef5lib/libfetch common.c

libfetch: Restore timeout functionality

PR:             293124
MFC after:      1 week
Fixes:          792ef1ae7b94 ("Refactor fetch_connect() and fetch_bind() to improve readability and avoid repeating the same DNS lookups.")
Reverts:        8f8a7f6fffd7 ("libfetch: apply timeout to SSL_read()")
Reviewed by:    eugen, imp
Differential Revision:  https://reviews.freebsd.org/D55293

(cherry picked from commit 73b82d1b0a2f09224e6d0f7a13dd73c66d740207)
(insta-mfc requested by re@)
DeltaFile
+8-11lib/libfetch/common.c
+8-111 files

LLVM/project f7fe0abllvm/lib/Target/AMDGPU AMDGPULowerVGPREncoding.cpp, llvm/test/CodeGen/AMDGPU vgpr-lowering-gfx1250.mir

[AMDGPU] Commute instructions to avoid VGPR MSB changes
DeltaFile
+25-18llvm/test/CodeGen/AMDGPU/vgpr-lowering-gfx1250.mir
+23-0llvm/lib/Target/AMDGPU/AMDGPULowerVGPREncoding.cpp
+48-182 files

FreeBSD/ports 2d6255bdevel/libwasmtime distinfo Makefile

devel/libwasmtime: update: 41.0.0 -> 41.0.3

ChangeLog:      https://github.com/bytecodealliance/wasmtime/compare/v41.0.0...v41.0.3

Sponsored by:   tipi.work
DeltaFile
+3-3devel/libwasmtime/distinfo
+1-2devel/libwasmtime/Makefile
+4-52 files

FreeBSD/src d97c824lib/libfetch common.c

libfetch: Restore timeout functionality

PR:             293124
MFC after:      1 week
Fixes:          792ef1ae7b94 ("Refactor fetch_connect() and fetch_bind() to improve readability and avoid repeating the same DNS lookups.")
Reverts:        8f8a7f6fffd7 ("libfetch: apply timeout to SSL_read()")
Reviewed by:    eugen, imp
Differential Revision:  https://reviews.freebsd.org/D55293

(cherry picked from commit 73b82d1b0a2f09224e6d0f7a13dd73c66d740207)
(insta-mfc requested by re@)
DeltaFile
+3-8lib/libfetch/common.c
+3-81 files

LLVM/project 89065b5llvm/cmake/modules HandleLLVMOptions.cmake

[NFC] Re-enable MSVC C4351 diagnostic (#182082)

From MSDN:
https://learn.microsoft.com/en-us/previous-versions/1ywe7hcy(v=vs.140)

This diagnostic is no longer documented in MSDN and from my local
testing, the diagnostic is not emitted in our source. I believe we no
longer need to disable this diagnostic.
DeltaFile
+0-1llvm/cmake/modules/HandleLLVMOptions.cmake
+0-11 files

FreeBSD/src ae12f0flib/libfetch common.c

libfetch: Restore timeout functionality

PR:             293124
MFC after:      1 week
Fixes:          792ef1ae7b94 ("Refactor fetch_connect() and fetch_bind() to improve readability and avoid repeating the same DNS lookups.")
Reverts:        8f8a7f6fffd7 ("libfetch: apply timeout to SSL_read()")
Reviewed by:    eugen, imp
Differential Revision:  https://reviews.freebsd.org/D55293

(cherry picked from commit 73b82d1b0a2f09224e6d0f7a13dd73c66d740207)
(insta-mfc requested by re@)
DeltaFile
+3-8lib/libfetch/common.c
+3-81 files

LLVM/project b9225e8lldb/packages/Python/lldbsuite/test lldbtest.py, lldb/test/API/commands/trace TestTraceStartStop.py

[lldb] Allow tests to share a single build (#181720)

This changes Python API tests to use a single build shared across all
test functions, instead of the previous default behavior of a separate
build dir for each test function.

This build behavior opt-out, tests can use the previous behavior of one
individual (unshared) build directory per test function, by setting
`SHARED_BUILD_TESTCASE` to False (in the test class).

The motivation is to make the test suite more efficient, by not
repeatedly building the same test source. When running tests on my macOS
machine, this reduces the time of `ninja check-lldb-api` by almost 60%
(sample numbers: from ~492s down to ~207s = 58%). Almost 5min time
saved.

Each test function still calls `self.build()`, but only the first call
will do a build, in the subsequent tests `make` will be a no-op because
the sources won't have changed.
DeltaFile
+12-4lldb/packages/Python/lldbsuite/test/lldbtest.py
+2-0lldb/test/API/macosx/lc-note/firmware-corefile/TestFirmwareCorefiles.py
+2-0lldb/test/API/commands/trace/TestTraceStartStop.py
+2-0lldb/test/API/functionalities/breakpoint/comp_dir_symlink/TestCompDirSymLink.py
+2-0lldb/test/API/functionalities/breakpoint/objc/TestObjCBreakpoints.py
+2-0lldb/test/API/functionalities/gdb_remote_client/TestPty.py
+22-444 files not shown
+93-450 files

LLVM/project ada69a1clang/lib/CIR/CodeGen CIRGenBuiltinAArch64.cpp, clang/test/CodeGen/AArch64 v8.2a-fp16-intrinsics.c

[CIR][NEON] Add lowering for `vfmah_f16` and `vfmsh_f16` (#181148)

As with other NEON builtins, reuse the existing default-lowering
tests to validate the CIR lowering path.
DeltaFile
+57-5clang/lib/CIR/CodeGen/CIRGenBuiltinAArch64.cpp
+22-0clang/test/CodeGen/AArch64/neon/fullfp16.c
+0-16clang/test/CodeGen/AArch64/v8.2a-fp16-intrinsics.c
+79-213 files

LLVM/project c5cbd1allvm/lib/Target/SPIRV SPIRVGlobalRegistry.cpp SPIRVGlobalRegistry.h

[NFC][SPIRV] Remove last uses of SPIRVType and do some renaming for consistency
DeltaFile
+50-47llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
+7-5llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.h
+4-4llvm/lib/Target/SPIRV/SPIRVISelLowering.cpp
+0-6llvm/lib/Target/SPIRV/SPIRVTypeInst.h
+61-624 files

LLVM/project 29c768clldb/packages/Python/lldbsuite/test/tools/lldb-dap lldbdap_testcase.py dap_server.py, lldb/test/API/tools/lldb-dap/variables TestDAP_variables.py

[lldb-dap] Add hex format in setVariable request (#181968)

Added hex format support in `setVariable` request according to DAP
specification.
DeltaFile
+20-0lldb/unittests/DAP/ProtocolRequestsTest.cpp
+10-0lldb/test/API/tools/lldb-dap/variables/TestDAP_variables.py
+6-4lldb/packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.py
+4-2lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py
+2-1lldb/tools/lldb-dap/Handler/SetVariableRequestHandler.cpp
+1-1lldb/tools/lldb-dap/Protocol/ProtocolRequests.h
+43-86 files

FreeBSD/src d379432sys/kern kern_event.c, sys/sys event.h

kqueue: Make kn_sfflags unsigned

This is used to hold a copy of the original fflags, which is unsigned.

MFC after:      3 days
Reviewed by:    kib, markj
Differential Revision:  https://reviews.freebsd.org/D55348
DeltaFile
+1-1sys/kern/kern_event.c
+1-1sys/sys/event.h
+2-22 files

FreeBSD/src d540446usr.bin/diff diffreg_new.c

diff: Drop unnecessary casts, fix none algo

MFC after:      1 week
Sponsored by:   Klara, Inc.
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D55349
DeltaFile
+7-6usr.bin/diff/diffreg_new.c
+7-61 files

LLVM/project a51bc25mlir/test/Integration/Dialect/XeGPU/LANE no-xegpu-ops.mlir

[MLIR][XeGPU] Add LANE level integration test without XeGPU ops. (#181891)

XeGPU LANE level integration test lacks a test without usage of any
XeGPU dialect ops.
Add an integration test without XeGPU dialect ops.
DeltaFile
+53-0mlir/test/Integration/Dialect/XeGPU/LANE/no-xegpu-ops.mlir
+53-01 files

FreeBSD/doc 3dae890documentation/content/en/books/handbook/filesystems _index.adoc

handbook/filesystems: Fix exfat and ntfs pkg names

Reviewed by:    ziaee
Closes:         https://github.com/freebsd/freebsd-doc/pull/609
DeltaFile
+2-2documentation/content/en/books/handbook/filesystems/_index.adoc
+2-21 files

LLVM/project 38b4e4bllvm/lib/Target/SPIRV SPIRVGlobalRegistry.h SPIRVTypeInst.h

[NFC][SPIRV] Replace `SPIRVType` with `SPIRVTypeInst`
DeltaFile
+4-4llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.h
+1-1llvm/lib/Target/SPIRV/SPIRVTypeInst.h
+1-1llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
+6-63 files

LLVM/project 829afc4llvm/test/CodeGen/AMDGPU/GlobalISel wmma-gfx12-w32-imm.ll wmma-gfx12-w64-imm.ll, llvm/test/MC/AMDGPU gfx1170_asm_wmma_w32.s gfx1170_asm_wmma_w64.s

[AMDGPU] Add WMMA and SWMMAC instructions for gfx1170 (#180731)

Introduce two new subtarget features:

- WMMA256bInsts for GFX11 WMMA instructions and
- WMMA128bInsts for GFX1170 and GFX12 WMMA and SWMMAC instructions

Some WMMA instructions have changed from GFX 11.0 to GFX 11.7 so new
Real versions were added with "_gfx1170" suffix. For consistency all
WMMA and SWMMAC GFX11.7 instructions use this suffix.

To resolve decoding issues between different formats for some WMMA
instructions between GFX 11 and GFX 11.7, new decoding tables were
added.
DeltaFile
+1,628-0llvm/test/MC/Disassembler/AMDGPU/gfx1170_dasm_wmma_w64.txt
+1,628-0llvm/test/MC/Disassembler/AMDGPU/gfx1170_dasm_wmma_w32.txt
+1,529-0llvm/test/MC/AMDGPU/gfx1170_asm_wmma_w32.s
+1,529-0llvm/test/MC/AMDGPU/gfx1170_asm_wmma_w64.s
+301-297llvm/test/CodeGen/AMDGPU/GlobalISel/wmma-gfx12-w32-imm.ll
+223-219llvm/test/CodeGen/AMDGPU/GlobalISel/wmma-gfx12-w64-imm.ll
+6,838-51636 files not shown
+10,505-2,85442 files

FreeBSD/src 009be09bin/sh sh.1

sh.1: Reference editline(7)

Key bindings for command line editing are documented in editline(7).

MFC after:              3 days
Reviewed by:            jilles, ziaee
Differential Revision:  https://reviews.freebsd.org/D54767
DeltaFile
+14-3bin/sh/sh.1
+14-31 files

LLVM/project df1eec7clang/include/clang/Basic CodeGenOptions.def, clang/include/clang/Options Options.td

[clang] Ensure -mno-outline adds attributes (#163692)

Before this change, `-mno-outline` and `-moutline` only controlled the
pass pipelines for the invoked compiler/linker.

The drawback of this implementation is that, when using LTO, only the
flag provided to the linker invocation is honoured (and any files which
individually use `-mno-outline` will have that flag ignored).

This change serialises the `-mno-outline` flag into each function's
IR/Bitcode, so that we can correctly disable outlining from functions in
files which disabled outlining, without affecting outlining choices for
functions from other files. This matches how other optimisation flags
are handled so the IR/Bitcode can be correctly merged during LTO.
DeltaFile
+89-31clang/test/CodeGen/attr-no-outline.c
+65-8clang/test/CodeGenObjC/attr-no-outline.m
+7-10clang/include/clang/Options/Options.td
+6-5clang/lib/Driver/ToolChains/CommonArgs.cpp
+3-1clang/lib/CodeGen/CodeGenModule.cpp
+3-0clang/include/clang/Basic/CodeGenOptions.def
+173-555 files not shown
+179-5911 files

LLVM/project 3fafed3libc/shared/math bf16fmal.h, libc/src/__support/math bf16fmal.h CMakeLists.txt

[libc][math] change bf16fmal to be header-only and constexpr-compat (#181666)

Closes: #181628 
Part of: #147386
DeltaFile
+26-0libc/src/__support/math/bf16fmal.h
+25-0libc/shared/math/bf16fmal.h
+15-0utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+10-0libc/src/__support/math/CMakeLists.txt
+3-6libc/src/math/generic/bf16fmal.cpp
+1-5libc/src/math/generic/CMakeLists.txt
+80-113 files not shown
+84-119 files

OpenBSD/ports QF5jvLksecurity/mbedtls Makefile distinfo, security/mbedtls/patches patch-CMakeLists_txt patch-include_mbedtls_mbedtls_config_h

   Reimport security/polarssl as security/mbedtls

   mbedtls-3.6.5 is a SECURITY update over mbedtls-2.18.10 from
   security/polarssl.

   pkg/DESCR (slightly outdated):
   PolarSSL is a fully featured and standards compliant SSL library offering
   server and client functionality (SSLv3, TLSv1.0, TLSv1.1 and TLSv1.2) with
   an intuitive API and readable source code. Dual license (GPLv2+/commercial).

   Non-standard extensions include: SSL Session Tickets (RFC 5077), Server
   Name Indication (SNI) (RFC 6066), Truncated HMAC (RFC 6066), Max Fragment
   Length (RFC 6066), and Secure Renegotiation (RFC 5746).

   Symmetric algorithms: AES, Blowfish, 3DES, DES, ARC4, Camellia, XTEA
   Modes: ECB, CBC, CFB, CTR, GCM
   Hashes: MD2, MD4, MD5, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, RIPEMD-160

   PolarSSL has its own big number library. Its RSA implementation supports both

    [8 lines not shown]
VersionDeltaFile
1.1+203-0security/mbedtls/pkg/PLIST
1.1+44-0security/mbedtls/Makefile
1.1+30-0security/mbedtls/patches/patch-CMakeLists_txt
1.1+25-0security/mbedtls/patches/patch-include_mbedtls_mbedtls_config_h
1.1+19-0security/mbedtls/pkg/DESCR
1.1+2-0security/mbedtls/distinfo
+323-06 files not shown
+323-012 files

LLVM/project 3dd525aclang/include/clang/CIR/Dialect/IR CIROps.td

[CIR][NFC] Remove synthetic attribute from TryOp (#181915)

Remove the synthetic attribute from TryOp, which will not be needed
anymore and will be replaced by CleanupScopeOp
DeltaFile
+0-8clang/include/clang/CIR/Dialect/IR/CIROps.td
+0-81 files