LLVM/project 02af47bclang/test/Driver freebsd.c

[Clang][test] Fix leading slash (#200549)

A reviewer in #200012 required checking for a leading (back-)slash to
the test despite none of the other tests doing so. Turns out, the slash
isn't there if the driver is unable to resolve the full path to the
linker. Remove the leading slash from the test.

Fixes reported buildbot failures:
 * clang-solaris11-sparcv9
 * clang-solaris11-amd64
DeltaFile
+4-4clang/test/Driver/freebsd.c
+4-41 files

OpenBSD/src klRJWgusys/kern subr_hibernate.c

   Validate size of chunks copied to piglet during hibernate unpack

   Ensure that the compressed size of the chunk read from the hibernate image
   will fit into the reserved space in the piglet for such chunks. Prevents
   chunks with invalid sizes from overrunning the piglet. Such corrupted
   chunks could be present in tampered or corrupt on-disk hibernate images.

   Reported by Frank Denis
VersionDeltaFile
1.158+10-1sys/kern/subr_hibernate.c
+10-11 files

LLVM/project 3c4bc6cllvm/lib/Transforms/InstCombine InstCombineSelect.cpp, llvm/test/Transforms/InstCombine select.ll

[InstCombine] Handle "trunc nuw to i1" as "icmp ne,0" in foldSelectValueEquivalence (#198131)

proof: https://alive2.llvm.org/ce/z/MGhWgE
DeltaFile
+65-1llvm/test/Transforms/InstCombine/select.ll
+11-0llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
+76-12 files

LLVM/project c7614cdllvm/lib/Transforms/Scalar MergeICmps.cpp, llvm/test/Transforms/MergeICmps/X86 pair-int32-int32.ll

[MergeICmps] Don't merge comparisons whose width isn't a byte multiple (#200346)

MergeICmps looks for cases like

    struct S { char x; char y; }
    A.x == B.x && A.y == B.y

If `x` and `y` are stored adjacent to one another, we can convert the
above into a memcmp, which can then be converted into a single 16-bit
compare.

This pass currently does the wrong thing if the struct members' sizes
are not multiples of 8 bits. To fix this, we simply bail if the elements
in question are not multiples of one byte.

This bug was found by a large run of Opus 4.7 looking for bugs in LLVM.
DeltaFile
+55-0llvm/test/Transforms/MergeICmps/X86/pair-int32-int32.ll
+9-0llvm/lib/Transforms/Scalar/MergeICmps.cpp
+64-02 files

LLVM/project c22f566llvm/lib/Transforms/Scalar LICM.cpp, llvm/test/Transforms/LICM hoist-add-sub.ll

[LICM] Drop poison-generating flags when reassociating an icmp (#200344)

`hoistAdd`/`hoistSub` turn `LV + C1 <pred> C2` into `LV <pred> C2 - C1`,
changing the icmp's LHS. A `samesign` flag asserted about the old
operands need not hold for the new LHS, so keeping it can turn a defined
comparison into poison (e.g. for `%iv = -3`, `samesign slt(2, 100)` is
true but the reassociated `samesign slt(-3, 95)` has
opposite-sign operands → poison). Drop the icmp's poison-generating
flags after the rewrite, as `hoistMulAddAssociation` already does.

This bug was found by a large run of Opus 4.7 looking for bugs in LLVM.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply at anthropic.com>
DeltaFile
+39-6llvm/test/Transforms/LICM/hoist-add-sub.ll
+6-0llvm/lib/Transforms/Scalar/LICM.cpp
+45-62 files

LLVM/project 093c76allvm/lib/CodeGen/SelectionDAG SelectionDAGBuilder.cpp, llvm/test/CodeGen/X86 atomic-mmo-align.ll

[SelectionDAG] Preserve IR alignment on atomicrmw/cmpxchg MMOs (#200332)

Previously SelectionDAG used the natural alignment of the value type,
even if the instruction specified a different alignment.

This bug was found by a large run of Opus 4.7 looking for bugs in LLVM.
DeltaFile
+22-0llvm/test/CodeGen/X86/atomic-mmo-align.ll
+5-5llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+27-52 files

OpenBSD/src nCoAoHfsys/kern subr_hibernate.c

   Validate sizes against integer overflow when reading chunks in unhibernate

   Validate that chunk sizes stored in the chunktable don't result in integer
   overflow. Such invalid chunk sizes could be present in tampered or corrupt
   on-disk hibernate images.

   Reported by Frank Denis
VersionDeltaFile
1.157+15-3sys/kern/subr_hibernate.c
+15-31 files

LLVM/project 9e3c184llvm/lib/Target/X86 X86ISelLowering.cpp, llvm/test/CodeGen/X86 vector-shuffle-combining-avx512vbmi2.ll

Revert "[X86] matchBinaryPermuteShuffle - match to X86ISD::SHLD funnel shift patterns" (#200546)

Reverts llvm/llvm-project#200136 while I investigate a miscompilation report
DeltaFile
+0-46llvm/lib/Target/X86/X86ISelLowering.cpp
+14-11llvm/test/CodeGen/X86/vector-shuffle-combining-avx512vbmi2.ll
+14-572 files

OpenBSD/ports 6QJukORaudio/gmpc/patches patch-src_egg_eggcolumnmodel_h patch-src_main_h

   audio/gmpc: really fix the build with llvm 22

   move the #pragma to widely included headers, this way i don't need to
   patch a bazillion c files..
VersionDeltaFile
1.1+13-0audio/gmpc/patches/patch-src_egg_eggcolumnmodel_h
1.1+12-0audio/gmpc/patches/patch-src_main_h
1.3+0-0audio/gmpc/patches/patch-src_browsers_playlist3-current-playlist-browser_c
+25-03 files

NetBSD/pkgsrc-wip b762b5brust196 Makefile distinfo, rust196/files gcc-wrap

rust196: add a package for rust 1.96.0.

Release notes at https://releases.rs/docs/1.96.0/

Perhaps notable among them are two security fixes to 'cargo':

  https://blog.rust-lang.org/2026/05/25/cve-2026-5222/
and
  https://blog.rust-lang.org/2026/05/25/cve-2026-5223/

rated 'low' (niche requirements) and 'medium' (for users
of third-party crate registries) respectively.
DeltaFile
+830-0rust196/Makefile
+215-0rust196/files/gcc-wrap
+191-0rust196/distinfo
+146-0rust196/cargo.mk
+128-0rust196/patches/patch-vendor_memchr-2.7.4_src_memchr.rs
+117-0rust196/options.mk
+1,627-087 files not shown
+4,365-093 files

NetBSD/pkgsrc-wip 44f9039rust195/patches patch-src_llvm-project_llvm_lib_TargetParser_TargetDataLayout.cpp

rust195: add a draft fix for LLVM data layout for m68k-unknown-netbsd.
DeltaFile
+94-0rust195/patches/patch-src_llvm-project_llvm_lib_TargetParser_TargetDataLayout.cpp
+94-01 files

NetBSD/pkgsrc-wip 1c0165arust195/patches patch-src_llvm-project_llvm_lib_TargetParser_TargetDataLayout.cpp

rust195: No need to duplicate patch (sorry, fat fingers...)
DeltaFile
+0-38rust195/patches/patch-src_llvm-project_llvm_lib_TargetParser_TargetDataLayout.cpp
+0-381 files

NetBSD/pkgsrc-wip 541493crust195 distinfo, rust195/patches patch-compiler_rustc__target_src_spec_targets_m68k__unknown__netbsd.rs

rust195: add settings for new m68k attempt.
DeltaFile
+5-2rust195/patches/patch-compiler_rustc__target_src_spec_targets_m68k__unknown__netbsd.rs
+2-1rust195/distinfo
+7-32 files

LLVM/project 9d0ce81flang/lib/Semantics check-omp-loop.cpp, flang/test/Semantics/OpenMP linear-clause-array-section.f90

[Flang][OpenMP] Reject array sections and subobjects in LINEAR clause (#197430)

Array sections like a(:,1,1) and array elements like a(1) in a LINEAR
clause cause a crash during MLIR-to-LLVM IR translation because the
semantic checker doesn't catch them.

This adds a call to CheckVarIsNotPartOfAnotherVar for the LINEAR clause,
which is the same check used by PRIVATE and FIRSTPRIVATE to reject
subobject designators.

Fixes :
[https://github.com/llvm/llvm-project/issues/196068](https://github.com/llvm/llvm-project/issues/196068)

Co-authored-by: Chandra Ghale <ghale at pe34genoa.hpc.amslabs.hpecorp.net>
DeltaFile
+64-0flang/test/Semantics/OpenMP/linear-clause-array-section.f90
+1-0flang/lib/Semantics/check-omp-loop.cpp
+65-02 files

LLVM/project 666a8cfflang/include/flang/Parser parse-tree.h, flang/lib/Parser program-parsers.cpp

[Flang][Parser] Handle compiler directives inside INTERFACE blocks (#198516)

Unrecognized !DIR$ directives between interface specifications currently
cause cascading parse errors because the grammar for
InterfaceSpecification has no path to consume them. This patch adds
CompilerDirective as a valid alternative — matching how
InternalSubprogram and ModuleSubprogram already handle this — so that
unrecognized directives produce the expected warning instead of a fatal
parse failure.

Fixes :
[https://github.com/llvm/llvm-project/issues/198289](https://github.com/llvm/llvm-project/issues/198289)

---------

Co-authored-by: Chandra Ghale <ghale at pe34genoa.hpc.amslabs.hpecorp.net>
DeltaFile
+60-0flang/test/Parser/compiler-directive-in-interface.f90
+5-2flang/include/flang/Parser/parse-tree.h
+4-2flang/lib/Parser/program-parsers.cpp
+69-43 files

OpenBSD/src Vtr8A5Tsys/kern subr_hibernate.c

   Prevent overread when reading the chunktable in unhibernate

   Ensure we don't read past the end of the chunktable, which could happen
   with a tampered or corrupted on-disk hibernate image.

   Reported by Frank Denis
VersionDeltaFile
1.156+6-1sys/kern/subr_hibernate.c
+6-11 files

FreeBSD/ports 9246bb7textproc Makefile, textproc/openvpn-status-parser Makefile pkg-descr

textproc/openvpn-status-parser: new port had been added (+)

Go application that parses OpenVPN status files and exports
data in JSON or OpenMetrics (Prometheus) format.

Requested by:   author/maintainer
DeltaFile
+25-0textproc/openvpn-status-parser/Makefile
+4-0textproc/openvpn-status-parser/pkg-descr
+3-0textproc/openvpn-status-parser/distinfo
+1-0textproc/Makefile
+33-04 files

FreeBSD/ports 7241709deskutils/cherrytree distinfo Makefile

deskutils/cherrytree: update the port to version 1.7.0

Reported by:    portscout
DeltaFile
+3-3deskutils/cherrytree/distinfo
+1-1deskutils/cherrytree/Makefile
+4-42 files

LLVM/project 17fdb39clang/test/Driver freebsd.c

Revert "[Clang][test] Fix space in ld path (#200012)"

This reverts commit 8918dd8b4dc646fa9707bbfedd4efe5116abe971.
DeltaFile
+4-4clang/test/Driver/freebsd.c
+4-41 files

LLVM/project ca57bb8llvm/lib/Target/X86 X86ISelLowering.cpp, llvm/test/CodeGen/X86 vector-shuffle-combining-avx512vbmi2.ll

Revert "[X86] matchBinaryPermuteShuffle - match to X86ISD::SHLD funnel shift …"

This reverts commit 86a74788dcc851d501e33c70a88f14dc47293b9f.
DeltaFile
+0-46llvm/lib/Target/X86/X86ISelLowering.cpp
+14-11llvm/test/CodeGen/X86/vector-shuffle-combining-avx512vbmi2.ll
+14-572 files

LLVM/project 799b866llvm/lib/CodeGen/SelectionDAG LegalizeVectorTypes.cpp

[SelectionDAG] Remove redundant asserts in WidenVecRes_ATOMIC_LOAD (#200159)

These asserts duplicate guarantees already provided elsewhere:
- `isVector()` checks are redundant because `findMemType()` calls
  `WidenVT.getVectorElementType()` and `WidenVT.isScalableVector()`
  internally, and `WidenVecRes_ATOMIC_LOAD` is only reached from the
  `ATOMIC_LOAD` case in `WidenVectorResult`, which is the vector path.
- The element-type and scalability consistency between `LdVT` and
`WidenVT` is a property of `GetWidenedVector` / `getTypeToTransformTo`.

Follow-up to feedback on #197618.
DeltaFile
+0-5llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
+0-51 files

NetBSD/src TpzvDatsys/uvm/pmap pmap.c

   mi pmap: more debug
VersionDeltaFile
1.104+12-10sys/uvm/pmap/pmap.c
+12-101 files

NetBSD/src 6zDmMa4sys/uvm/pmap pmap.c

   KNF
VersionDeltaFile
1.103+4-4sys/uvm/pmap/pmap.c
+4-41 files

LLVM/project 9b03d3fclang/lib/CIR/CodeGen CIRGenDecl.cpp, clang/test/CIR/CodeGenOpenCL address-space-local-var.clcpp

[CIR][CodeGen] Replace errorNYI with assert for address space in emitAutoVarAlloca (#197506)

Auto variables can only be in the default address space, or
opencl_private when compiling OpenCL. Replace the errorNYI with an
assert matching OG codegen (CGDecl.cpp).

Fixes part of #160386

Co-authored-by: Andy Kaylor <akaylor at nvidia.com>
DeltaFile
+48-0clang/test/CIR/CodeGenOpenCL/address-space-local-var.clcpp
+3-2clang/lib/CIR/CodeGen/CIRGenDecl.cpp
+51-22 files

NetBSD/src DcPHmFfsys/uvm/pmap pmap.c

   spaces -> tab
VersionDeltaFile
1.102+5-5sys/uvm/pmap/pmap.c
+5-51 files

NetBSD/src hO2zvqIsys/arch/aarch64/include cpufunc.h

   KNF
VersionDeltaFile
1.30+3-3sys/arch/aarch64/include/cpufunc.h
+3-31 files

LLVM/project 3c193d4lldb/source/Plugins/Process/Windows/Common NativeRegisterContextWindows_arm64.cpp NativeRegisterContextWindows_arm64.h

[lldb][Windows] Cache thread context in NativeRegisterContextWindows_arm64 (#197385)

Cache thread context in _NativeRegisterContextWindows_arm64_ to improve
read performance. Previously, the thread context was retrieved for every
read or write operation.

This change intends to lay the groundwork for provisioning debug support
for SVE on WoA.

Assisted-by: Claude Sonnet 4.6
DeltaFile
+182-84lldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows_arm64.cpp
+10-1lldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows_arm64.h
+192-852 files

NetBSD/src lFKjpwjsys/arch/aarch64/aarch64 db_interface.c

   aarch64: print DBM if it's set in db_pte_print
VersionDeltaFile
1.25+8-2sys/arch/aarch64/aarch64/db_interface.c
+8-21 files

FreeBSD/ports 4583ad7devel/sjasmplus distinfo Makefile, devel/sjasmplus/files patch-Makefile

devel/sjasmplus: Update to 1.23.0

Release notes:  https://github.com/z00m128/sjasmplus/releases/tag/v1.23.0
DeltaFile
+4-4devel/sjasmplus/files/patch-Makefile
+3-3devel/sjasmplus/distinfo
+1-2devel/sjasmplus/Makefile
+8-93 files

FreeBSD/ports ac90d7edevel/sope distinfo Makefile, www/sogo distinfo Makefile

www/sogo: Update to 5.12.9
DeltaFile
+3-3www/sogo/distinfo
+3-3devel/sope/distinfo
+1-1www/sogo/Makefile
+1-1devel/sope/Makefile
+8-84 files