LLVM/project 462b60bllvm/include/llvm/ADT Bitset.h, llvm/unittests/ADT BitsetTest.cpp

[ADT] Bitset: add shift operators, word accessors, and etc (#193400)

This PR is split out from #191757 per reviewer request. It has the
following changes to `llvm::Bitset<N>`:
* Added `operator<<`/`<<=`/`>>`/`>>=`, `getNumWords()`, `getWord()`, and
`findLastSet()`.
* Moved the `std::array<>` constructor from protected to **public** and
**explicit**.
 
A follow-up PR will use these to re-implement `LaneBitmask` as a
`llvm::Bitset` wrapper.

---
The unit test in the PR is largely generated by LLMs. I have reviewed it
and manually applied changes to cover more edge cases.
DeltaFile
+313-111llvm/unittests/ADT/BitsetTest.cpp
+100-4llvm/include/llvm/ADT/Bitset.h
+413-1152 files

FreeBSD/ports 5a6bc9fdevel/jenkins distinfo Makefile

devel/jenkins: Update to 2.563

Sponsored by:   The FreeBSD Foundation
DeltaFile
+3-3devel/jenkins/distinfo
+1-1devel/jenkins/Makefile
+4-42 files

LLVM/project b2e063bclang/include/clang/StaticAnalyzer/Core/PathSensitive CoreEngine.h, clang/lib/StaticAnalyzer/Core ExprEngine.cpp

[NFC][analyzer] Introduce specialized variants of makeNode (#194459)

This commit introduces new methods `makePostStmtNode` and
`makeNodeWithBinding` of `CoreEngine`, which will be used instead of the
5-parameter overloads of `NodeBuilder::generateNode` and
`NodeBuilder::generateSink` (which were originally methods of the class
`StmtNodeBuilder` that was deleted in commit
fb46677a858697afa116c4252e84050a07bc6a70).

This commit applies the newly introduced methods in a few places (as
examples), but there are 80+ call sites that use the 5-parameter
`NodeBuilder::generateNode` or `generateSink`, so this transition will
be completed in multiple follow-up commits.

I decided to introduce these methods because after the transition there
will be 20+ calls to `makePostStmtNode` and 30+ calls to
`makeNodeWithBinding` and it would be cumbersome to use plain `makeNode`
instead of these specialized variants.


    [2 lines not shown]
DeltaFile
+29-37clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
+23-0clang/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h
+52-372 files

LLVM/project 3d555a9clang/include/clang/Analysis AnalysisDeclContext.h, clang/include/clang/StaticAnalyzer/Core/PathSensitive MemRegion.h

[analyzer][NFC] Rename class `StackFrameContext` to `StackFrame` (#195802)

This patch continues the refactoring roadmap described in issue #190973
by renaming the `StackFrameContext` class to just `StackFrame`. Many
variables of type `const StackFrame *` also had their names updated to
reflect the new class name `StackFrame`.
DeltaFile
+53-63clang/lib/StaticAnalyzer/Core/CallEvent.cpp
+55-58clang/lib/StaticAnalyzer/Core/MemRegion.cpp
+52-53clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
+39-41clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp
+23-23clang/include/clang/Analysis/AnalysisDeclContext.h
+19-20clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h
+241-25844 files not shown
+458-50150 files

FreeBSD/ports 88c2bc0misc/py-posthog Makefile

misc/py-posthog: return to pool
DeltaFile
+1-1misc/py-posthog/Makefile
+1-11 files

FreeBSD/ports 504c3eesysutils/graylog distinfo Makefile

sysutils/graylog: update to 7.0.6, return to pool

Sponsored by:SkunkWerks, GmbH
DeltaFile
+3-3sysutils/graylog/distinfo
+2-3sysutils/graylog/Makefile
+5-62 files

FreeBSD/ports 9d64b73devel/gitty Makefile

devel/gitty: tweak portscout
DeltaFile
+1-1devel/gitty/Makefile
+1-11 files

FreeBSD/ports fc7f360www/py-streamlit Makefile

www/py-streamlit: return to pool
DeltaFile
+1-1www/py-streamlit/Makefile
+1-11 files

FreeBSD/ports 03bd1b9misc/py-mixpanel Makefile

misc/py-mixpanel: return to pool
DeltaFile
+1-1misc/py-mixpanel/Makefile
+1-11 files

FreeBSD/ports e76447dmisc/py-llm Makefile

misc/py-llm: return to pool
DeltaFile
+1-1misc/py-llm/Makefile
+1-11 files

FreeBSD/ports 3c2828amisc/py-anthropic Makefile

misc/py-anthropic: return to pool
DeltaFile
+1-1misc/py-anthropic/Makefile
+1-11 files

FreeBSD/ports c2c4e04devel/py-structlog Makefile

devel/py-structlog: return to pool
DeltaFile
+1-1devel/py-structlog/Makefile
+1-11 files

FreeBSD/ports 62a0b81devel/toml11 Makefile

devel/toml11: return to pool
DeltaFile
+1-1devel/toml11/Makefile
+1-11 files

FreeBSD/ports 0df8675sysutils/fwup distinfo Makefile

sysutils/fwup: update to 1.16.0, return to pool

Sponsored by:SkunkWerks, GmbH
DeltaFile
+3-3sysutils/fwup/distinfo
+2-2sysutils/fwup/Makefile
+5-52 files

FreeBSD/ports 4571b2cwww/forgejo11 Makefile, www/forgejo11/files forgejo.in

www/forgejo11: Fix broken configure target

Differential Revision:  https://reviews.freebsd.org/D56786
Fixes:                  8a651f2e690b8c467b1058572f1856e2501d4fa4
Sponsored by:           SkunkWerks, GmbH
DeltaFile
+0-3www/forgejo11/Makefile
+2-1www/forgejo11/files/forgejo.in
+2-42 files

FreeBSD/ports d67d8d8lang/gleam distinfo Makefile.crates, lang/gleam/files patch-Cargo.lock patch-gleam-bin_Cargo.toml

lang/gleam: update to 1.16.0

https://github.com/gleam-lang/gleam/blob/v1.16.0/changelog/v1.16.md

Sponsored by:     SkunkWerks, GmbH
DeltaFile
+297-285lang/gleam/distinfo
+147-141lang/gleam/Makefile.crates
+4-6lang/gleam/Makefile
+4-4lang/gleam/files/patch-Cargo.lock
+2-2lang/gleam/files/patch-gleam-bin_Cargo.toml
+454-4385 files

FreeBSD/ports 4df4435www/forgejo15 Makefile, www/forgejo15/files forgejo.in

www/forgejo15: Fix broken configure target

Differential Revision:  https://reviews.freebsd.org/D56785
Fixes:                  aae925f47e68ed317c1d8e0e5e0debc07df2a9b2
Sponsored by:           SkunkWerks, GmbH
DeltaFile
+0-3www/forgejo15/Makefile
+2-1www/forgejo15/files/forgejo.in
+2-42 files

FreeBSD/ports 947c33fwww/forgejo14 Makefile, www/forgejo14/files forgejo.in

www/forgejo14: Fix broken configure target

Differential Revision:  https://reviews.freebsd.org/D56787
Fixes:                  33520ab983c6ad53efc96c12a4a2146f505135f9
Sponsored by:           SkunkWerks, GmbH
DeltaFile
+0-3www/forgejo14/Makefile
+2-1www/forgejo14/files/forgejo.in
+2-42 files

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

[clang][CIR] Add lowering for fp16 intrinsics (#194865)

This PR adds lowering for the following intrinsic groups:
* https://arm-software.github.io/acle/neon_intrinsics/advsimd.html#absolute-difference-1
* https://arm-software.github.io/acle/neon_intrinsics/advsimd.html#reciprocal-estimate-1
* https://arm-software.github.io/acle/neon_intrinsics/advsimd.html#reciprocal-estimate-1

It also moves the corresponding tests from:
  * clang/test/CodeGen/AArch64/v8.2a-fp16-intrinsics.c

to:
  * clang/test/CodeGen/AArch64/neon/fullfp16.c

The lowering follows the existing implementation in
CodeGen/TargetBuiltins/ARM.cpp.
DeltaFile
+68-0clang/test/CodeGen/AArch64/neon/fullfp16.c
+0-35clang/test/CodeGen/AArch64/v8.2a-fp16-intrinsics.c
+5-0clang/lib/CIR/CodeGen/CIRGenBuiltinAArch64.cpp
+73-353 files

LLVM/project ae9f1eamlir/include/mlir/Dialect/SPIRV/IR SPIRVCLOps.td, mlir/test/Dialect/SPIRV/IR ocl-ops.mlir

[mlir][spirv] Support OpenCL.std clz in the SPIR-V dialect (#195317)

Add support for the OpenCL.std clz extended instruction in the MLIR
SPIR-V dialect. From Spriv Specs - Op Name: "clz", Op Code: "151"
DeltaFile
+50-0mlir/test/Dialect/SPIRV/IR/ocl-ops.mlir
+23-0mlir/include/mlir/Dialect/SPIRV/IR/SPIRVCLOps.td
+2-0mlir/test/Target/SPIRV/ocl-ops.mlir
+75-03 files

LLVM/project f5c52a0clang/lib/AST/ByteCode Compiler.cpp, clang/unittests/AST EvaluateAsRValueTest.cpp

[clang][bytecode] Don't evaluate bound member function expressions in new constant interpreter (#194851)

**Problem:**

A crash is triggered by clangd's hover feature when using C++23 and the
new bytecode interpreter, which calls `Expr::EvaluateAsRValue()` to
attempt constant folding on an expression under the cursor, even when it
is not a valid constant expression.

Tested versions: 22.1.3, Trunk (x86_64-pc-linux-gnu)

**How to reproduce:**
```cpp
struct S { void f(); };
void g() { S s; s.f(); }
```
Running `clangd --check=repro.cpp` 
(with `compile_flags.txt` containing `-std=c++23
-fexperimental-new-constant-interpreter`)

    [69 lines not shown]
DeltaFile
+51-0clang/unittests/AST/EvaluateAsRValueTest.cpp
+7-0clang/lib/AST/ByteCode/Compiler.cpp
+58-02 files

OPNSense/core dd63dd1src/opnsense/mvc/app/controllers/OPNsense/Auth/forms dialogUser.xml, src/opnsense/mvc/app/models/OPNsense/Auth User.xml

system: tighten landing page redirect (#10239)

PR: https://github.com/opnsense/core/issues/10238
DeltaFile
+6-4src/opnsense/mvc/app/models/OPNsense/Core/ACL.php
+4-1src/opnsense/mvc/app/models/OPNsense/Auth/User.xml
+1-0src/opnsense/mvc/app/controllers/OPNsense/Auth/forms/dialogUser.xml
+11-53 files

LLVM/project 17c084cmlir/lib/Dialect/SPIRV/IR SPIRVTypes.cpp, mlir/test/Dialect/SPIRV/Transforms vce-deduction.mlir

[mlir][SPIR-V] Refine OpTypeImage capability inference (#195060)

Capability requirements for OpTypeImage are determined by Dim, Sampled,
MS, and Arrayed

related to LLVM SPIR-V backend PR
https://github.com/llvm/llvm-project/pull/192626
DeltaFile
+108-0mlir/test/Dialect/SPIRV/Transforms/vce-deduction.mlir
+66-4mlir/lib/Dialect/SPIRV/IR/SPIRVTypes.cpp
+55-1mlir/test/Target/SPIRV/image.mlir
+229-53 files

LLVM/project f3f0830offload/test/offloading/fortran dump_map_tables.f90

[offload] Update test after ed07c92c9629. (#195822)

We now get `a(:n) at dump_map_tables.f90:20:11` so test has been updated
accordingly. This should fix the regression seen after
https://github.com/llvm/llvm-project/pull/195346.
DeltaFile
+1-1offload/test/offloading/fortran/dump_map_tables.f90
+1-11 files

NetBSD/src v6v6V2Nsys/net if.c if.h

   if: replace link state change queue with state transition

   if_link_queue is now a normal bitmask rather than holding a queue.
   It holds three bits to mirror the link state - UNKNOWN, DOWN and UP.
   There are also some bits to indicate that the link state has been scheduled
   for change and if it has been locked for changes (ie the interface being
   destroyed).

   The logic is simple - transitioning to DOWN will remove UNKNOWN and UP,
   transitioning to UNKNOWN will remove UP (no driver should do this).
   This means that even in the event of transitions happening faster than
   the kernel can spit them out, the correct state of the link will be
   preserved which is more important than the exact chain of events.

   This also fixes an issue where the workqueue for the link state change
   was incorrectly scheduled.

   if_link_scheduled is now unused and will be removed in a future patch.

   Fixes PR kern/60056.
VersionDeltaFile
1.537+66-113sys/net/if.c
1.310+7-2sys/net/if.h
+73-1152 files

OpenBSD/src FVh1eoQsys/dev/fdt rkrng.c rkclock.c

   Add RK3576 support.

   ok dlg@
VersionDeltaFile
1.9+51-3sys/dev/fdt/rkrng.c
1.99+5-1sys/dev/fdt/rkclock.c
1.71+1-0sys/dev/fdt/rkclock_clocks.h
+57-43 files

OpenBSD/src t3Uyo1dsys/dev/pci/drm/include/linux xarray.h

   add parentheses around use of a macro argument
VersionDeltaFile
1.11+1-1sys/dev/pci/drm/include/linux/xarray.h
+1-11 files

NetBSD/pkgsrc a6yLSk6sysutils/swtpm Makefile, sysutils/swtpm/patches patch-include_sys__dependencies.h patch-src_swtpm__ioctl_tpm__ioctl.c

   swtpm: Portability, sysconfdir, and pkglint fixes.
VersionDeltaFile
1.1+22-0sysutils/swtpm/patches/patch-include_sys__dependencies.h
1.1+17-0sysutils/swtpm/patches/patch-src_swtpm__ioctl_tpm__ioctl.c
1.1+15-0sysutils/swtpm/patches/patch-include_swtpm_tpm__ioctl.h
1.1+14-0sysutils/swtpm/patches/patch-src_swtpm_check__algos.c
1.1+14-0sysutils/swtpm/patches/patch-src_swtpm_common.c
1.17+7-3sysutils/swtpm/Makefile
+89-32 files not shown
+100-78 files

NetBSD/pkgsrc D0dw90Zsysutils/libtpms Makefile distinfo, sysutils/libtpms/patches patch-src_tpm2_TpmProfile__Common.h patch-src_tpm2_RuntimeProfile.c

   libtpms: Portability fixes.

   Clean up pkglint while here.
VersionDeltaFile
1.1+15-0sysutils/libtpms/patches/patch-src_tpm2_TpmProfile__Common.h
1.1+14-0sysutils/libtpms/patches/patch-src_tpm2_RuntimeProfile.c
1.5+3-3sysutils/libtpms/Makefile
1.4+3-1sysutils/libtpms/distinfo
+35-44 files

NetBSD/pkgsrc WCpXjUlsecurity/ap24-evasive distinfo, security/ap24-evasive/patches patch-mod_evasive24.c

   ap24-evasive: fix SunOS build
VersionDeltaFile
1.2+7-5security/ap24-evasive/patches/patch-mod_evasive24.c
1.2+2-2security/ap24-evasive/distinfo
+9-72 files