LLVM/project d9075b7llvm/lib/CAS MappedFileRegionArena.cpp

address review feedback

Created using spr 1.3.7
DeltaFile
+3-3llvm/lib/CAS/MappedFileRegionArena.cpp
+3-31 files

SmartOS/live 7ddd5cesrc/vm/man vmadm.8.md, src/vm/node_modules VM.js

vm.js, vmadm: migrate-listen startup mode for bhyve live migration

Adds a first-class way to boot a bhyve VM in its live-migration
destination mode, replacing the /tmp/migrate.listen sentinel file
sidechannel with a properly scoped zonecfg attribute.

Interface:

  vmadm start <uuid> migrate-listen=true

This flows through VM.start(uuid, extra, {migrate_listen: true}, cb)
→ startVM → startZone, which (for the duration of this single
zoneadm boot call only) adds a transient `migrate_listen=true`
attribute to the zone's config via zonecfg.  The brand boot program
(usr/src/lib/brand/bhyve/zone/boot.c, illumos-joyent companion
change) reads the attribute and appends `-o migrate.listen=true` to
the bhyve argv, causing bhyve to skip bootrom + vcpu_reset and block
on its in-zone control socket waiting for import-state from the GZ
migration agent.

    [16 lines not shown]
DeltaFile
+97-5src/vm/node_modules/VM.js
+22-5src/vm/sbin/vmadm.js
+16-0src/vm/man/vmadm.8.md
+135-103 files

SmartOS/live 06c9bafsrc/vm/man vmadm.8.md, src/vm/node_modules VM.js

vm.js, vmadm: migrate-listen startup mode for bhyve live migration

Adds a first-class way to boot a bhyve VM in its live-migration
destination mode, replacing the /tmp/migrate.listen sentinel file
sidechannel with a properly scoped zonecfg attribute.

Interface:

  vmadm start <uuid> migrate-listen=true

This flows through VM.start(uuid, extra, {migrate_listen: true}, cb)
→ startVM → startZone, which (for the duration of this single
zoneadm boot call only) adds a transient `migrate_listen=true`
attribute to the zone's config via zonecfg.  The brand boot program
(usr/src/lib/brand/bhyve/zone/boot.c, illumos-joyent companion
change) reads the attribute and appends `-o migrate.listen=true` to
the bhyve argv, causing bhyve to skip bootrom + vcpu_reset and block
on its in-zone control socket waiting for import-state from the GZ
migration agent.

    [16 lines not shown]
DeltaFile
+91-3src/vm/node_modules/VM.js
+22-5src/vm/sbin/vmadm.js
+16-0src/vm/man/vmadm.8.md
+129-83 files

LLVM/project 393207allvm/lib/Target/WebAssembly WebAssemblyInstrSIMD.td WebAssemblyISelLowering.cpp, llvm/test/CodeGen/WebAssembly f16-intrinsics.ll

[WebAssembly] Improve FP16 load and store generation. (#191274)

Previously, these LL instructions were expanded to software emulation
calls, causing performance overhead in benchmarks. By making these
operations legal and providing patterns, we can generate efficient code
using the new instructions.
DeltaFile
+29-0llvm/test/CodeGen/WebAssembly/f16-intrinsics.ll
+17-0llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
+7-2llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
+2-0llvm/lib/Target/WebAssembly/WebAssemblyInstrMemory.td
+55-24 files

LLVM/project c03ed03llvm/lib/CAS MappedFileRegionArena.cpp, llvm/test/tools/llvm-cas mapping-size-too-small.test

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+22-0llvm/test/tools/llvm-cas/mapping-size-too-small.test
+7-1llvm/lib/CAS/MappedFileRegionArena.cpp
+29-12 files

LLVM/project b420af1lldb/include/lldb/Target StackFrame.h, lldb/source/API SBFrame.cpp

[lldb] Add synthetic variable support to Get*VariableList.

This patch adds a new flag to the lldb_private::StackFrame API to get variable lists: `include_synthetic_vars`.  This allows ScriptedFrame (and other future synthetic frames) to construct 'fake' variables and return them in the VariableList, so that commands like `fr v` and `SBFrame::GetVariables` can show them to the user as requested.

This patch includes all changes necessary to call the API the new way - I tried to use my best judgement on when to include synthetic variables or not and leave comments explaining the decision.

As a consequence of producing synthetic variables, this patch means that ScriptedFrame can produce Variable objects with ValueType that contains a ValueTypeExtendedMask in a high bit. This necessarily complicates some of the switch/case handling in places where we would expect to find such variables, and this patch makes best effort to address all such cases as well. From experience, they tend to show up whenever we're dealing with checking if a Variable is in a specified scope, which means we basically have to check the high bit against some user input saying "yes/no synthetic variables".

stack-info: PR: https://github.com/llvm/llvm-project/pull/181501, branch: users/bzcheeseman/stack/9
DeltaFile
+42-11lldb/source/API/SBFrame.cpp
+44-8lldb/source/Plugins/Process/scripted/ScriptedFrame.cpp
+31-11lldb/source/Commands/CommandObjectFrame.cpp
+27-8lldb/test/API/functionalities/scripted_frame_provider/TestScriptedFrameProvider.py
+16-2lldb/source/Target/StackFrame.cpp
+16-0lldb/include/lldb/Target/StackFrame.h
+176-407 files not shown
+217-5613 files

FreeBSD/src 19887b9sbin/ifconfig Makefile

ifconfig: Do not build geneve with WITHOUT_NETLINK_SUPPORT

geneve(4) is netlink-only, therefore, don't build it with
WITHOUT_NETLINK_SUPPORT=1 set.

Reported by:    kp
Fixes:          688e289ee904 ("ifconfig: Add support for geneve (netlink)")
Differential Revision: https://reviews.freebsd.org/D55184
DeltaFile
+1-1sbin/ifconfig/Makefile
+1-11 files

OpenBSD/ports 1AdLt6Qdevel/codex/patches patch-codex-rs_modcargo-crates_v8-146_4_0_build_config_compiler_BUILD_gn patch-codex-rs_modcargo-crates_v8-146_4_0_build_toolchain_openbsd_BUILD_gn

   devel/codex: update to 0.121.0; recovery code mode; claim maintainership

   patches which cut off code mode from codex grows, and I think soon it
   will make that tool useless.

   Here an opposite approach: build v8 which is requried for code mode.

   For now it is limited only for amd64 and arm64.
VersionDeltaFile
1.1+178-0devel/codex/patches/patch-codex-rs_modcargo-crates_v8-146_4_0_build_config_compiler_BUILD_gn
1.1+70-0devel/codex/patches/patch-codex-rs_modcargo-crates_v8-146_4_0_build_toolchain_openbsd_BUILD_gn
1.1+60-0devel/codex/patches/patch-codex-rs_modcargo-crates_v8-146_4_0_v8_src_base_platform_platform-posix_cc
1.1+53-0devel/codex/patches/patch-codex-rs_modcargo-crates_v8-146_4_0_third_party_abseil-cpp_absl_base_internal_sysinfo_cc
1.13+5-45devel/codex/patches/patch-codex-rs_Cargo_toml
1.1+45-0devel/codex/patches/patch-codex-rs_modcargo-crates_v8-146_4_0_v8_BUILD_gn
+411-4555 files not shown
+1,166-6561 files

LLVM/project bbf325blldb/include/lldb lldb-enumerations.h, lldb/include/lldb/API SBVariablesOptions.h

[lldb] Scaffolding for synthetic variable support. (#181500)


This patch handles most of the scaffolding for synthetic variable support that isn't directly tied to functional changes. This patch will be used by one following patch that actually modifies the lldb_private::StackFrame API to allow us to fetch synthetic variables.

There were a couple important/interesting decisions made in this patch that should be noted:
- Any value type may be synthetic, which is why it's a mask applied over the top of another value type.
- When printing frame variables with `fr v`, default to showing synthetic variables.

This new value type mask makes some of the ValueType handling more interesting, but since nothing generates objects with this mask until the next patch, we can land the concept in this patch in some amount of isolation.
DeltaFile
+32-0lldb/include/lldb/Utility/ValueType.h
+19-2lldb/source/API/SBVariablesOptions.cpp
+17-2lldb/source/Interpreter/OptionGroupVariable.cpp
+6-0lldb/include/lldb/lldb-enumerations.h
+3-2lldb/include/lldb/Interpreter/OptionGroupVariable.h
+4-0lldb/include/lldb/API/SBVariablesOptions.h
+81-66 files

FreeBSD/src a249ddfsys/powerpc/powerpc intr_machdep.c

powerpc/intr setup: Don't check intr name for IPI

Since whether or not the irq is an IPI is passed into
powerpc_setup_intr_int(), use this as the check for IPI instead of
checking the name string.
DeltaFile
+1-1sys/powerpc/powerpc/intr_machdep.c
+1-11 files

FreeBSD/src 603a29bsys/powerpc/mpc85xx platform_mpc85xx.c

mpc85xx: Support timebase sync on T-series devices

Freescale T-series QorIQ devices use a different register to twiddle the
timebase enable.
DeltaFile
+18-6sys/powerpc/mpc85xx/platform_mpc85xx.c
+18-61 files

FreeBSD/src 1fc50a4sys/powerpc/booke pmap.c, sys/powerpc/include tlb.h spr.h

powerpc/pmap: Add support for page sizes found on E6500

E6500 cores (MMUv2) support all powers-of-2 page sizes from 4k to 1TB,
not just powers of 4.  By using the other page sizes (8k, 32k, etc) we
can save on TLB1 space, saving up to ~1/3 of used TLB1 entries.
DeltaFile
+13-13sys/powerpc/include/tlb.h
+17-6sys/powerpc/booke/pmap.c
+5-0sys/powerpc/include/spr.h
+35-193 files

FreeBSD/src 2fc5810sys/dev/etherswitch/e6000sw e6000sw.c

e6000/fdt: Ignore disabled switch ports

Instead of trying to parse a bogus node, just skip it if marked
disabled.
DeltaFile
+2-0sys/dev/etherswitch/e6000sw/e6000sw.c
+2-01 files

FreeBSD/src 680e6e3sys/dev/etherswitch/e6000sw e6000sw.c e6000swreg.h

etherswitch: Add minimal support for mv88e6170 switch
DeltaFile
+4-0sys/dev/etherswitch/e6000sw/e6000sw.c
+1-0sys/dev/etherswitch/e6000sw/e6000swreg.h
+5-02 files

LLVM/project e956107lldb/include/lldb/Target StackFrame.h, lldb/source/API SBFrame.cpp

[lldb] Add synthetic variable support to Get*VariableList.

This patch adds a new flag to the lldb_private::StackFrame API to get variable lists: `include_synthetic_vars`.  This allows ScriptedFrame (and other future synthetic frames) to construct 'fake' variables and return them in the VariableList, so that commands like `fr v` and `SBFrame::GetVariables` can show them to the user as requested.

This patch includes all changes necessary to call the API the new way - I tried to use my best judgement on when to include synthetic variables or not and leave comments explaining the decision.

As a consequence of producing synthetic variables, this patch means that ScriptedFrame can produce Variable objects with ValueType that contains a ValueTypeExtendedMask in a high bit. This necessarily complicates some of the switch/case handling in places where we would expect to find such variables, and this patch makes best effort to address all such cases as well. From experience, they tend to show up whenever we're dealing with checking if a Variable is in a specified scope, which means we basically have to check the high bit against some user input saying "yes/no synthetic variables".

stack-info: PR: https://github.com/llvm/llvm-project/pull/181501, branch: users/bzcheeseman/stack/9
DeltaFile
+44-8lldb/source/Plugins/Process/scripted/ScriptedFrame.cpp
+41-10lldb/source/API/SBFrame.cpp
+31-11lldb/source/Commands/CommandObjectFrame.cpp
+27-8lldb/test/API/functionalities/scripted_frame_provider/TestScriptedFrameProvider.py
+16-2lldb/source/Target/StackFrame.cpp
+16-0lldb/include/lldb/Target/StackFrame.h
+175-397 files not shown
+213-5513 files

LLVM/project c775d7alldb/include/lldb lldb-enumerations.h, lldb/include/lldb/API SBVariablesOptions.h

[lldb] Scaffolding for synthetic variable support.

This patch handles most of the scaffolding for synthetic variable support that isn't directly tied to functional changes. This patch will be used by one following patch that actually modifies the lldb_private::StackFrame API to allow us to fetch synthetic variables.

There were a couple important/interesting decisions made in this patch that should be noted:
- Any value type may be synthetic, which is why it's a mask applied over the top of another value type.
- When printing frame variables with `fr v`, default to showing synthetic variables.

This new value type mask makes some of the ValueType handling more interesting, but since nothing generates objects with this mask until the next patch, we can land the concept in this patch in some amount of isolation.

stack-info: PR: https://github.com/llvm/llvm-project/pull/181500, branch: users/bzcheeseman/stack/8
DeltaFile
+32-0lldb/include/lldb/Utility/ValueType.h
+19-2lldb/source/API/SBVariablesOptions.cpp
+17-2lldb/source/Interpreter/OptionGroupVariable.cpp
+6-0lldb/include/lldb/lldb-enumerations.h
+3-2lldb/include/lldb/Interpreter/OptionGroupVariable.h
+4-0lldb/include/lldb/API/SBVariablesOptions.h
+81-66 files

FreeBSD/ports 785da17graphics/p5-Image-ExifTool-devel distinfo pkg-plist

graphics/p5-Image-ExifTool-devel: Update 13.55 => 13.56

Changelog:
https://exiftool.org/history.html#v13.56

PR:             294579
Sponsored by:   UNIS Labs
DeltaFile
+3-3graphics/p5-Image-ExifTool-devel/distinfo
+2-0graphics/p5-Image-ExifTool-devel/pkg-plist
+1-1graphics/p5-Image-ExifTool-devel/Makefile
+6-43 files

LLVM/project db82d21clang/lib/ScalableStaticAnalysisFramework/Analyses SSAFAnalysesCommon.cpp

fix build error
DeltaFile
+1-0clang/lib/ScalableStaticAnalysisFramework/Analyses/SSAFAnalysesCommon.cpp
+1-01 files

LLVM/project c47df73llvm/lib/Transforms/Vectorize VPlanTransforms.cpp

Addressing code review comments
DeltaFile
+21-22llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+21-221 files

LLVM/project 9f74e0futils/bazel/llvm-project-overlay/mlir BUILD.bazel, utils/bazel/llvm-project-overlay/mlir/test BUILD.bazel

[Bazel] Fixes b3cbad3 (#192554)

This fixes b3cbad3214fcec02487b5ab4f6652c37ecb3467a.

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+8-0utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
+2-0utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+10-02 files

LLVM/project 030be3fclang/test/SemaCXX void-lambda-return-init.cpp

[Clang] [Tests] Add more tests for 87104ee (#192555)

Requested by Shafik:
https://github.com/llvm/llvm-project/pull/188904#discussion_r3090555425
DeltaFile
+4-0clang/test/SemaCXX/void-lambda-return-init.cpp
+4-01 files

LLVM/project 22acd64llvm/test/Transforms/SLPVectorizer/AArch64 spillcost-loop-backedge.ll

[SLP][NFC]Add a test with the spill cost overestimation for blocks, dominated by root



Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/192556
DeltaFile
+85-0llvm/test/Transforms/SLPVectorizer/AArch64/spillcost-loop-backedge.ll
+85-01 files

LLVM/project fa44ca8llvm/lib/Transforms/Scalar LoopBoundSplit.cpp

[LoopBoundSplit] Fix edge connections during transformation (#192106)

Fixed #190672. 

The issue is caused by invalid intermediate IR when `getSCEV()` is
called during transformation: the exiting block of `pre-loop` did not
re-connect to preheader of the `post-loop`, causing `LI.verify()`
unable to correctly recompute another LoopInfo for verification. 
To fix, reconnect the edge earlier before calling `getSCEV()`.

Also moved the DT updates to more appropriate places right after IR 
control flow has changed. and added a few LI and DT verifications to 
improve robustness of the pass.
DeltaFile
+25-11llvm/lib/Transforms/Scalar/LoopBoundSplit.cpp
+25-111 files

LLVM/project 9ad692clldb/include/lldb/Target StackFrame.h, lldb/source/API SBFrame.cpp

[lldb] Add synthetic variable support to Get*VariableList.

This patch adds a new flag to the lldb_private::StackFrame API to get variable lists: `include_synthetic_vars`.  This allows ScriptedFrame (and other future synthetic frames) to construct 'fake' variables and return them in the VariableList, so that commands like `fr v` and `SBFrame::GetVariables` can show them to the user as requested.

This patch includes all changes necessary to call the API the new way - I tried to use my best judgement on when to include synthetic variables or not and leave comments explaining the decision.

As a consequence of producing synthetic variables, this patch means that ScriptedFrame can produce Variable objects with ValueType that contains a ValueTypeExtendedMask in a high bit. This necessarily complicates some of the switch/case handling in places where we would expect to find such variables, and this patch makes best effort to address all such cases as well. From experience, they tend to show up whenever we're dealing with checking if a Variable is in a specified scope, which means we basically have to check the high bit against some user input saying "yes/no synthetic variables".

stack-info: PR: https://github.com/llvm/llvm-project/pull/181501, branch: users/bzcheeseman/stack/9
DeltaFile
+44-8lldb/source/Plugins/Process/scripted/ScriptedFrame.cpp
+41-10lldb/source/API/SBFrame.cpp
+31-11lldb/source/Commands/CommandObjectFrame.cpp
+27-8lldb/test/API/functionalities/scripted_frame_provider/TestScriptedFrameProvider.py
+16-2lldb/source/Target/StackFrame.cpp
+16-0lldb/include/lldb/Target/StackFrame.h
+175-397 files not shown
+213-5513 files

LLVM/project aafde14lldb/include/lldb lldb-enumerations.h, lldb/include/lldb/API SBVariablesOptions.h

[lldb] Scaffolding for synthetic variable support.

This patch handles most of the scaffolding for synthetic variable support that isn't directly tied to functional changes. This patch will be used by one following patch that actually modifies the lldb_private::StackFrame API to allow us to fetch synthetic variables.

There were a couple important/interesting decisions made in this patch that should be noted:
- Any value type may be synthetic, which is why it's a mask applied over the top of another value type.
- When printing frame variables with `fr v`, default to showing synthetic variables.

This new value type mask makes some of the ValueType handling more interesting, but since nothing generates objects with this mask until the next patch, we can land the concept in this patch in some amount of isolation.

stack-info: PR: https://github.com/llvm/llvm-project/pull/181500, branch: users/bzcheeseman/stack/8
DeltaFile
+32-0lldb/include/lldb/Utility/ValueType.h
+19-2lldb/source/API/SBVariablesOptions.cpp
+17-2lldb/source/Interpreter/OptionGroupVariable.cpp
+6-0lldb/include/lldb/lldb-enumerations.h
+3-2lldb/include/lldb/Interpreter/OptionGroupVariable.h
+4-0lldb/include/lldb/API/SBVariablesOptions.h
+81-66 files

LLVM/project 49230ebllvm/docs AMDGPUUsage.rst, llvm/lib/Target/AMDGPU AMDGPUAsmPrinter.cpp

[AMDGPU] Add `.amdgpu.info` section for per-function metadata

AMDGPU object linking requires the linker to propagate resource usage
(registers, stack, LDS) across translation units. To support this, the compiler
must emit per-function metadata and call graph edges in the relocatable object
so the linker can compute whole-program resource requirements.

This PR introduces a `.amdgpu.info` ELF section using a tagged, length-prefixed
binary format: each entry is encoded as:

```
[kind: u8] [len: u8] [payload: <len> bytes]
```

A function scope is opened by an `INFO_FUNC` entry (containing a symbol
reference), followed by per-function attributes (register counts, flags, private
segment size) and relational edges (direct calls, LDS uses, indirect call
signatures). String data such as function type signatures is stored in a
companion `.amdgpu.strtab` section.

    [4 lines not shown]
DeltaFile
+198-0llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
+171-2llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
+115-0llvm/test/MC/AMDGPU/amdgpu-info-roundtrip.s
+111-0llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+110-0llvm/docs/AMDGPUUsage.rst
+83-0llvm/test/CodeGen/AMDGPU/lds-link-time-codegen-typeid.ll
+788-211 files not shown
+1,199-1417 files

LLVM/project 2cf7c97llvm/lib/Target/AMDGPU AMDGPUAsmPrinter.cpp SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU lds-link-time-codegen.ll lds-link-time-codegen-named-barrier.ll

[AMDGPU] Emit the relocation symbol for LDS and named barrier when object linking is enabled
DeltaFile
+50-0llvm/test/CodeGen/AMDGPU/lds-link-time-codegen.ll
+35-0llvm/test/CodeGen/AMDGPU/lds-link-time-codegen-named-barrier.ll
+12-3llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
+12-0llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+109-34 files

FreeBSD/ports 23741b7ports-mgmt/poudriere-dsh2dsh distinfo Makefile

ports-mgmt/poudriere-dsh2dsh: Update 3.4.99.20260304 => 3.4.99.20260415

Upstream changes:
- Pkg 2.7.0 support
- write_atomic: Add a C implementation
- Hooks: Remove example.org
- Fix build on older releases

PR:             294575
Sponsored by:   UNIS Labs
DeltaFile
+3-3ports-mgmt/poudriere-dsh2dsh/distinfo
+1-1ports-mgmt/poudriere-dsh2dsh/Makefile
+1-0ports-mgmt/poudriere-dsh2dsh/pkg-plist
+5-43 files

OpenBSD/ports rTRMEHIgraphics/opencv Makefile, graphics/opencv/patches patch-cmake_OpenCVFindLAPACK_cmake

   Patch to link libcblas explicitly for LAPACK/Generic backend

   Fixes build of opencv on sparc64

   From Brad Smith
VersionDeltaFile
1.1+25-0graphics/opencv/patches/patch-cmake_OpenCVFindLAPACK_cmake
1.111+2-1graphics/opencv/Makefile
+27-12 files

LLVM/project 04a502dflang/include/flang/Evaluate tools.h, flang/lib/Evaluate tools.cpp

[flang][cuda] Avoid false positive on multi device symbol with components (#192513)

Semantic was wrongly flagging derived-type components as two device
resident object. Update how we collect symbols and count the number of
device resident object.
DeltaFile
+51-0flang/test/Lower/CUDA/cuda-data-transfer.cuf
+34-0flang/lib/Evaluate/tools.cpp
+10-0flang/include/flang/Evaluate/tools.h
+1-1flang/lib/Semantics/check-cuda.cpp
+96-14 files