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

[CIR][Aarch64] upstream scalar & vector intrinsics (FP16) (#190310)

This PR upstreams the following fp16 intrinsics as part of #185382:

- vaddh_f16, 
- vsubh_f16, 
- vmulh_f16, 
- vdivh_f16

This is my first PR to LLVM, so any feedback is greatly appreciated!
DeltaFile
+52-0clang/test/CodeGen/AArch64/neon/fullfp16.c
+0-28clang/test/CodeGen/AArch64/v8.2a-fp16-intrinsics.c
+8-4clang/lib/CIR/CodeGen/CIRGenBuiltinAArch64.cpp
+60-323 files

LLVM/project 7cccf56mlir/lib/Transforms CSE.cpp, mlir/test/Transforms cse.mlir

Revert "[mlir][CSE] Delete dead code immediately in CSE pass" (#191146)

Reverts llvm/llvm-project#190926 ; this is crashing on simple examples
like:

```
func.func @test(%arg0: i1) {
  %c0_i32 = arith.constant 0 : i32
  %0 = arith.select %arg0, %c0_i32, %c0_i32 : i32
  %1 = scf.if %arg0 -> (i32) {
    %c0_i32_0 = arith.constant 0 : i32
    scf.yield %c0_i32_0 : i32
  } else {
    %c0_i32_0 = arith.constant 0 : i32
    scf.yield %c0_i32_0 : i32
  }
  return
}
```
DeltaFile
+0-32mlir/test/Transforms/cse.mlir
+5-9mlir/lib/Transforms/CSE.cpp
+5-412 files

NetBSD/pkgsrc xpkoXkGdoc CHANGES-2026

   Updated devel/buf, devel/sdl12-compat
VersionDeltaFile
1.2175+3-1doc/CHANGES-2026
+3-11 files

NetBSD/pkgsrc 5EgDg2Ydevel/sdl12-compat distinfo Makefile

   sdl12-compat: updated to 1.2.76

   1.2.76

   This is a stable bugfix release, with the following changes:

   Fixed Sacred Gold crash during initial loading screen, requires SDL 3.4.4
   Fixed perl language binding test failures
VersionDeltaFile
1.6+4-4devel/sdl12-compat/distinfo
1.16+2-2devel/sdl12-compat/Makefile
+6-62 files

FreeBSD/ports 2f16e2fsysutils/beats8 Makefile, sysutils/beats91 Makefile

sysutils/beats*: Mark as not for arch i386

MFH:    2026Q2
(cherry picked from commit 3d572ac39d0f36d654c2d5e6f1db8ac7077331ec)
DeltaFile
+2-0sysutils/beats8/Makefile
+2-0sysutils/beats91/Makefile
+2-0sysutils/beats92/Makefile
+2-0sysutils/beats93/Makefile
+8-04 files

LLVM/project 918e446lldb/packages/Python/lldbsuite/test lldbutil.py, lldb/test/API/macosx/simulator TestSimulatorPlatform.py

[lldb] Handle simulator printout in TestSimulatorPlatform (#189571)

This test invokes a binary in a simulator and then reads the first line
of stderr to parse the PID of the invoked binary.

This approach fails when the simulator itself prints a warning/error on
startup. In this case, we try to parse the error as the PID and fail.

This patch just removes the line limit. It doesn't seem to add any value
as we anyway need to search until we find the PID line, and if there is
no PID line we cannot do anything but time out eventually.

See also rdar://169799464
DeltaFile
+15-13lldb/packages/Python/lldbsuite/test/lldbutil.py
+0-1lldb/test/API/macosx/simulator/TestSimulatorPlatform.py
+15-142 files

LLVM/project e1ed14fllvm/lib/Transforms/Vectorize VPlan.h LoopVectorize.cpp

[VPlan] Add ::getSingleVF() helper and use it (NFC). (#191055)

Suggested as follow-up during recent reviews, including
https://github.com/llvm/llvm-project/pull/190393.
DeltaFile
+7-0llvm/lib/Transforms/Vectorize/VPlan.h
+2-2llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+9-22 files

FreeBSD/ports 821f1e0java/java3d/files patch-freebsd patch-j3d-core_src_native_ogl_build-freebsd.xml

java/java3d: split combined patches

Redo make makepatch to have "modern" port patches.
No functional change intended.

Approved-by:    no maintainer
DeltaFile
+0-176java/java3d/files/patch-freebsd
+77-0java/java3d/files/patch-j3d-core_src_native_ogl_build-freebsd.xml
+0-50java/java3d/files/patch-ImageComponentState.java
+49-0java/java3d/files/patch-j3d-core-utils_src_classes_share_com_sun_j3d_utils_scenegraph_io_state_javax_media_j3d_ImageComponentState.java
+48-0java/java3d/files/patch-j3d-core_src_native_build.xml
+28-0java/java3d/files/patch-j3d-core_build.xml
+202-2261 files not shown
+221-2267 files

FreeNAS/freenas 219e0b0src/middlewared/middlewared/plugins smb.py

NAS-136707 / 26.0.0-BETA.2 / fix SMB locked share alerts (by yocalebo) (#18701)
DeltaFile
+20-2src/middlewared/middlewared/plugins/smb.py
+20-21 files

FreeNAS/freenas 4232296src/middlewared/middlewared/plugins smb.py

fix SMB locked share alerts

(cherry picked from commit 97e2830f869bd60f1535e1c6707c379182e21362)
DeltaFile
+20-2src/middlewared/middlewared/plugins/smb.py
+20-21 files

FreeNAS/freenas f058286src/middlewared/middlewared/plugins smb.py

NAS-136707 / 27.0.0-BETA.1 / fix SMB locked share alerts (#18697)
DeltaFile
+20-2src/middlewared/middlewared/plugins/smb.py
+20-21 files

NetBSD/pkgsrc 2qHSUfjlang/rust Makefile

   rust: Avoid bootstrap sanity checks on SunOS.

   This is untested due to gnulib fallout, but should fix issue where the illumos
   bootstrap kit conflicts with the checks for m68k-netbsd, and avoids a patch.
VersionDeltaFile
1.357+2-1lang/rust/Makefile
+2-11 files

LLVM/project 0646ebcllvm/test/TableGen/GlobalISelCombinerEmitter match-table-hoisting.td, llvm/test/TableGen/GlobalISelEmitter MatchTableOptimizerSameOperand-invalid.td

[GlobalISel] Prevent hoisting of CheckIsSameOperand from creating invalid match tables (#190963)

Fixes #188513

This patch adds logic to ask PredicateMatchers whether they'd like to be
hoisted out of a specific Matcher or not.
SameOperandMatcher can use it to check if it's being hoisted out of the
RuleMatcher that defines the operand it relies on.

Assisted-By: Claude Opus 4.6
Context of Use: Claude was only used to add LLVM-style RTTI to the
matcher class (repetitive work). I then reviewed and cleaned up the code
it generated.
DeltaFile
+97-0llvm/test/TableGen/GlobalISelCombinerEmitter/match-table-hoisting.td
+38-1llvm/utils/TableGen/Common/GlobalISel/GlobalISelMatchTable.h
+13-17llvm/utils/TableGen/Common/GlobalISel/GlobalISelMatchTable.cpp
+12-9llvm/test/TableGen/GlobalISelEmitter/MatchTableOptimizerSameOperand-invalid.td
+160-274 files

LLVM/project d6aa3fbmlir/lib/Transforms CSE.cpp, mlir/test/Transforms cse.mlir

Revert "[mlir][CSE] Delete dead code immediately in CSE pass (#190926)"

This reverts commit f73f8754cabd4caf3c9989d8f542d2b9a9f85d07.
DeltaFile
+0-32mlir/test/Transforms/cse.mlir
+5-9mlir/lib/Transforms/CSE.cpp
+5-412 files

LLVM/project a2d3d35llvm/include/llvm/ADT PostOrderIterator.h, llvm/lib/Target/SPIRV SPIRVUtils.h

fix + better MLIR use

Created using spr 1.3.8-wip
DeltaFile
+7-15llvm/unittests/ADT/PostOrderIteratorTest.cpp
+4-15mlir/include/mlir/IR/Iterators.h
+3-0llvm/include/llvm/ADT/PostOrderIterator.h
+1-0llvm/lib/Target/SPIRV/SPIRVUtils.h
+15-304 files

LLVM/project 8521290llvm/lib/Transforms/Scalar SeparateConstOffsetFromGEP.cpp, llvm/test/Transforms/SeparateConstOffsetFromGEP/RISCV split-gep.ll

[SeparateConstOffsetFromGEP] Fix incorrect inbounds flag in case of non-negative index but negative offset (#190192)

Fixes #190187 

Currently, SeparateConstOffsetFromGEP preserves inbounds attribute if
new sequence of GEPs from the same base pointer has non-negative offsets
in each GEP (this was mentioned in
https://github.com/llvm/llvm-project/pull/159515). This statement seems
correct for me (if the sequence consists from 2 GEPs), but current
implementation has a flaw: it checks that constant byte offset and GEP
indices are non-negative. However, in some corner cases we can have a
situation when the index is non-negative, but its offset (in bytes) is
negative, so we can't preserve inbounds attribute. In the example, GEP
index after transformation can have values
`0x7ffffffffffffffd`/`0x7ffffffffffffffe`/`0x7fffffffffffffff`; they are
all non-negative (sign bit is zero), however, after multiplication on
sizeof(i64) they become negative and inbounds can't be preserved
anymore.

The proposed fix is to check that Idx * ElementStride is non-negative
(instead of checking Idx only).
DeltaFile
+28-13llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
+2-2llvm/test/Transforms/SeparateConstOffsetFromGEP/RISCV/split-gep.ll
+30-152 files

FreeBSD/ports cf5a0fclang/python-doc-html distinfo, lang/python313 pkg-plist distinfo

lang/python313: update to 3.13.13

Changelog: https://docs.python.org/3.13/whatsnew/changelog.html#python-3-13-13-final
DeltaFile
+9-5lang/python313/pkg-plist
+3-7lang/python313/distinfo
+5-5lang/python-doc-html/distinfo
+0-3lang/python313/Makefile
+1-1lang/python313/Makefile.version
+18-215 files

LLVM/project 3f3a83cclang/include/clang/StaticAnalyzer/Core/PathSensitive SValBuilder.h, clang/test/Analysis atomics.c

[analyzer] Canonicalize _Atomic pointers in makeNullWithType (#190131)

Fixes #187925
DeltaFile
+4-3clang/include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h
+5-0clang/test/Analysis/atomics.c
+9-32 files

NetBSD/pkgsrc bGEyR9vdevel/buf distinfo go-modules.mk, devel/buf/patches patch-go.mod patch-kernel_unix.go

   buf: updated to 1.67.0

   1.67.0

   Fix LSP not skipping buf.build/docs links for lint rules from check plugins and policies.
   Fix buf dep graph --format json silently dropping dependencies when a dependency was already seen.
   Add support for --rbs_out as a protoc_builtin plugin (requires protoc v34.0+).
   Add relevant links from CEL LSP hover documentation to either <celbyexample.com> or <protovalidate.com>
   Add OpenBSD and FreeBSD release binaries for amd64 and arm64.
   Skip writing unchanged output files in buf generate to preserve modification times
   Update buf beta registry plugin delete to prompt the user for deletion, matching the UX of the other deletion commands. Use --force to restore the old behavior.
VersionDeltaFile
1.2+424-925devel/buf/distinfo
1.2+140-306devel/buf/go-modules.mk
1.9+4-11devel/buf/Makefile
1.2+1-1devel/buf/patches/patch-go.mod
1.2+1-1devel/buf/patches/patch-kernel_unix.go
1.2+1-1devel/buf/patches/patch-layer_unix.go
+571-1,2456 files

LLVM/project a9b863ellvm/lib/CodeGen/GlobalISel GISelValueTracking.cpp, llvm/test/CodeGen/AArch64/GlobalISel knownbits-stepvector.mir

[GlobalISel] Add G_STEP_VECTOR to computeKnownBits. (#190598)

This code is adapted from SelectionDAG::computeKnownBits.
part of https://github.com/llvm/llvm-project/issues/150515.
ticks off STEP_VECTOR.
DeltaFile
+116-0llvm/test/CodeGen/AArch64/GlobalISel/knownbits-stepvector.mir
+24-0llvm/lib/CodeGen/GlobalISel/GISelValueTracking.cpp
+140-02 files

LLVM/project d404a2ellvm/lib/Target/AArch64 AArch64InstrInfo.td, llvm/test/CodeGen/AArch64 logical-op-with-not.ll atomicrmw-O0.ll

Revert "[AArch64][CodeGen] match (or x (not y)) to generate mov+orn" (#191138)

Reverts llvm/llvm-project#190769

[Need to change email for the commit]
DeltaFile
+8-32llvm/test/CodeGen/AArch64/logical-op-with-not.ll
+12-12llvm/test/CodeGen/AArch64/atomicrmw-O0.ll
+2-2llvm/test/CodeGen/AArch64/arm64-atomic.ll
+0-4llvm/lib/Target/AArch64/AArch64InstrInfo.td
+22-504 files

OpenBSD/ports fxF8zlpdevel/stylua distinfo Makefile

   devel/stylua: update to bugfix release 2.4.1.

   Diff from Laurent Cheylus, thanks!
VersionDeltaFile
1.6+2-2devel/stylua/distinfo
1.7+1-1devel/stylua/Makefile
+3-32 files

LLVM/project a0908aeclang/docs/analyzer/user-docs Annotations.rst, clang/include/clang/Basic AttrDocs.td

[clang][docs] Improve documentation of [[ownership_returns]] attribute (#191005)

The 2 parameter use of this attribute wasn't documented.

This clarification is based of the following two commits:
 - https://github.com/llvm/llvm-project/commit/d21139a34f51
 - https://github.com/llvm/llvm-project/commit/893a303962608
DeltaFile
+13-3clang/include/clang/Basic/AttrDocs.td
+11-2clang/docs/analyzer/user-docs/Annotations.rst
+24-52 files

LLVM/project e8ec1e2llvm/test/Analysis/DependenceAnalysis exact-rdiv-addrec-wrap.ll

[DA] Remove "FIXME" for a test that has been fixed
DeltaFile
+0-3llvm/test/Analysis/DependenceAnalysis/exact-rdiv-addrec-wrap.ll
+0-31 files

OpenBSD/ports TmPYgyfgraphics/feh distinfo Makefile, graphics/feh/patches patch-man_feh_pre

   update to feh-3.12.1
VersionDeltaFile
1.77+2-2graphics/feh/distinfo
1.59+2-2graphics/feh/patches/patch-man_feh_pre
1.120+1-1graphics/feh/Makefile
+5-53 files

OpenBSD/ports tw20QR8www/qutebrowser distinfo Makefile

   update to qutebrowser-3.7.0
VersionDeltaFile
1.38+2-2www/qutebrowser/distinfo
1.69+1-1www/qutebrowser/Makefile
+3-32 files

OpenBSD/ports 7RP6cdqmail/neomutt distinfo Makefile

   update to neomutt-20260406
VersionDeltaFile
1.73+2-2mail/neomutt/distinfo
1.110+1-1mail/neomutt/Makefile
+3-32 files

OpenBSD/ports yiBdYLHdatabases/freetds distinfo Makefile

   update to freetds-1.5.16
VersionDeltaFile
1.111+2-2databases/freetds/distinfo
1.177+1-1databases/freetds/Makefile
+3-32 files

LLVM/project 7fa216bllvm/lib/Transforms/InstCombine InstCombineCompares.cpp, llvm/test/Transforms/InstCombine fp-floor-ceil.ll

[InstCombine] Simplify `floor`/`ceil` to `trunc` for integral tests (#190620)

Partially fix https://github.com/llvm/llvm-project/issues/188035

Some proof checks:

`fcmp oeq ceil(x), x` -> `fcmp oeq trunc(x), x`
[Proof](https://alive2.llvm.org/ce/z/kLQeFQ)
`fcmp one floor(x), x` -> `fcmp one trunc(x), x`
[Proof](https://alive2.llvm.org/ce/z/vyVAUX)
`fcmp ueq ceil(x), x` -> `fcmp ueq trunc(x), x`
[Proof](https://alive2.llvm.org/ce/z/DbFMZb)
`fcmp une floor(x), x` -> `fcmp une trunc(x), x`
[Proof](https://alive2.llvm.org/ce/z/QVLQLw)

This may be useful for CSE (due to `trunc(x) == x` is quite common
integral test) or further simplifications specific to `trunc`. Also,
`trunc` is cheaper if it lowered to
[libm](https://git.musl-libc.org/cgit/musl/tree/src/math/trunc.c) /
[libc](https://github.com/llvm/llvm-project/blob/b4f50cfd4a3a086db3f88271c9595056a877ef90/libc/src/__support/FPUtil/NearestIntegerOperations.h#L25)
call
DeltaFile
+140-16llvm/test/Transforms/InstCombine/fp-floor-ceil.ll
+9-1llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
+149-172 files

OpenBSD/ports PX5QttUaudio/navidrome Makefile

   audio/navidrome: transfer maintainer to Igor Zornik.

   As agreed by email. I no longer use navidrome, and Igor expressed interest in
   maintaining it.
VersionDeltaFile
1.20+1-1audio/navidrome/Makefile
+1-11 files