NetBSD/pkgsrc-wip 420766alean4 Makefile distinfo, lean4/patches patch-src_lake_Lake_Build_Common.lean patch-src_Leanc.lean

lean4: handle rpaths in lean compiler/build system

Define C++ standard used, use CMake variables instead of manual
post-installation rule. Depend on required gmp version.
DeltaFile
+32-0lean4/patches/patch-src_lake_Lake_Build_Common.lean
+18-3lean4/Makefile
+14-0lean4/patches/patch-src_Leanc.lean
+2-0lean4/distinfo
+66-34 files

LLVM/project 8231fdalldb/include/lldb/Utility FileSpec.h, lldb/source/API SBData.cpp SBFileSpec.cpp

[lldb] Remove ConstString from FileSpec (#211394)

This commit completely removes ConstString from FileSpec, replacing it
with llvm::SmallString instead.

I considered combining the directory and the filename together into one
field, but then it became impossible to distinguish between a
partially-constructed FileSpec's last directory and a fully-constructed
FileSpec's filename.

The sizes of the SmallStrings are somewhat arbitrary. I tested out a few
other configurations on my machine locally and this yielded the best
memory/runtime tradeoffs.

I measured the impact of this change in two ways:
(1) Runtime performance

I measured the runtime impact by using LLDB's statistics with `stat
enable` and `stat dump -f` (forcing the parsing of symbols) for a debug

    [15 lines not shown]
DeltaFile
+30-28lldb/source/Utility/FileSpec.cpp
+6-4lldb/include/lldb/Utility/FileSpec.h
+2-2lldb/source/Target/Statistics.cpp
+1-0lldb/source/API/SBData.cpp
+1-0lldb/source/API/SBFileSpec.cpp
+1-0lldb/source/API/SBLaunchInfo.cpp
+41-349 files not shown
+50-3415 files

LLVM/project de4b1f5clang/lib/Parse ParseDecl.cpp, clang/lib/Sema DeclSpec.cpp

[Clang] Avoid querying tag definitions for invalid DeclSpecs (#210085)

Guard hasTagDefinition() against invalid type-specifier state so
recovery from invalid auto/tag combinations does not assert.
Fixes #210014

---------

Signed-off-by: Osama Abdelkader <osama.abdelkader at gmail.com>
DeltaFile
+7-1clang/lib/Parse/ParseDecl.cpp
+5-0clang/test/SemaCXX/auto-cxx0x.cpp
+1-1clang/lib/Sema/DeclSpec.cpp
+13-23 files

LLVM/project 92c76ablibc/src/stdlib/linux realpath.cpp, libc/test/src/stdlib realpath_test.cpp

[libc][realpath] Follow symlinks
DeltaFile
+48-38libc/src/stdlib/linux/realpath.cpp
+26-0libc/test/src/stdlib/realpath_test.cpp
+74-382 files

LLVM/project 86c2f95llvm/include/llvm/CodeGen BreakFalseDeps.h, llvm/lib/Target/AArch64 AArch64.h SVEShuffleOpts.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+8-5llvm/lib/Target/AArch64/AArch64.h
+3-3llvm/lib/Target/AArch64/SVEShuffleOpts.cpp
+3-2llvm/lib/Target/Lanai/Lanai.h
+3-1llvm/lib/Target/AArch64/AArch64PassRegistry.def
+2-1llvm/lib/Target/MSP430/MSP430.h
+1-1llvm/include/llvm/CodeGen/BreakFalseDeps.h
+20-135 files not shown
+25-1811 files

LLVM/project b0c727bllvm/include/llvm/Analysis FunctionPropertiesAnalysis.h, llvm/include/llvm/CodeGen BreakFalseDeps.h

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.7

[skip ci]
DeltaFile
+6-4llvm/lib/Target/AArch64/AArch64.h
+3-2llvm/lib/Target/Lanai/Lanai.h
+2-1llvm/lib/Target/MSP430/MSP430.h
+1-1llvm/lib/Target/X86/X86.h
+1-1llvm/include/llvm/Analysis/FunctionPropertiesAnalysis.h
+1-1llvm/include/llvm/CodeGen/BreakFalseDeps.h
+14-103 files not shown
+17-139 files

LLVM/project e200ea6flang/include/flang/Parser parse-tree.h dump-parse-tree.h, flang/lib/Parser unparse.cpp

[flang][semantic] parser node types and rewrite for assumed-shape-bounds-spec (#211690)
DeltaFile
+53-0flang/lib/Semantics/resolve-names-utils.cpp
+43-0flang/test/Semantics/declaration-assumed-array-bounds.f90
+6-4flang/include/flang/Parser/parse-tree.h
+4-0flang/lib/Parser/unparse.cpp
+1-0flang/include/flang/Parser/dump-parse-tree.h
+107-45 files

LLVM/project f348f98llvm/include/llvm/CodeGen BreakFalseDeps.h, llvm/include/llvm/Transforms/Scalar AlignmentFromAssumptions.h LogicalSROA.h

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+6-4llvm/lib/Target/AArch64/AArch64.h
+3-2llvm/lib/Target/Lanai/Lanai.h
+2-1llvm/lib/Target/MSP430/MSP430.h
+1-1llvm/include/llvm/CodeGen/BreakFalseDeps.h
+1-1llvm/include/llvm/Transforms/Scalar/AlignmentFromAssumptions.h
+1-1llvm/include/llvm/Transforms/Scalar/LogicalSROA.h
+14-103 files not shown
+17-139 files

LLVM/project 15bb4a9llvm/test/CodeGen/PowerPC ppcf128-constrained-fp-intrinsics.ll, llvm/test/Transforms/EarlyCSE replace-calls-def-attrs.ll

[IR] Make semantics of strictfp consistent v2 (#211769)

Changes: The patch was originally landed as af0c933e (#209465), but
there was an issue with strictfp functions being inlined into
non-strictfp functions. The issue has since been resolved by a2b42b10a
([IR] Reject inlining strictfp alwaysinline callee into non-strictfp
caller, #210701) and the re-land is identical.

Although the section on constrainedfp in the LangRef clearly states "All
function definitions that use constrained floating point intrinsics must
have the strictfp attribute", indicating that a function with strictfp
calls must be marked with strictfp, the general description of strictfp
does not specify this. Refine its semantics and make it so, eliminating
the inconsistency.
DeltaFile
+35-32llvm/test/Transforms/EarlyCSE/replace-calls-def-attrs.ll
+25-25mlir/test/Target/LLVMIR/llvmir-intrinsics.mlir
+22-18llvm/test/Transforms/InstCombine/erf.ll
+16-14llvm/test/Transforms/SimplifyCFG/X86/merge-compatible-invokes-of-landingpad.ll
+24-0llvm/unittests/IR/VerifierTest.cpp
+2-14llvm/test/CodeGen/PowerPC/ppcf128-constrained-fp-intrinsics.ll
+124-10317 files not shown
+169-13623 files

LLVM/project 6edec6dllvm/lib/Transforms/Vectorize VPlan.h, llvm/test/Transforms/LoopVectorize interleaved-accesses.ll induction.ll

[VPlan] Endow DerivedIV with IRFlags (#205908)

Endow DerivedIV with no-wrap flags that are used in all adds and muls:
the FP induction can still get the FastMathFlags from the FPBinOp. The
patch changes vputils::createScalarIVSteps where no-wrap flags are
applicable. GEP no-wrap flags are missing nearly everywhere, and is left
to an exercise for a follow-up.

Proof: https://alive2.llvm.org/ce/z/rHtwEH +
https://alive2.llvm.org/ce/z/h297HG for a larger UF on one test
DeltaFile
+358-0llvm/test/Transforms/LoopVectorize/VPlan/derivediv-wrapflags.ll
+25-27llvm/test/Transforms/LoopVectorize/interleaved-accesses.ll
+12-10llvm/lib/Transforms/Vectorize/VPlan.h
+10-10llvm/test/Transforms/LoopVectorize/induction.ll
+9-9llvm/test/Transforms/LoopVectorize/AArch64/transform-narrow-interleave-to-widen-memory-derived-ivs.ll
+7-7llvm/test/Transforms/LoopVectorize/AArch64/sve-interleaved-accesses.ll
+421-6357 files not shown
+583-21563 files

LLVM/project f1b04ddllvm/lib/TargetParser AMDGPUTargetParser.cpp, llvm/unittests/TargetParser TargetParserTest.cpp

AMDGPU: Reject unrecognized amdgpu subarch in TargetID parsing

A bare "amdgpu" or an unrecognized "amdgpu<x>" both parse to the
amdgpu arch with no subarch; TargetID::parse previously accepted them,
taking a named processor and ignoring the missing subarch.

Reject triples with no subarch, unless it uses the legacy spelling.
This is another workaround for Triple not having a proper unknown value
for subarches.

Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+9-0llvm/unittests/TargetParser/TargetParserTest.cpp
+4-0llvm/lib/TargetParser/AMDGPUTargetParser.cpp
+13-02 files

LLVM/project ea1728alldb/source/Plugins/ObjectFile/wasm ObjectFileWasm.cpp, lldb/test/Shell/ObjectFile/wasm wasm-formatter-sections.yaml

[lldb] Classify embedded formatter sections in WebAssembly objects (#211704)

A `section` attribute on a data variable is placed in a named data
segment on WebAssembly rather than a top-level custom section, so the
.lldbformatters and .lldbsummaries segments that carry embedded data
formatters were classified as plain data. The data-formatter loader
looks these up by section type, so embedded summaries and synthetic
child providers were never registered for a Wasm module.

Map the two formatter segment names to their section types when creating
sections, and place the segments in linear memory like other data so
their contents resolve. This mirrors the ELF and Mach-O object file
plugins.

Assisted-by: Claude
DeltaFile
+72-0lldb/test/Shell/ObjectFile/wasm/wasm-formatter-sections.yaml
+24-8lldb/source/Plugins/ObjectFile/wasm/ObjectFileWasm.cpp
+96-82 files

LLVM/project 6b3268allvm/lib/Target/AMDGPU AMDGPUISelDAGToDAG.cpp

AMDGPU: Avoid dropping poison when extracting a high element

Haven't found a case where this matters, but I want to stop finding
this instance of the is-undef-get-undef pattern.
DeltaFile
+4-1llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
+4-11 files

OpenBSD/ports 2FHMnyRnet Makefile

   +smcroute
VersionDeltaFile
1.1468+1-0net/Makefile
+1-01 files

LLVM/project 9195346llvm/lib/TargetParser AMDGPUTargetParser.cpp, llvm/test/MC/AMDGPU amdgcn-target-directive-subarch-cpu-field.s

AMDGPU: Validate processor is consistent with subarch in TargetID parsing (#211828)

TargetID::parse checked that a named processor was a recognized GPU, but
not that it was consistent with the triple's subarch. A target id like
"amdgpu9.00-amd-amdhsa--gfx803" was accepted even though gfx803 does not
belong to the amdgpu9.00 subarch, silently taking the processor and
ignoring the mismatched subarch.

Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+18-0llvm/unittests/TargetParser/TargetParserTest.cpp
+8-3llvm/test/MC/AMDGPU/amdgcn-target-directive-subarch-cpu-field.s
+3-2llvm/lib/TargetParser/AMDGPUTargetParser.cpp
+29-53 files

OpenBSD/ports F9F4ZExnet/smcroute Makefile, net/smcroute/patches patch-src_timer_c patch-src_mroute_h

   Initial revision
VersionDeltaFile
1.1+104-0net/smcroute/patches/patch-src_timer_c
1.1+30-0net/smcroute/patches/patch-src_mroute_h
1.1+26-0net/smcroute/Makefile
1.1+21-0net/smcroute/patches/patch-src_script_c
1.1+16-0net/smcroute/patches/patch-src_iface_h
1.1+15-0net/smcroute/patches/patch-configure_ac
+212-020 files not shown
+278-026 files

LLVM/project 9ea470dllvm/lib/Target/AMDGPU AMDGPUInstructions.td

AMDGPU: Don't pack a build_vector with an undef/poison lane

Once ISD::POISON is legal it reaches isel and is treated as canonical, so
is_canonicalized_2<build_vector> matched build_vector<x, poison> and selected
a v_pack for a don't-care high lane. Avoids regressions in future patches.

Co-authored-by: Claude (Claude-Opus-4.8)
DeltaFile
+7-0llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
+7-01 files

OpenBSD/ports IjTsadGgames/lwjgl3 Makefile, games/lwjgl3/patches patch-config_openbsd_build_xml patch-config_build-bindings_xml

   Disable the llvm module since it is causing intermittent failures
   in the bulk builds.
VersionDeltaFile
1.1+20-0games/lwjgl3/patches/patch-config_openbsd_build_xml
1.1+14-0games/lwjgl3/patches/patch-config_build-bindings_xml
1.6+0-3games/lwjgl3/pkg/PLIST
1.15+1-1games/lwjgl3/Makefile
+35-44 files

LLVM/project 2863bc1clang/test/SemaHIP amdgpu-feature-builtins-return-type-deduction.hip amdgpu-builtin-in-lambda.hip

clang/AMDGPU: Migrate cc1 tests to subarch triples (8)

Rewrite SemaHIP cc1 test RUN lines to the new subarch triple form,
dropping the redundant -target-cpu.

Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+2-2clang/test/SemaHIP/amdgpu-feature-builtins-return-type-deduction.hip
+2-2clang/test/SemaHIP/amdgpu-builtin-in-lambda.hip
+2-2clang/test/SemaHIP/amdgpu-builtin-in-lambda-with-unsupported-attribute.hip
+2-2clang/test/SemaHIP/builtins-amdgcn-gfx1250-cooperative-atomics-templated.hip
+1-1clang/test/SemaHIP/amdgpu-flat-atomic-fmin-err.hip
+1-1clang/test/SemaHIP/amdgpu-gfx950-load-to-lds.hip
+10-1015 files not shown
+25-2521 files

LLVM/project 47a837bclang/test/CodeGenCXX amdgpu-float16.cpp sret_cast_with_nonzero_alloca_as.cpp, clang/test/Misc backend-resource-limit-diagnostics.hip amdgcn.languageOptsOpenCL.cl

clang/AMDGPU: Migrate cc1 tests to subarch triples (7)

Rewrite the remaining small test directories (CodeGenCXX, Misc, Sema,
SemaCUDA, SemaCXX) cc1 RUN lines to the new subarch triple form, dropping
the redundant -target-cpu.

Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+4-4clang/test/CodeGenCXX/amdgpu-float16.cpp
+2-2clang/test/SemaCUDA/openmp-target.cu
+2-2clang/test/Sema/sizeof-struct-non-zero-as-member.cl
+1-1clang/test/Misc/backend-resource-limit-diagnostics.hip
+1-1clang/test/CodeGenCXX/sret_cast_with_nonzero_alloca_as.cpp
+1-1clang/test/Misc/amdgcn.languageOptsOpenCL.cl
+11-115 files not shown
+16-1611 files

LLVM/project 2ce871eclang/test/CIR/CodeGenHIP builtins-amdgcn-vi-f16.hip attr-target-amdgpu.hip

clang/AMDGPU: Migrate cc1 tests to subarch triples (6)

Rewrite CIR/CodeGenHIP cc1 test RUN lines to the new subarch triple form,
dropping the redundant -target-cpu, and regenerate autogenerated CHECK
lines.

Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+24-24clang/test/CIR/CodeGenHIP/builtins-amdgcn-vi-f16.hip
+12-12clang/test/CIR/CodeGenHIP/attr-target-amdgpu.hip
+9-9clang/test/CIR/CodeGenHIP/target-features.hip
+6-6clang/test/CIR/CodeGenHIP/builtins-amdgcn-gfx1250.hip
+6-6clang/test/CIR/CodeGenHIP/builtins-amdgcn-image.hip
+6-6clang/test/CIR/CodeGenHIP/builtins-amdgcn.hip
+63-636 files not shown
+89-8912 files

LLVM/project d1fd9c6clang/test/OpenMP openmp-read-only-feature.c ompx_attributes_codegen.cpp

clang/AMDGPU: Migrate cc1 tests to subarch triples (5)

Rewrite OpenMP cc1 test RUN lines to the new subarch triple form,
dropping the redundant -target-cpu, and regenerate autogenerated CHECK
lines. Tests that intentionally assert the "target-cpu" attribute are
left unchanged.

Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+2-2clang/test/OpenMP/openmp-read-only-feature.c
+2-2clang/test/OpenMP/ompx_attributes_codegen.cpp
+1-1clang/test/OpenMP/dims_modifier_messages.cpp
+1-1clang/test/OpenMP/metadirective_device_arch_codegen.cpp
+1-1clang/test/OpenMP/metadirective_device_isa_codegen_amdgcn.cpp
+1-1clang/test/OpenMP/target_num_teams_num_threads_attributes.cpp
+8-82 files not shown
+10-108 files

LLVM/project befa7e2llvm/lib/Target/AMDGPU AMDGPUISelDAGToDAG.cpp SIISelLowering.cpp

AMDGPU: Handle ISD::POISON in fp16SrcZerosHighBits and isCanonicalized (#211831)
DeltaFile
+2-0llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
+2-0llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+4-02 files

LLVM/project f574108lldb/include/lldb/ValueObject DILAST.h

Remove unused method
DeltaFile
+0-1lldb/include/lldb/ValueObject/DILAST.h
+0-11 files

LLVM/project b71410fclang/lib/CIR/CodeGen CIRGenBuiltinNVPTX.cpp, clang/test/CIR/CodeGenCUDA builtins-nvvm-ldu.cu

[CIR][CUDA] Add support for NVVM ldu builtins (#211843)

Adds CIR codegen support for the NVVM global uniform load builtins
`nvvm_ldu_*` ,including the integer, floating-point, and vector
variants.

These are lowered to the corresponding `llvm.nvvm.ldu.global.*`
intrinsics based on the pointee type.
DeltaFile
+155-0clang/test/CIR/CodeGenCUDA/builtins-nvvm-ldu.cu
+19-12clang/lib/CIR/CodeGen/CIRGenBuiltinNVPTX.cpp
+174-122 files

LLVM/project b669674flang/lib/Semantics check-omp-structure.h check-acc-structure.h

[flang] Add missing std includes (#211830)

Addressing post-commit review comments for
https://github.com/llvm/llvm-project/pull/211326.
DeltaFile
+12-0flang/lib/Semantics/check-omp-structure.h
+5-0flang/lib/Semantics/check-acc-structure.h
+0-1flang/lib/Semantics/check-directive-structure.h
+17-13 files

LLVM/project 20bf564flang/lib/Semantics resolve-names.cpp, flang/test/Lower submodule-async-volatile.f90

[flang] Fix host association for ASYNCHRONOUS/VOLATILE in submodules (#211669)

In `HandleAttributeStmt`, when an `ASYNCHRONOUS` or `VOLATILE` statement
names a variable not already in the current scope, flang creates a
host-association symbol — but only for `Subprogram` and `BlockConstruct`
scopes. Submodule scopes have kind `Module`, so the check excluded them.
This caused a fresh `EntityDetails` symbol (zero-initialized) to be
created instead of a `HostAssocDetails` symbol pointing at the ancestor
module variable, producing value 0 instead of the initialized value.

Fix: extend the condition to also fire when `currScope().IsSubmodule()`.
`Scope::FindSymbol` already traverses into the parent module for
submodules, so the host variable is found correctly.

Note: the `volatile`/`asynchronous` `fortran_attrs` are not propagated
to `hlfir.declare` for host-associated variables in general
(subprograms,
BLOCK constructs, and submodules); that is a separate lowering issue
tracked in #208588.

    [3 lines not shown]
DeltaFile
+43-0flang/test/Lower/submodule-async-volatile.f90
+26-0flang/test/Semantics/symbol05.f90
+25-0flang/test/Semantics/misc-declarations.f90
+2-1flang/lib/Semantics/resolve-names.cpp
+96-14 files

LLVM/project 0db9f59flang/lib/Semantics resolve-directives.cpp, flang/test/Lower/OpenACC acc-loop.f90

[flang][OpenACC] Don't rebind construct entities to enclosing variables (#210775)

`AccAttributeVisitor::Post(Name)` "adjusts" every name referenced inside
an OpenACC region to the symbol found in the current scope. A construct
entity -- a `DO CONCURRENT`/`FORALL` index-name, or a variable declared
in a `BLOCK` construct -- lives in its own scope nested within the
region, but the visitor's current scope does not descend into that
construct scope. `FindSymbol` therefore resolves the name to a
like-named variable in an enclosing scope and rebinds the reference to
it.

When such an entity shadows an enclosing DO variable and the loop is
associated with an OpenACC construct, this makes the entity alias that
active DO variable, so referencing or defining it wrongly triggers
"Cannot redefine DO variable" -- even though the code is legal and
compiles without error when OpenACC is disabled. This affected a `DO
CONCURRENT` index-name as well as a variable declared in a `BLOCK`
construct nested in the loop, e.g.:


    [21 lines not shown]
DeltaFile
+66-0flang/test/Semantics/OpenACC/acc-construct-entity-shadow.f90
+9-9flang/test/Lower/OpenACC/acc-loop.f90
+12-0flang/lib/Semantics/resolve-directives.cpp
+87-93 files

FreeBSD/src 8a7ab3esys/dev/usb/video uvideo.c

uvideo: Return actual mtx_sleep error in dqbuf

Don't coerce errors to EINVAL, which isn't correct for mtx_sleep's
failure cases.

Sponsored by:   The FreeBSD Foundation
DeltaFile
+1-1sys/dev/usb/video/uvideo.c
+1-11 files

OpenBSD/ports FjTi65ngraphics/krita-gmic-plugin Makefile

   krita-gmic-plugin: add missing builddep devel/gmake

   spotted by sthen
VersionDeltaFile
1.14+2-1graphics/krita-gmic-plugin/Makefile
+2-11 files