LLVM/project af03f5eclang/lib/Basic/Targets RISCV.h, clang/test/CodeGen/RISCV bitint.c

Reland "[RISCV] Support RISCV BitInt larger than 128 (#175515)" (#190188)

Reverted due to https://github.com/llvm/llvm-project/issues/176637 and
be fixed after https://github.com/llvm/llvm-project/pull/178690.

---


https://github.com/llvm/llvm-project/commit/fa57074d146925a303263905af415cc78f58f353
constraint the RISCV BitInt with 128 bits.

It is due to fp <-> int convension will crash in backend.
(https://godbolt.org/z/9o1qr4rje)

This patch enable larger than 128 bits BitInt type by
setMaxLargeFPConvertBitWidthSupported(128).
DeltaFile
+3,583-866llvm/test/CodeGen/RISCV/fpclamptosat.ll
+1,792-0llvm/test/CodeGen/RISCV/bitint-fp-conv-200.ll
+218-36clang/test/CodeGen/RISCV/bitint.c
+214-0llvm/test/CodeGen/RISCV/fp128.ll
+4-0clang/lib/Basic/Targets/RISCV.h
+2-0llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+5,813-9021 files not shown
+5,813-9047 files

NetBSD/pkgsrc-wip 065d826sftpgo/files sftpgo.sh

sftpgo: Fix whitespaces
DeltaFile
+2-2sftpgo/files/sftpgo.sh
+2-21 files

LLVM/project 7a25ab7llvm/lib/Analysis DependenceAnalysis.cpp, llvm/test/Analysis/DependenceAnalysis gcd-miv-overflow.ll

[DA] Fix overflow of findBoundsALL in BanerjeeTest

Fix signed overflow handling in `findBounds*` for the Banerjee test.
The previous implementation computed bounds using `getMinusSCEV` and
`getMulExpr` without checking for signed overflow, which could produce
incorrect bounds when coefficients have extreme values.

- Add `mulSCEVNoSignedOverflow` helper function that checks for
multiplication overflow before computing the result
- Use `minusSCEVNoSignedOverflow` and `mulSCEVNoSignedOverflow` in
`findBounds*` to safely compute bounds, returning `nullptr`
when overflow would occur
DeltaFile
+112-46llvm/lib/Analysis/DependenceAnalysis.cpp
+7-19llvm/test/Analysis/DependenceAnalysis/gcd-miv-overflow.ll
+119-652 files

NetBSD/pkgsrc-wip 5649d36sftpgo distinfo go-modules.mk

sftpgo: update to 2.7.1

New features
    SFTPD: Added support for OpenPubkey SSH, enabling tighter integration between OpenID Connect and SFTP.

Bug fixes
    Enforced password validation rules also when applied through a group.
    Fixed an issue where JSON dumps containing command actions failed to load correctly at startup when loaded as initial data.
    Data Provider: Fixed lock handling issues during migrations that could affect MySQL when migrations are executed concurrently by multiple instances.

Security fixes
    Fixed a potential path traversal and permission bypass involving specially crafted paths. CVE-2026-30914.
    Fixed placeholder sanitization in group home directories and key prefixes. CVE-2026-30915.

Backward incompatible changes
    Unified path handling: Prior to this release, the backslash character (\) was treated differently depending on the host operating system: on Linux, it was considered a standard character within a file or directory name, while on Windows, it acted as a path separator. We have now unified path handling across all platforms. Moving forward, both forward slashes (/) and backslashes (\) are strictly evaluated as path separators, independently of the underlying OS.
DeltaFile
+543-624sftpgo/distinfo
+180-207sftpgo/go-modules.mk
+1-1sftpgo/Makefile
+0-2sftpgo/TODO
+724-8344 files

LLVM/project f11fe5bclang-tools-extra/clangd/unittests DiagnosticsTests.cpp, clang/lib/Serialization ASTReader.cpp ASTWriter.cpp

[clang][Serialization] Serialize DiagStateOnPushStack to fix pragma d… (#190420)

**Serialize DiagStateOnPushStack to fix pragma diagnostic push/pop
across PCH boundary**

`DiagStateOnPushStack` was not serialized in PCH files, causing `#pragma
clang diagnostic pop` to emit a spurious "no matching push" warning when
the corresponding push was in the preamble. This is because clangd
splits files into a preamble (compiled to PCH) and the main file body,
and the push/pop stack was lost during the PCH round-trip.

Serialize and deserialize DiagStateOnPushStack in
`WritePragmaDiagnosticMappings`/`ReadPragmaDiagnosticMappings` so that
unmatched pushes from a preamble are correctly restored.

Fixes https://github.com/clangd/clangd/issues/1167
DeltaFile
+12-0clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp
+12-0clang/lib/Serialization/ASTReader.cpp
+11-0clang/test/PCH/pragma-diag-push-pop-across-pch.c
+7-0clang/lib/Serialization/ASTWriter.cpp
+1-0clang/test/PCH/Inputs/pragma-diag-push.h
+43-05 files

LLVM/project a08d8fdclang/lib/Headers/hlsl hlsl_alias_intrinsics.h, llvm/test/tools/llvm-mca/RISCV/SiFiveX390 vector-fp.s

Merge branch 'users/ziqingluo/PR-172429193-pre-2' into users/ziqingluo/PR-172429193
DeltaFile
+0-4,851llvm/test/tools/llvm-mca/RISCV/SiFiveX390/vector-fp.s
+4,526-0llvm/test/tools/llvm-mca/RISCV/SiFiveX390/rvv/arithmetic.test
+4-3,871clang/lib/Headers/hlsl/hlsl_alias_intrinsics.h
+3,706-0llvm/test/tools/llvm-mca/RISCV/SiFiveX390/rvv/fp.test
+3,126-0llvm/test/tools/llvm-mca/RISCV/SiFiveX390/rvv/vlseg-vsseg.test
+2,878-0llvm/test/tools/llvm-mca/RISCV/SiFiveX390/rvv/bitwise.test
+14,240-8,7221,961 files not shown
+101,207-49,2861,967 files

LLVM/project 3994ca4clang/include/clang/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel EntityPointerLevelFormat.h EntityPointerLevel.h, clang/include/clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage UnsafeBufferUsage.h

[SSAF][UnsafeBufferUsage] Add APIs to the EntityPointerLevel module for UnsafeBufferUsage

- UnsafeBufferUsage serialization uses EntityPointerLevel's API to
  serialize EntityPointerLevels.
- Add APIs to EntityPointerLevel for creating EPLs from Decls and
  incrementing EPL's pointer level.
- Improve UnsafeBufferUsage serialization error messages with a test.
DeltaFile
+107-34clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp
+33-0clang/include/clang/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevelFormat.h
+26-5clang/include/clang/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.h
+9-19clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsage.cpp
+12-4clang/test/Analysis/Scalable/UnsafeBufferUsage/tu-summary-serialization.test
+2-6clang/include/clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsage.h
+189-681 files not shown
+191-707 files

OpenBSD/src hKS7JACsys/kern vfs_biomem.c

   sys/vfs_biomem: add missed atop() in buf_alloc_pages()

   bufbackoff() operates in pages, but size at this call site was a byte
   count; the old loop therefore asked for far too much backoff and
   compared reclaimed pages against bytes.

   On a low memory machine that made the NOWAIT retry path much less likely
   to succeed, so the code dropped into the WAITOK allocation below and
   slept.

   Using atop() puts the units back in line; backoff can now satisfy the
   intended request, and the subsequent NOWAIT retry again has a realistic
   chance of success. The WAITOK path remains possible, but it should be
   reached less often.

   OK deraadt@, beck@
VersionDeltaFile
1.54+2-2sys/kern/vfs_biomem.c
+2-21 files

LLVM/project 253af39llvm/test/CodeGen/AMDGPU rewrite-vgpr-mfma-to-agpr-spill-multi-store-mir.mir

Addressed review comments.

Used filetype=null, compacted registers, removed registers section
and unnecessary fields.
DeltaFile
+408-721llvm/test/CodeGen/AMDGPU/rewrite-vgpr-mfma-to-agpr-spill-multi-store-mir.mir
+408-7211 files

LLVM/project a4ccaceclang/include/clang/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel EntityPointerLevel.h, clang/include/clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage UnsafeBufferUsage.h UnsafeBufferUsageExtractor.h

[NFC][SSAF] Move EntityPointerLevel to a separate folder

EntityPointerLevel will later be shared with other summaries besides
UnsafeBufferUsage. This commit moves it to a separate file.
DeltaFile
+244-0clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp
+7-213clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageExtractor.cpp
+99-0clang/include/clang/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.h
+1-67clang/include/clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsage.h
+0-5clang/include/clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageExtractor.h
+0-4clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsage.cpp
+351-2892 files not shown
+353-2928 files

FreeBSD/ports 152735asysutils/xclipsync distinfo Makefile

sysutils/xclipsync: Update to 0.2.0

ChangeLog: https://github.com/DtxdF/xclipsync/releases/tag/v0.2.0
DeltaFile
+3-3sysutils/xclipsync/distinfo
+2-2sysutils/xclipsync/Makefile
+5-52 files

LLVM/project 5706ee3llvm/include/llvm/Object BBAddrMap.h, llvm/lib/Object ELF.cpp BBAddrMap.cpp

[Object] Extract format-agnostic BBAddrMap decoder (#188435)

[Object] Extract format-agnostic BBAddrMap decoder

This is part of patches to port BBAddrMap to COFF.

Move format-agnostic BBAddrMap decode logic out of ELF.cpp into
BBAddrMap.cpp, and expose a shared decodeBBAddrMapPayload helper in
BBAddrMap.h.

Keep ELF-specific steps (section decompression and relocation
translation) in ELF.cpp, and delegate payload decoding to the
shared helper.

Error messages in the decoder are updated to use the generic
"BB address map" instead of the ELF-specific "SHT_LLVM_BB_ADDR_MAP"
since the decoder is now shared across object formats.

This refactor prepares follow-up work to let COFF and ELF share
the same BBAddrMap decoding logic.
DeltaFile
+76-247llvm/lib/Object/ELF.cpp
+215-0llvm/lib/Object/BBAddrMap.cpp
+39-26llvm/unittests/Object/ELFObjectFileTest.cpp
+32-0llvm/include/llvm/Object/BBAddrMap.h
+3-3llvm/test/tools/llvm-readobj/ELF/bb-addr-map-feature-warning.test
+2-2llvm/test/tools/llvm-readobj/ELF/bb-addr-map.test
+367-2785 files not shown
+374-28411 files

LLVM/project d458f34clang-tools-extra/clang-tidy/bugprone IncorrectEnableIfCheck.cpp, clang-tools-extra/docs ReleaseNotes.rst

 [clang-tidy] Fix `bugprone-incorrect-enable-if` inserting duplicate `typename` (#190899)

This PR resolves one of our FIXME's. Pre-C++20, this check turns
```cpp
typename std::enable_if<...>
```
into
```cpp
typename typename std::enable_if<...>::type
```
instead of 
```cpp
typename std::enable_if<...>::type
```
DeltaFile
+4-5clang-tools-extra/clang-tidy/bugprone/IncorrectEnableIfCheck.cpp
+6-0clang-tools-extra/test/clang-tidy/checkers/bugprone/incorrect-enable-if.cpp
+6-0clang-tools-extra/docs/ReleaseNotes.rst
+16-53 files

LLVM/project 2c0102clldb/examples/python/templates scripted_process.py, lldb/test/API/functionalities/scripted_frame_provider test_frame_providers.py TestScriptedFrameProvider.py

[lldb] Fix ScriptedFrame thread member init assignment (#191297)

This patch fixes a typo in the `ScriptedFrame` base class initializer
where we used a thread id with `GetThreadByIndexID` instead of the
thread index.

This could lead to issues where derived classes wouldn't be initialized
properly, which could cause crashes down the line.

The patch addresses the issue by calling `GetThreadByID` with the thread
id.

rdar://174432881

Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
DeltaFile
+59-0lldb/test/API/functionalities/scripted_frame_provider/test_frame_providers.py
+47-0lldb/test/API/functionalities/scripted_frame_provider/TestScriptedFrameProvider.py
+30-0lldb/test/API/functionalities/scripted_process/TestScriptedProcess.py
+1-1lldb/examples/python/templates/scripted_process.py
+137-14 files

LLVM/project 81fee9emlir/include/mlir/Dialect/XeGPU/uArch IntelGpuXe2.h

[MLIR][XeGPU] Add uArch defintion for CRI - Crescent Island (#191024)

XeGPU lowering relies on uArch definition and lowering fails if a chip
does not have uArch definition entry.
Add preliminary uArch definition for CRI.
This is a place holder for now and current defintion is identical to
BMG.
DeltaFile
+30-0mlir/include/mlir/Dialect/XeGPU/uArch/IntelGpuXe2.h
+30-01 files

LLVM/project 8ed9a04mlir/test/Integration/Dialect/XeVM/GPU gpu_printf.mlir

[MLIR][XeVM] Re-enable gpu.printf test. (#191056)

https://github.com/llvm/llvm-project/pull/188517 fixed regression.
DeltaFile
+1-9mlir/test/Integration/Dialect/XeVM/GPU/gpu_printf.mlir
+1-91 files

LLVM/project 25e64fdllvm/test/CodeGen/WebAssembly/GlobalISel/instructions rotl.mir rotr.mir, llvm/test/CodeGen/WebAssembly/GlobalISel/legalizer add.mir

[WebAssembly][GlobalISel] Add legalization & selection of most integer ops (#190234)

Allows many ops/instructions working solely on integers to be fully
selected (legalize, regbankselect, isel).

Split from #157161
DeltaFile
+291-0llvm/test/CodeGen/WebAssembly/GlobalISel/instructions/rotl.mir
+291-0llvm/test/CodeGen/WebAssembly/GlobalISel/instructions/rotr.mir
+221-0llvm/test/CodeGen/WebAssembly/GlobalISel/instructions/fshl.ll
+201-0llvm/test/CodeGen/WebAssembly/GlobalISel/instructions/fshr.ll
+0-200llvm/test/CodeGen/WebAssembly/GlobalISel/legalizer/add.mir
+183-0llvm/test/CodeGen/WebAssembly/GlobalISel/instructions/ashr.ll
+1,187-20039 files not shown
+3,923-57945 files

LLVM/project 47678c6clang/test/CodeGen/X86 pr190962.ll, llvm/lib/Target/X86 X86InstrInfo.cpp X86InstrInfo.h

Revert "[X86][APX] Add copy instruction to LiveInterval of SrcReg (#191102) (#191330)

This reverts commit 16f02c0940d6ee783c38ca27b44fc158d77e7567.

This caused a bot failure when building with expensive checks.


https://ci.swift.org/job/llvm.org/job/clang-stage1-RA-expensive/job/main/409/testReport/junit/Clang/CodeGen_X86/pr190962_ll/

The test case included in the original commit fails with:

```
| *** Bad machine code: Two-address instruction operands must be identical ***
| - function:    foo
| - basic block: %bb.0  (0x7fc688853c40) [0B;192B)
| - instruction: 128B   %10:gr64 = IMUL64rm %33:gr64(tied-def 0), %fixed-stack.1, 1, $noreg, 0, $noreg, implicit-def dead $eflags :: (load (s64) from %fixed-stack.1, align 16)
| - operand 1:   %33:gr64(tied-def 0)
| fatal error: error in backend: Found 1 machine code errors.
```

    [2 lines not shown]
DeltaFile
+0-65clang/test/CodeGen/X86/pr190962.ll
+8-19llvm/lib/Target/X86/X86InstrInfo.cpp
+1-2llvm/lib/Target/X86/X86InstrInfo.h
+1-1llvm/lib/Target/X86/X86FastISel.cpp
+10-874 files

LLVM/project e03817fllvm/unittests/Support ErrorTest.cpp

[LLVM][Support] Fix leak in ErrorTest.cpp (#191326)

The leak is from #188718
DeltaFile
+1-2llvm/unittests/Support/ErrorTest.cpp
+1-21 files

LLVM/project 5531990llvm/tools/llvm-profgen CMakeLists.txt

[llvm-profgen] Link with BinaryFormat for #190862 (#191324)
DeltaFile
+1-0llvm/tools/llvm-profgen/CMakeLists.txt
+1-01 files

LLVM/project f7fb8f4llvm/lib/Target/RISCV RISCVInstrInfoP.td, llvm/test/CodeGen/RISCV rv64p.ll rv32p.ll

[RISCV][P-ext] Add mul*.h00 and mul*.w00 patterns. (#191313)

The instructions take the low halfword/word from each input, extends
them and multiplies to produce a word/dword result.

We can use these instead of plain MUL if it would allow us to avoid
a sext/zext for at least one of the operands.

Tests were written by Claude Sonnet 4.5.
DeltaFile
+94-3llvm/test/CodeGen/RISCV/rv64p.ll
+94-3llvm/test/CodeGen/RISCV/rv32p.ll
+24-0llvm/lib/Target/RISCV/RISCVInstrInfoP.td
+212-63 files

HardenedBSD/src d8af0e4share/man/man4 ix.4, sys/dev/ixgbe ixgbe_e610.c ixgbe_fw_logging.c

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+486-0sys/dev/ixgbe/ixgbe_e610.c
+467-0sys/dev/ixgbe/ixgbe_fw_logging.c
+36-12sys/dev/nvme/nvme_ctrlr.c
+36-0sys/dev/ixgbe/ixgbe_osdep.c
+33-1share/man/man4/ix.4
+18-4sys/dev/ixgbe/if_ix.c
+1,076-179 files not shown
+1,104-1815 files

HardenedBSD/src b7b0ecbshare/man/man4 ix.4, sys/dev/ixgbe ixgbe_e610.c ixgbe_fw_logging.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+486-0sys/dev/ixgbe/ixgbe_e610.c
+467-0sys/dev/ixgbe/ixgbe_fw_logging.c
+36-12sys/dev/nvme/nvme_ctrlr.c
+36-0sys/dev/ixgbe/ixgbe_osdep.c
+33-1share/man/man4/ix.4
+18-4sys/dev/ixgbe/if_ix.c
+1,076-179 files not shown
+1,104-1815 files

HardenedBSD/ports 9d3923ddatabases/greptimedb distinfo Makefile, databases/greptimedb/files patch-src_common_mem-prof_src_lib.rs

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+171-209databases/greptimedb/distinfo
+87-111databases/greptimedb/Makefile
+101-0databases/libgda5/files/patch-providers_mysql_gda-mysql-provider.c
+69-0databases/greptimedb/files/patch-src_common_mem-prof_src_lib.rs
+56-0games/suika3/Makefile
+47-0databases/libgda5/files/patch-libgda-ui_gdaui-raw-grid.c
+531-32067 files not shown
+1,049-48573 files

LLVM/project 23cb39autils/bazel/llvm-project-overlay/llvm/unittests BUILD.bazel

[bazel] Remove unused deps from llvm/unittests (#191237)

I'm testing out dwyu, this is a first pass on removing some of the
things it has found
DeltaFile
+0-23utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel
+0-231 files

LLVM/project 58d8ee8clang/include/clang/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel EntityPointerLevel.h, clang/lib/Analysis UnsafeBufferUsage.cpp

address comments
DeltaFile
+13-14clang/lib/ScalableStaticAnalysisFramework/Analyses/SSAFAnalysesCommon.h
+3-21clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageExtractor.cpp
+4-6clang/include/clang/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.h
+6-0clang/lib/Analysis/UnsafeBufferUsage.cpp
+26-414 files

Linux/linux 9a9c8cescripts Makefile.package, scripts/mod modpost.c

Merge tag 'kbuild-fixes-7.0-4' of git://git.kernel.org/pub/scm/linux/kernel/git/kbuild/linux

Pull Kbuild fixes from Nathan Chancellor:

 - Make modules-cpio-pkg respect INSTALL_MOD_PATH so that it can be
   used with distribution initramfs files that have a merged /usr,
   such as Fedora

 - Silence an instance of -Wunused-but-set-global, a strengthening
   of -Wunused-but-set-variable in tip of tree Clang, in modpost,
   as the variable for extra warnings is currently unused

* tag 'kbuild-fixes-7.0-4' of git://git.kernel.org/pub/scm/linux/kernel/git/kbuild/linux:
  modpost: Declare extra_warn with unused attribute
  kbuild: modules-cpio-pkg: Respect INSTALL_MOD_PATH
DeltaFile
+2-1scripts/Makefile.package
+1-1scripts/mod/modpost.c
+3-22 files

LLVM/project eb6075elibc/src CMakeLists.txt, libc/src/semaphore posix_semaphore.h CMakeLists.txt

[libc][semaphore] Add internal unnamed semaphore implementation (#190851)

Implements the first part for #190847

Add internal unnamed semaphore lifetime support, particularly:

`sem_init`:
https://pubs.opengroup.org/onlinepubs/9799919799/functions/sem_init.html#
`sem_destroy`:
https://pubs.opengroup.org/onlinepubs/9799919799/functions/sem_destroy.html#
`sem_getvalue`:
https://pubs.opengroup.org/onlinepubs/9799919799/functions/sem_getvalue.html#
DeltaFile
+59-0libc/src/semaphore/posix_semaphore.h
+25-0libc/test/src/semaphore/semaphore_test.cpp
+11-0libc/test/src/semaphore/CMakeLists.txt
+8-0libc/src/semaphore/CMakeLists.txt
+1-0libc/src/CMakeLists.txt
+1-0libc/test/src/CMakeLists.txt
+105-06 files

LLVM/project 7cec394llvm/unittests/Support ErrorTest.cpp

Fix leak in ErrorTest.cpp

The leak is from #188718
DeltaFile
+1-2llvm/unittests/Support/ErrorTest.cpp
+1-21 files

HardenedBSD/ports b243d25sysutils/reggae distinfo Makefile, sysutils/reggae/files reggae_pf.in

sysutils/reggae: Update 0.5.1 => 0.5.2

Changelog:
https://github.com/cbsd/reggae/releases/tag/0.5.2

PR:             294371
Sponsored by:   UNIS Labs
DeltaFile
+3-3sysutils/reggae/distinfo
+1-1sysutils/reggae/Makefile
+1-1sysutils/reggae/files/reggae_pf.in
+5-53 files