LLVM/project d8e4096libc/src/__support/math pow.h, libc/test/src/math/smoke powf_test.cpp pow_test.cpp

[libc][math] Fix pow() subnormal base exponent computation (#198134)

For subnormal inputs, get_exponent() returns -1023. The code subtracted
64 after normalizing but didn't recompute e_x from the normalized value.
This set e_x to -1087 for every subnormal.

To fix, compute e_x from the normalized value.

powf() doesn't have this bug because it adds
`x_u >> FloatBits::FRACTION_LEN` to ex, where x_u is `x_u =
FloatBits(x).uintval();` with `x` being the normalized value. Added
subnormal base tests for powf to show that it works fine as-is.

Fixes #197212.
DeltaFile
+7-0libc/test/src/math/smoke/powf_test.cpp
+6-0libc/test/src/math/smoke/pow_test.cpp
+3-2libc/src/__support/math/pow.h
+16-23 files

LLVM/project 9a0ca63llvm/lib/DebugInfo/LogicalView/Readers LVDWARFReader.cpp LVCodeViewReader.cpp, llvm/unittests/DebugInfo/LogicalView DWARFReaderTest.cpp CMakeLists.txt

[llvm-debuginfo-analyzer] Fix missed 'else'  (LVCodeViewReader / LVDWARFReader) (#192923)

Issues found PVS studio static analyzer.
LVCodeViewReader.cpp. PR for #170117.

4. Potent UB: manipulation of invalid object.
The PVS-Studio warning: V519 The 'FeaturesValue' variable is assigned
values twice successively.

The original patch caused fail tests for linker error and it was reverted.
This PR include original (#188578) + necessary edit in CMakeList.

Committed on behalf of @Seraphimt
DeltaFile
+75-1llvm/unittests/DebugInfo/LogicalView/DWARFReaderTest.cpp
+3-5llvm/lib/DebugInfo/LogicalView/Readers/LVDWARFReader.cpp
+3-5llvm/lib/DebugInfo/LogicalView/Readers/LVCodeViewReader.cpp
+1-0llvm/unittests/DebugInfo/LogicalView/CMakeLists.txt
+82-114 files

FreeBSD/ports 6b842c9devel/electron39 Makefile

devel/electron39: Deprecate and set to expire on 2026-06-30
DeltaFile
+4-0devel/electron39/Makefile
+4-01 files

LLVM/project 1d05580flang/include/flang/Optimizer/Dialect/CUF/Attributes CUFAttr.h, flang/lib/Optimizer/Transforms CompilerGeneratedNames.cpp

[CUF] Fix CompilerGeneratedNamesConversion renaming managed companion globals

CUFAddConstructor creates a companion pointer global (e.g. foo.managed.ptr)
for each non-allocatable managed variable. When CompilerGeneratedNamesConversion
ran after CUFAddConstructor, it replaced the dots with 'X',
so CUFOpConversionLate could no longer find the companion by name and fell back
to CUFGetDeviceAddress with the wrong host pointer, causing cudaErrorInvalidSymbol.

Fix: mark the companion global with a cuf.managed_ptr unit attribute in
CUFAddConstructor and skip it in CompilerGeneratedNamesConversionPass.

Co-authored-by: Claude Sonnet 4.6 <noreply at anthropic.com>
DeltaFile
+51-0flang/test/Fir/CUDA/cuda-managed-ptr-companion.mlir
+7-0flang/include/flang/Optimizer/Dialect/CUF/Attributes/CUFAttr.h
+3-1flang/lib/Optimizer/Transforms/CompilerGeneratedNames.cpp
+2-2flang/test/Fir/CUDA/cuda-constructor-2.f90
+3-0flang/lib/Optimizer/Transforms/CUDA/CUFAddConstructor.cpp
+66-35 files

FreeBSD/ports fbf5844devel/electron42 Makefile, devel/electron42/files patch-chrome_browser_about__flags.cc patch-sandbox_policy_openbsd_sandbox__openbsd.cc

devel/electron42: Add port: Build cross-platform desktop apps with JavaScript, HTML, and CSS

Build cross platform desktop apps with JavaScript, HTML, and CSS.

It's easier than you think.

If you can build a website, you can build a desktop app. Electron is a
framework for creating native applications with web technologies like
JavaScript, HTML, and CSS. It takes care of the hard parts so you can
focus on the core of your application.

WWW: https://electronjs.org/
DeltaFile
+12,501-0devel/electron42/files/packagejsons/yarn.lock
+945-0devel/electron42/files/packagejsons/.yarn/releases/yarn-4.12.0.cjs
+572-0devel/electron42/files/patch-chrome_browser_about__flags.cc
+470-0devel/electron42/Makefile
+448-0devel/electron42/files/patch-sandbox_policy_openbsd_sandbox__openbsd.cc
+399-0devel/electron42/files/patch-services_device_hid_hid__service__fido.cc
+15,335-01,756 files not shown
+59,544-11,762 files

LLVM/project 7f396dbllvm/lib/Target/BPF BPFTargetTransformInfo.h

[BPF] Remove getMaxNumArgs() from BPFTargetTransformInfo (#198223)

The function getMaxNumArgs() hardcoded the maximum number of function
arguments to 5. LLVM now supports more than 5 arguments with stack
argument support. Remove this leftover.
DeltaFile
+0-2llvm/lib/Target/BPF/BPFTargetTransformInfo.h
+0-21 files

LLVM/project 428cc16clang/lib/CIR/CodeGen CIRGenBuiltinRISCV.cpp, clang/test/CIR/CodeGenBuiltins/RISCV riscv-zbb.c

[CIR][RISCV] Support rest zbb builtin codegen (#196704)

Inlcude: __builtin_riscv_clz_32, __builtin_riscv_clz_64,
__builtin_riscv_ctz_32, __builtin_riscv_ctz_64.
DeltaFile
+57-21clang/test/CIR/CodeGenBuiltins/RISCV/riscv-zbb.c
+19-2clang/lib/CIR/CodeGen/CIRGenBuiltinRISCV.cpp
+76-232 files

LLVM/project 4887351mlir/lib/Dialect/Linalg/IR LinalgOps.cpp, mlir/test/Dialect/Linalg canonicalize.mlir

[mlir][linalg] Add splat transpose canonicalization patterns (#195991)

All elements in a dense splat are identical, transposing it only changes
the shape, but still maintaining the value. Add a pattern where it would
replace the `linalg.transpose` of a splat constant with a
`arith.constant` of the transposed result shape.

Assisted-by: Cursor (GPT-5.5)
DeltaFile
+51-0mlir/test/Dialect/Linalg/canonicalize.mlir
+38-1mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
+89-12 files

OpenBSD/src 2INIgFfsys/kern kern_exec.c

   Intended behaviour should not have a XXX XXX XXX XXX
   ok beck
VersionDeltaFile
1.269+2-5sys/kern/kern_exec.c
+2-51 files

LLVM/project 8d3d611clang/docs ReleaseNotes.rst, clang/lib/Sema SemaTemplateInstantiate.cpp

[Clang] Instantiate ParmVarDecls on-demand for FunctionParmPackExpr (#196919)

This is missed when we implemented CWG2369, where their instantiations
should be built in place when they are needed.

Fixes #173086
DeltaFile
+16-0clang/test/SemaTemplate/concepts.cpp
+9-1clang/lib/Sema/SemaTemplateInstantiate.cpp
+1-0clang/docs/ReleaseNotes.rst
+26-13 files

FreeBSD/ports bb832ffdevel/ipython Makefile distinfo, devel/ipython/files patch-pyproject.toml

devel/ipython: upgrade to 9.13.0
DeltaFile
+7-6devel/ipython/Makefile
+3-3devel/ipython/distinfo
+1-1devel/ipython/files/patch-pyproject.toml
+11-103 files

FreeBSD/ports 13c8022security/p5-Crypt-JWT distinfo Makefile

security/p5-Crypt-JWT: Update to 0.038 (with security fix)

ChangeLog: https://metacpan.org/dist/Crypt-JWT/changes

PR:             295376
Reported by:    Sergei Vyshenski <svysh.fbsd at gmail.com> (maintainer)
DeltaFile
+3-3security/p5-Crypt-JWT/distinfo
+3-2security/p5-Crypt-JWT/Makefile
+6-52 files

LLVM/project ed24112llvm/test/CodeGen/AMDGPU/GlobalISel legalize-load-local.mir, llvm/test/CodeGen/Thumb2 mve-clmul.ll

Merge branch 'main' into users/shiltian/single-line-brace-rule
DeltaFile
+8,633-8,584llvm/test/CodeGen/Thumb2/mve-clmul.ll
+1,243-8,768llvm/test/CodeGen/X86/vector-replicaton-i1-mask.ll
+0-4,752llvm/test/tools/llvm-mca/RISCV/SiFiveP800/vlseg-vsseg.s
+4,549-0llvm/test/tools/llvm-mca/RISCV/SiFiveP800/rvv/arithmetic.test
+3,706-328llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-local.mir
+3,729-0llvm/test/tools/llvm-mca/RISCV/SiFiveP800/rvv/fp.test
+21,860-22,4321,810 files not shown
+97,788-61,9281,816 files

OpenBSD/src qorsBALsys/dev/pci/drm/amd/amdgpu vcn_v4_0.c

   drm/amdgpu/vcn4: Avoid overflow on msg bound check

   From Benjamin Cheng
   271cd5429513ff9b364a9bf8903e5b65b687eb25 in linux-6.18.y/6.18.32
   65bce27ea6192320448c30267ffc17ffa094e713 in mainline linux
VersionDeltaFile
1.12+3-1sys/dev/pci/drm/amd/amdgpu/vcn_v4_0.c
+3-11 files

OpenBSD/src SGqq9Pjsys/dev/pci/drm/amd/amdgpu vcn_v3_0.c

   drm/amdgpu/vcn3: Avoid overflow on msg bound check

   From Benjamin Cheng
   016b64a0313ea5346cf526e30c8d3e66aca10175 in linux-6.18.y/6.18.32
   e6e9faba8100628990cccd13f0f044a648c303cf in mainline linux
VersionDeltaFile
1.15+3-1sys/dev/pci/drm/amd/amdgpu/vcn_v3_0.c
+3-11 files

OpenBSD/src 9zRCz31sys/dev/pci/drm/amd/amdgpu amdgpu_vm.c amdgpu_vm.h

   drm/amdgpu: rework how we handle TLB fences

   From Alex Deucher
   f0d3bb6f5125c69ce872a7574afd6d9e1f7ea349 in linux-6.18.y/6.18.32
   69c5fbd2b93b5ced77c6e79afe83371bca84c788 in mainline linux
VersionDeltaFile
1.34+6-1sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.c
1.11+2-0sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.h
+8-12 files

OpenBSD/src tp1XdNJsys/dev/pci/drm/amd/amdgpu amdgpu_vm.c

   Revert "drm/amdgpu: don't attach the tlb fence for SI"

   From Prike Liang
   13e9ea445191390269a6f092d009b68e086e601b in linux-6.18.y/6.18.32
   9163fe4d790fb4e16d6b0e23f55b43cddd3d4a65 in mainline linux
VersionDeltaFile
1.33+1-3sys/dev/pci/drm/amd/amdgpu/amdgpu_vm.c
+1-31 files

OpenBSD/src LSkfKJZsys/dev/pci/drm/amd/amdgpu amdgpu_gmc.c

   drm/amdgpu: Fix validating flush_gpu_tlb_pasid()

   From Timur Kristof
   576b73b246564c8fa75572d45c1ed9b053b4be5b in linux-6.18.y/6.18.32
   e3a6eff92bbd960b471966d9afccb4d584546d17 in mainline linux
VersionDeltaFile
1.19+4-2sys/dev/pci/drm/amd/amdgpu/amdgpu_gmc.c
+4-21 files

OpenBSD/src pA8PZTPsys/dev/pci/drm/amd/amdgpu amdgpu_gmc.c

   drm/amdgpu: validate the flush_gpu_tlb_pasid()

   From Prike Liang
   fd78e63459ab6fe99b9fd026c420808d09eaa8be in linux-6.18.y/6.18.32
   f4db9913e4d3dabe9ff3ea6178f2c1bc286012b8 in mainline linux
VersionDeltaFile
1.18+4-0sys/dev/pci/drm/amd/amdgpu/amdgpu_gmc.c
+4-01 files

OpenBSD/src HlaK0jRsys/dev/pci/drm/amd/pm/powerplay/smumgr ci_smumgr.c

   drm/amdgpu/pm: align Hawaii mclk workaround with radeon

   From Alex Deucher
   f8f546883e8777493157ccc4fac5794c502fcbd2 in linux-6.18.y/6.18.32
   1987c79b4fe5789dfa14423e78b5c25f6acf3e9d in mainline linux
VersionDeltaFile
1.7+4-4sys/dev/pci/drm/amd/pm/powerplay/smumgr/ci_smumgr.c
+4-41 files

OpenBSD/src 1yLEHLcsys/dev/pci/drm/amd/pm/powerplay/smumgr ci_smumgr.c

   drm/amdgpu/pm: add missing revision check for CI

   From Alex Deucher
   6fed6e9f10622db34a18ee6ce155cbe0fa211b23 in linux-6.18.y/6.18.32
   2a561b361b7681509710f3cfc3d95d54c87ac69f in mainline linux
VersionDeltaFile
1.6+3-2sys/dev/pci/drm/amd/pm/powerplay/smumgr/ci_smumgr.c
+3-21 files

OpenBSD/src yR4k88jsys/dev/pci/drm/amd/amdgpu sdma_v4_0.c

   drm/amdgpu/sdma4: replace BUG_ON with WARN_ON in fence emission

   From John B. Moore
   0b91ea46bb68abf98a082bf239092253bbd6aaa2 in linux-6.18.y/6.18.32
   78d2e624fa073c14970aa097adcf3ea31c157a66 in mainline linux
VersionDeltaFile
1.20+2-2sys/dev/pci/drm/amd/amdgpu/sdma_v4_0.c
+2-21 files

OpenBSD/src fYf4SCVsys/dev/pci/drm/amd/amdkfd kfd_device_queue_manager.c kfd_priv.h

   drm/amdkfd: Make all TLB-flushes heavy-weight

   From Felix Kuehling
   6fbd52d210c15f3987e04d8fa2cf6ca3ace2d0d8 in linux-6.18.y/6.18.32
   9b4e3495d1bd2469bf94b74930c153c2d534ddb7 in mainline linux
VersionDeltaFile
1.23+3-3sys/dev/pci/drm/amd/amdkfd/kfd_device_queue_manager.c
1.23+3-3sys/dev/pci/drm/amd/amdkfd/kfd_priv.h
1.25+2-2sys/dev/pci/drm/amd/amdkfd/kfd_chardev.c
1.27+2-2sys/dev/pci/drm/amd/amdkfd/kfd_svm.c
+10-104 files

LLVM/project ae15647llvm/include/llvm/Transforms/IPO Instrumentor.h, llvm/lib/Transforms/IPO Instrumentor.cpp

[Instrumentor] Add Ptr2Int instrumentation support
DeltaFile
+82-0llvm/test/Instrumentation/Instrumentor/ptrtoint.ll
+29-0llvm/include/llvm/Transforms/IPO/Instrumentor.h
+28-0llvm/lib/Transforms/IPO/Instrumentor.cpp
+27-0llvm/test/Instrumentation/Instrumentor/ptrtoint_config.json
+21-0llvm/test/Instrumentation/Instrumentor/default_config.json
+187-05 files

OpenBSD/src SQWpfABsys/dev/pci/drm/amd/amdgpu gfx_v9_0.c

   drm/amdgpu/gfx9: drop unnecessary 64-bit fence flag check in KIQ

   From John B. Moore
   71614ab2a683490bf7f43bf25afcf0d2a57a8403 in linux-6.18.y/6.18.32
   7bbfb2559bcec39d1a4e1182d931a2046112c352 in mainline linux
VersionDeltaFile
1.34+0-3sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
+0-31 files

OpenBSD/src cS8NAZNsys/dev/pci/drm/amd/amdgpu amdgpu_gart.c

   drm/amdgpu: zero-initialize GART table on allocation

   From Philip Yang
   b17175d0a375b3ed5e81597dac4983fdb46e478d in linux-6.18.y/6.18.32
   e6c2e6c2e1fa066968a16aca1cb66cd1bdde7741 in mainline linux
VersionDeltaFile
1.10+10-3sys/dev/pci/drm/amd/amdgpu/amdgpu_gart.c
+10-31 files

OpenBSD/src reQ5s07sys/dev/pci/drm/radeon ci_dpm.c

   drm/radeon: add missing revision check for CI

   From Alex Deucher
   264ee64cf86794353e4fcb363282e3f9cf5249b3 in linux-6.18.y/6.18.32
   17223816498f7b117d138d18eb0eba63604dc74e in mainline linux
VersionDeltaFile
1.12+6-3sys/dev/pci/drm/radeon/ci_dpm.c
+6-31 files

OpenBSD/src pf7tAHMsys/dev/pci/drm drm_gem.c

   drm: Set old handle to NULL before prime swap in change_handle

   From Francis, David
   672464dd53231509c9c771110798c56d4660e19e in linux-6.18.y/6.18.32
   5e28b7b94408897e41c63477aabc9e1db439bc8c in mainline linux
VersionDeltaFile
1.31+24-1sys/dev/pci/drm/drm_gem.c
+24-11 files

OpenBSD/src JtnbyNPsys/dev/pci/drm/amd/amdkfd kfd_chardev.c kfd_priv.h

   drm/amdkfd: validate SVM ioctl nattr against buffer size

   From Alysa Liu
   db9530a9873a7c85d2266a922589ebcf427fa631 in linux-6.18.y/6.18.32
   045e0ff208f0838a246c10204105126611b267a1 in mainline linux
VersionDeltaFile
1.24+24-2sys/dev/pci/drm/amd/amdkfd/kfd_chardev.c
1.22+3-0sys/dev/pci/drm/amd/amdkfd/kfd_priv.h
+27-22 files

OpenBSD/src zvbUi4Dsys/dev/pci/drm/amd/display/dc/core dc_resource.c

   drm/amd/display: Change dither policy for 10 bpc output back to dithering

   From Mario Kleiner
   158def957199b6c0b4d578f369ad05cbd7789fe9 in linux-6.18.y/6.18.32
   d65bfb1782304b03862c8c725fac608015dffd36 in mainline linux
VersionDeltaFile
1.33+1-1sys/dev/pci/drm/amd/display/dc/core/dc_resource.c
+1-11 files