LLVM/project 5df5e8dllvm/lib/Target/AMDGPU SIInstrInfo.td VOP1Instructions.td, llvm/test/CodeGen/AMDGPU llvm.amdgcn.cvt.fp8.dpp.mir arbitrary-fp-from-float-fp8-f16-hw.ll

[AMDGPU] Add custom lowering of llvm.convert.from.arbitrary.fp for FP8 (#194144)

Map conversions from FP8 source formats to v_cvt_{,pk_}f32_{fp8,bf8} and v_cvt_{pk_}f16_{fp8,bf8} HW instructions.
DeltaFile
+256-0llvm/test/CodeGen/AMDGPU/arbitrary-fp-to-float-fp8-hw.ll
+224-0llvm/test/CodeGen/AMDGPU/arbitrary-fp-from-float-fp8-f16-hw.ll
+69-0llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+39-12llvm/lib/Target/AMDGPU/VOP1Instructions.td
+19-0llvm/lib/Target/AMDGPU/SIInstrInfo.td
+9-9llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.fp8.dpp.mir
+616-215 files not shown
+660-2211 files

LLVM/project f5ffd86lldb/source/Symbol Variable.cpp, lldb/test/API/functionalities/scripted_frame_provider TestScriptedFrameProvider.py

[lldb] Treat synthetic variables as always in scope (#204177)

When the variables in scope are requested, synthetic variables wouldn't
be returned, because `Variable::IsInScope` would return false. With this
PR, we return true for synthetic variables.

There's still one inconsistency between `frame var` and
`SBFrame::GetVariables` where `frame var` shows "re-exported" variables
from real frames (here: `variable_in_main`). Note that
`IsSyntheticValueType` returns false for `variable_in_main`.
DeltaFile
+5-3lldb/test/API/functionalities/scripted_frame_provider/TestScriptedFrameProvider.py
+5-0lldb/source/Symbol/Variable.cpp
+10-32 files

LLVM/project 8f3ad1fflang/include/flang/Optimizer/Transforms Passes.td, flang/lib/Optimizer/Transforms LiftSCFWhileToSCFFor.cpp

[flang][Transforms] Add LiftSCFWhileToSCFFor pass

Introduces `--lift-scf-while-to-scf-for`, which walks every scf.while
produced by upstream `lift-cf-to-scf` and, when the canonical
"trip-counter + induction-variable" shape is recognized, rewrites the
loop as scf.for. Other loop-carried before-args are passed through as
iter_args. Loops that do not match (data-dependent updates, used
results, non-positive IV step, etc.) are left untouched and a
diagnostic is emitted to stderr.

Recognition collects a LoopInfo describing the loop:
 - trip counter: candidate the gating cmp uses, must have step -1
 - induction variable: the single non-trip affine recurrence, must
   have positive step (negative step bails for now)
 - iter_args: any other before-args that pass through unchanged

Rewrite materializes `ub_excl = ivInit + tripInit * ivStep` before
the scf.while, casts lb/ub/step to index (so the resulting scf.for
is compatible with downstream affine conversion), and clones the

    [8 lines not shown]
DeltaFile
+560-0flang/lib/Optimizer/Transforms/LiftSCFWhileToSCFFor.cpp
+72-0flang/test/Fir/LiftSCFWhileToSCFFor/two-iter-args.mlir
+54-0flang/test/Fir/LiftSCFWhileToSCFFor/iv-next-body-use.mlir
+51-0flang/test/Fir/LiftSCFWhileToSCFFor/step-gt-one.mlir
+48-0flang/test/Fir/LiftSCFWhileToSCFFor/step-one.mlir
+20-0flang/include/flang/Optimizer/Transforms/Passes.td
+805-01 files not shown
+806-07 files

FreeBSD/ports 5cb84f3devel/py-websockets Makefile distinfo, devel/py-websockets/files patch-pyproject.toml

devel/py-websockets: Update to 17.0
DeltaFile
+3-3devel/py-websockets/files/patch-pyproject.toml
+3-3devel/py-websockets/distinfo
+1-1devel/py-websockets/Makefile
+7-73 files

LLVM/project f79a888libc/src/__support/FPUtil CMakeLists.txt dyadic_float.h, libc/test/src/__support/FPUtil float128_test.cpp

[libc] Fix float128-to-integer conversion UB  (#211593)

https://github.com/llvm/llvm-project/pull/200565#discussion_r3643991194
Fixes the recent issue pointed out in the above comment
about undefined behavior for float128 in the case of extremely large
values and extremely small values.
DeltaFile
+39-4libc/test/src/__support/FPUtil/float128_test.cpp
+17-2libc/src/__support/FPUtil/float128.h
+5-1libc/src/__support/FPUtil/dyadic_float.h
+1-0libc/src/__support/FPUtil/CMakeLists.txt
+62-74 files

LLVM/project 7b299dellvm/lib/Target/AMDGPU MIMGInstructions.td AMDGPU.td, llvm/test/CodeGen/AMDGPU llvm.amdgcn.intersect_ray.ll

AMDGPU: Separate image_msaa_load from bvh-ray-tracing-insts

Add a separate msaa-load-insts feature so image_msaa_load is available on
gfx13, which has it but not the BVH intersect-ray instructions. These were
assumed to be the same feature previously, but gfx13 does not have the bvh
instructions, but does have image_msaa_load.

Co-authored-by: Claude (Claude-Opus-4.8)
DeltaFile
+14-3llvm/lib/Target/AMDGPU/AMDGPU.td
+13-0llvm/test/MC/AMDGPU/gfx13_asm_vimage_err.s
+5-3llvm/lib/Target/AMDGPU/MIMGInstructions.td
+2-0llvm/test/CodeGen/AMDGPU/llvm.amdgcn.intersect_ray.ll
+1-0llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.intersect_ray.ll
+35-65 files

LLVM/project 315bbbcllvm/utils/gn/secondary/llvm/lib/Target/AMDGPU BUILD.gn, llvm/utils/gn/secondary/llvm/test BUILD.gn

[gn] port b11722f1d3bd5de (llvm-calc-occupancy) (#213266)
DeltaFile
+21-0llvm/utils/gn/secondary/llvm/tools/llvm-calc-occupancy/BUILD.gn
+5-0llvm/utils/gn/secondary/llvm/test/BUILD.gn
+1-0llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/BUILD.gn
+27-03 files

LLVM/project 95ee221flang/docs FIRArrayOperations.md, flang/include/flang/Optimizer/Dialect FIROps.td

[flang] Delete the legacy array-value operations from FIR (#213159)

Nothing in flang has produced fir.array_load, fir.array_fetch,
fir.array_update, fir.array_modify, fir.array_access, fir.array_amend,
or fir.array_merge_store since the legacy (non-HLFIR) expression
lowering was deleted (#210385, #210621, #210639, #210873), and the
array-value-copy pass that legalized them is gone (#211816, #212643).
Delete the operations and the surface that existed only for them:

- FIROps.td: the "Array value operations" section including the
copy-in/copy-out design comment; FIROps.cpp: the ops verifiers, effects
and getExtents. fir.array_coor is unrelated and stays, as does the
validTypeParams helper shared with fir.pack_array.
- Tests: the ops roundtrip/verifier blocks in fir-ops.fir and
invalid.fir; scaffolding rewrites in inline-elemental.fir (store via
hlfir.designate; hlfir.apply-in-do_loop coverage preserved),
loop-versioning.fir @test4 (the versioned loops are untouched), and
simplifyintrinsics.fir (inert copy-back loops dropped; no CHECK lines
affected).

    [5 lines not shown]
DeltaFile
+0-396flang/include/flang/Optimizer/Dialect/FIROps.td
+0-343flang/docs/FIRArrayOperations.md
+0-212flang/lib/Optimizer/Dialect/FIROps.cpp
+0-209flang/test/Fir/invalid.fir
+0-103flang/test/Transforms/simplifyintrinsics.fir
+1-43flang/test/Fir/fir-ops.fir
+1-1,3066 files not shown
+28-1,34312 files

LLVM/project 4dc60bbllvm/tools/llvm-calc-occupancy CMakeLists.txt

[Build] Fix llvm-calc-occupancy link errors when using LLVM_LINK_LLVM_DYLIB. (#213262)
DeltaFile
+1-0llvm/tools/llvm-calc-occupancy/CMakeLists.txt
+1-01 files

LLVM/project 2f30bd1libcxx/test/std/algorithms/alg.nonmodifying/alg.adjacent.find pstl.adjacent_find_pred.pass.cpp pstl.adjacent_find.pass.cpp, libcxx/test/std/algorithms/alg.nonmodifying/alg.find.first.of pstl.find_first_of_pred.pass.cpp pstl.find_first_of.pass.cpp

[libc++][NFC] Make size_t -> int conversions explicit in a few PSTL tests (#213145)

The implicit truncating conversions that were introduced in some PSTL
tests are causing warnings on MSVC. This PR fixes that.

See
https://github.com/llvm/llvm-project/pull/212366#discussion_r3679252259
for more details.
DeltaFile
+1-1libcxx/test/std/algorithms/alg.nonmodifying/mismatch/pstl.mismatch_pred.pass.cpp
+1-1libcxx/test/std/algorithms/alg.nonmodifying/mismatch/pstl.mismatch.pass.cpp
+1-1libcxx/test/std/algorithms/alg.nonmodifying/alg.find.first.of/pstl.find_first_of_pred.pass.cpp
+1-1libcxx/test/std/algorithms/alg.nonmodifying/alg.find.first.of/pstl.find_first_of.pass.cpp
+1-1libcxx/test/std/algorithms/alg.nonmodifying/alg.adjacent.find/pstl.adjacent_find_pred.pass.cpp
+1-1libcxx/test/std/algorithms/alg.nonmodifying/alg.adjacent.find/pstl.adjacent_find.pass.cpp
+6-66 files

FreeBSD/ports 88a1cd6java/openjdk11 Makefile distinfo

java/openjdk11: Update to version 11.0.32

Includes the following FreeBSD specific fixes:
- Fix SIGBUS on sparc64 w/gcc 16 by reducing optimization level
- Set wxneeded flag on executables on FreeBSD
- Fix build with clang 22

Sponsored by:   The FreeBSD Foundation
DeltaFile
+3-5java/openjdk11/distinfo
+3-3java/openjdk11/Makefile
+6-82 files

FreeBSD/src 5bb8119sbin/ifconfig ifgif.c

ifconfig: Add netlink support for gif(4)

This implementation does not cover tunnel addresses.

Differential Revision: https://reviews.freebsd.org/D57667
DeltaFile
+194-0sbin/ifconfig/ifgif.c
+194-01 files

FreeBSD/src 9bfb78bsys/net if_gif.c, sys/netlink/route interface.h

if_gif: Add netlink support with tests

Migrate to new if_clone KPI and implement netlink support
for gif(4). Also break GIFSOPTS ioctl logic out of gif_ioctl.

Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D57666
DeltaFile
+270-34sys/net/if_gif.c
+160-0tests/sys/netlink/test_rtnl_gif.c
+10-0sys/netlink/route/interface.h
+1-0tests/sys/netlink/Makefile
+441-344 files

LLVM/project 3f9b969mlir/lib/Dialect/Linalg/Transforms ConvertConv2DToImg2Col.cpp, mlir/test/Dialect/Linalg convert-conv2d-to-img2col.mlir

[mlir][linalg] Support non-unit dilations in im2col decomposition (#208424)

The im2col patterns for conv_2d_nhwc_hwcf, conv_2d_nchw_fchw and
conv_2d_nhwc_fhwc avoided non-unit dilations, but the restriction
doesn't seem to be fundamental: dilation only affects the gather step,
which can fold it into its indexing map. Generalize the convolved index
expression from `oh * stride + fh` to `oh * stride + fh * dilation` and
drop the match failures.

Verified by comparing the results of a dilated convolution lowered
directly to loops against the im2col decomposition with mlir-runner.

Assisted-By: Claude Code (for generating tests).
DeltaFile
+116-0mlir/test/Dialect/Linalg/convert-conv2d-to-img2col.mlir
+14-27mlir/lib/Dialect/Linalg/Transforms/ConvertConv2DToImg2Col.cpp
+130-272 files

LLVM/project b4efecbclang/test/CodeGenOpenCL builtins-amdgcn-gfx13.cl, llvm/lib/TargetParser AMDGPUTargetParser.cpp

AMDGPU: Add missing msad-insts to gfx13 frontend feature map (#213122)

fillAMDGCNFeatureMap omitted msad-insts for gfx1310/gfx13-generic, so
clang wrongly rejected __builtin_amdgcn_msad_u8 on those targets even
though the backend enables the feature (FeatureGFX9 generation,
inherited through FeatureGFX13). Add it to the gfx13 case.

Co-authored-by: Claude (Claude-Opus-4.8)
DeltaFile
+23-0clang/test/CodeGenOpenCL/builtins-amdgcn-gfx13.cl
+9-4llvm/test/CodeGen/AMDGPU/llvm.amdgcn.msad.u8.ll
+1-0llvm/lib/TargetParser/AMDGPUTargetParser.cpp
+33-43 files

LLVM/project e84daa6lldb/packages/Python/lldbsuite/test/tools/lldb_dap session_helpers.py, lldb/test/API/tools/lldb-dap/console TestDAP_redirection_to_console.py TestDAP_console.py

[lldb-dap] Migrate console and restart tests (#213019)

Migrated Tests
- TestDAP_console.py
- TestDAP_redirection_to_console.py
- TestDAP_restart.py
- TestDAP_restart_console.py
DeltaFile
+98-91lldb/test/API/tools/lldb-dap/console/TestDAP_console.py
+46-49lldb/test/API/tools/lldb-dap/restart/TestDAP_restart.py
+42-38lldb/test/API/tools/lldb-dap/restart/TestDAP_restart_console.py
+23-17lldb/test/API/tools/lldb-dap/console/TestDAP_redirection_to_console.py
+1-1lldb/packages/Python/lldbsuite/test/tools/lldb_dap/session_helpers.py
+210-1965 files

LLVM/project c29bcd4lldb/source/Plugins/Platform/Windows PlatformWindows.cpp

[lldb][Windows] Don't cut the loader helper off after 250ms (#213010)

`LoadLibraryW` runs on the debuggee with a timeout of 250ms (the
default). On a loaded machine (in CI), this timeout is reached quite
often, causing tests failures.

This patch gives both loader helpers an explicit timeout of 5s (clamped
to half the overall timeout so the two stay consistent).
DeltaFile
+5-0lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp
+5-01 files

LLVM/project b3825e9llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/PhaseOrdering fast-basictest.ll

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+3-30llvm/test/Transforms/SLPVectorizer/X86/reduction-fadd-reassoc.ll
+10-5llvm/test/Transforms/PhaseOrdering/fast-basictest.ll
+2-4llvm/test/Transforms/SLPVectorizer/X86/ordered-reduction-replaced.ll
+2-2llvm/test/Transforms/SLPVectorizer/X86/reduction-ordered-fadd.ll
+3-1llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+20-425 files

LLVM/project a6a1cb0libsycl/src/detail global_objects.hpp

[libsycl] Add missing header include to global_objects.hpp (#213020)

Fixes a build error observed on Windows.
DeltaFile
+1-0libsycl/src/detail/global_objects.hpp
+1-01 files

FreeBSD/src 6f940casys/dev/ixgbe if_sriov.c

ixgbe: clear VF head write-back state on reset

VF reset and FLR do not clear the transmit head write-back address
registers.  A previous VF driver can therefore leave DMA write-back
enabled with a stale address for the next driver instance.

After consuming the reset request and disabling the VF queues, clear the
address registers for each queue belonging to that VF.  Derive the queue
count from the active IOV mode so peer queue state is not touched.

Linux commit dbf231af81a7 documents the hardware behavior.  The FreeBSD
implementation follows the local queue mapping and register interfaces.

MFC after:      1 week
DeltaFile
+13-0sys/dev/ixgbe/if_sriov.c
+13-01 files

FreeBSD/ports 8749101textproc/libe-book pkg-plist Makefile, textproc/libe-book/files patch-icu68

textproc/libe-book: update to 0.1.4 release (+)

libe-book 0.1.4:

* Fix various problems when reading broken files, found with the help of
  american-fuzzy-lop and oss-fuzz.
* Do not access the network when parsing XML.
* Add a fuzzer for FictionBook v.2.
* Fix build with ICU 68.
* Fix build with recent MSVC.
DeltaFile
+0-20textproc/libe-book/files/patch-icu68
+3-3textproc/libe-book/distinfo
+1-2textproc/libe-book/Makefile
+1-1textproc/libe-book/pkg-plist
+5-264 files

LLVM/project e44068clld/MachO ObjC.cpp, lld/test/MachO objc-category-merging-swift.s objc-category-merging-minimal.s

[lld][MachO] Preserve class-address addends in ObjC category merging (#211431)

Mach-O category merging can encounter Swift class references as an
enclosing
metadata symbol plus a non-zero addend after LTO removes the exact
class-address alias. For example, a category can refer to a `CMf` symbol
plus
the offset of the class object within that metadata record.

`tryGetSymbolAtIsecOffset()` previously resolved such a relocation to
the
enclosing symbol and discarded the residual addend. `getClassRo()` then
read
the class layout at the wrong address. For valid Swift metadata this can
return
null; before the defensive check in the first commit the linker
dereferenced
that result and crashed, while the check alone safely skipped a category
that

    [30 lines not shown]
DeltaFile
+96-50lld/MachO/ObjC.cpp
+13-0lld/test/MachO/objc-category-merging-minimal.s
+2-6lld/test/MachO/objc-category-merging-swift.s
+111-563 files

LLVM/project 0a1f0aaclang/include/clang/Analysis AnyCall.h, clang/unittests/Analysis CMakeLists.txt AnyCallTest.cpp

[clang][Analysis] Add argument accessors to clang::AnyCall (#212934)

Add APIs to `clang::AnyCall` for accessing expression-backed call
arguments.

`AnyCall` already exposes formal parameters through `parameters()`,
`param_begin()`, `param_end()`, `param_size()`, and `param_empty()`.
This adds the corresponding argument-side helpers:

- `arguments()`
- `arg_begin()`
- `arg_end()`
- `arg_size()`
- `arg_empty()`
- `getArg()`

This lets clients reuse `AnyCall` for callee/argument inspection instead
of
open-coding argument extraction.

Prequel PR to #206337
DeltaFile
+256-0clang/unittests/Analysis/AnyCallTest.cpp
+37-0clang/include/clang/Analysis/AnyCall.h
+1-0clang/unittests/Analysis/CMakeLists.txt
+294-03 files

LLVM/project bcddf2allvm/test/Transforms/SLPVectorizer/X86 reduction-fadd-reassoc.ll

[SLP][NFC]Add some extra tests for reductions, NFC



Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/213257
DeltaFile
+142-0llvm/test/Transforms/SLPVectorizer/X86/reduction-fadd-reassoc.ll
+142-01 files

LLVM/project 39f7ff3llvm/lib/CodeGen/SelectionDAG SelectionDAGBuilder.cpp SelectionDAG.cpp, llvm/lib/Target/ARM ARMISelLowering.cpp

DAG: Use poison for some load/store offsets in legalizer

Unindexed load/store offsets are a don't-care operand that must be poison
rather than undef now that poison is legal. Convert the remaining producers
that build the offset with getUNDEF (in SelectionDAGBuilder and the ARM,
Hexagon, RISCV, and X86 lowerings) to getPOISON, and strengthen the offset
asserts in the SelectionDAG memory-node builders to require POISON exactly
instead of accepting any undef-or-poison value.

Co-Authored-By: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
DeltaFile
+25-14llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+6-7llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+4-4llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+3-3llvm/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp
+2-2llvm/lib/Target/ARM/ARMISelLowering.cpp
+1-1llvm/lib/Target/X86/X86ISelLowering.cpp
+41-316 files

HardenedBSD/src 30fa2a8sys/dev/e1000 if_em.c, sys/dev/igc igc_base.c if_igc.c

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+44-0sys/dev/igc/if_igc.c
+28-2sys/dev/ixgbe/ixgbe_mbx.c
+12-17sys/dev/ixgbe/if_sriov.c
+21-0sys/dev/igc/igc_base.c
+21-0sys/dev/e1000/if_em.c
+17-3sys/dev/ixgbe/ixgbe_phy.c
+143-2214 files not shown
+198-4620 files

HardenedBSD/src b8494f6sys/dev/e1000 if_em.c, sys/dev/igc igc_base.c if_igc.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+44-0sys/dev/igc/if_igc.c
+28-2sys/dev/ixgbe/ixgbe_mbx.c
+12-17sys/dev/ixgbe/if_sriov.c
+21-0sys/dev/igc/igc_base.c
+21-0sys/dev/e1000/if_em.c
+17-3sys/dev/ixgbe/ixgbe_phy.c
+143-2214 files not shown
+198-4620 files

HardenedBSD/ports ddf96f4audio/maolan Makefile.crates distinfo, devel/py-ruff distinfo

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+2,123-0devel/tauri-cli/distinfo
+883-787science/py-dipy/pkg-plist
+1,095-0devel/tauri-cli/Makefile
+461-433audio/maolan/distinfo
+229-215audio/maolan/Makefile.crates
+59-65devel/py-ruff/distinfo
+4,850-1,500118 files not shown
+5,991-1,884124 files

HardenedBSD/src 9cf1aa6sys/dev/ixgbe ixgbe_common.c ixgbe_api.c

ixgbe: dispatch PBA string reads through EEPROM ops

E610 installs a device-specific PBA string reader, but the public API
always calls the generic implementation.  Dispatch through the EEPROM
operation table so device overrides are honored.

Initialize the generic operation for devices that use the ordinary
EEPROM representation.

Obtained from:  Intel ix 3.4.39
MFC after:      1 week
DeltaFile
+3-1sys/dev/ixgbe/ixgbe_api.c
+1-0sys/dev/ixgbe/ixgbe_common.c
+4-12 files

FreeBSD/src 9cf1aa6sys/dev/ixgbe ixgbe_common.c ixgbe_api.c

ixgbe: dispatch PBA string reads through EEPROM ops

E610 installs a device-specific PBA string reader, but the public API
always calls the generic implementation.  Dispatch through the EEPROM
operation table so device overrides are honored.

Initialize the generic operation for devices that use the ordinary
EEPROM representation.

Obtained from:  Intel ix 3.4.39
MFC after:      1 week
DeltaFile
+3-1sys/dev/ixgbe/ixgbe_api.c
+1-0sys/dev/ixgbe/ixgbe_common.c
+4-12 files