LLVM/project 87b25c9 — llvm/docs LangRef.md, llvm/lib/IR Verifier.cpp

[Verifier] Verify attributes for oracle-function in visitFunctionAttrs (#242063)

The behavior before this patch seems to be a historical artifact.
Function attributes/signature are a property of the function and should
be validated there rather than during their use inside of
llvm.speculative.load.

Assisted-By: LLM
DeltaFile
+25-30llvm/lib/IR/Verifier.cpp
+18-13llvm/test/Verifier/speculative-load.ll
+3-2llvm/docs/LangRef.md
+46-453 files

LLVM/project 12226ef — libcxx/test/std/language.support/support.limits/support.limits.general utility.version.compile.pass.cpp exception.version.compile.pass.cpp, libcxx/utils generate_feature_test_macro_components.py

Reapply "[libc++][FTM] Added FTMs from Sofia Meeting 202506 (#239614)" (#242088) (#242210)

This reverts commit 034b938cbbaa78957e1a94b8ef56bfeb6c3a2021.

Removed the offending `<meta>` bits for now to resolve the reported
issue:
https://github.com/llvm/llvm-project/pull/239614#issuecomment-6837663036

---------

Co-authored-by: Hristo Hristov <zingam at outlook.com>
DeltaFile
+284-8libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
+138-0libcxx/test/std/language.support/support.limits/support.limits.general/execution.version.compile.pass.cpp
+71-10libcxx/utils/generate_feature_test_macro_components.py
+46-0libcxx/test/std/language.support/support.limits/support.limits.general/utility.version.compile.pass.cpp
+46-0libcxx/test/std/language.support/support.limits/support.limits.general/exception.version.compile.pass.cpp
+46-0libcxx/test/std/language.support/support.limits/support.limits.general/atomic.version.compile.pass.cpp
+631-183 files not shown
+674-329 files

LLVM/project 6eda397 — llvm/lib/Target/Sparc SparcInstrInfo.cpp SparcFrameLowering.cpp, llvm/test/CodeGen/SPARC postra-sched.ll

[SPARC] Keep the %o7 restore in the delay slot of leaf tail calls (#242281)

The return address is restored in the delay slot of a tail call in a
leaf function. With the post-RA scheduler enabled another instruction
might be moved into that slot, and the restore could happen before the
call which causes %o7 to get overwritten. To prevent that, mark it as
FrameDestroy, and check for it in isSchedulingBoundary().

Assisted-by: Claude
DeltaFile
+30-0llvm/test/CodeGen/SPARC/postra-sched.ll
+6-3llvm/lib/Target/Sparc/SparcFrameLowering.cpp
+2-0llvm/lib/Target/Sparc/SparcInstrInfo.cpp
+38-33 files

LLVM/project 0a12975 — libc/include stdlib.yaml CMakeLists.txt, utils/bazel/llvm-project-overlay/libc BUILD.bazel

[libc] Make alloca visible from stdlib.h (#241695)

Let `<stdlib.h>` also declare `alloca`. Some code assumes that it'll
be exposed through `<stdlib.h>` header, plus `<alloca.h>` is not
a standard header anyway and is missing on some platforms (e.g.
on BSD systems). Use YAML fragments, similar to what we do
for non-standard `<malloc.h>` header on GNU systems.

AI disclosure: this patch was written with Claude Code. I reviewed the
change and built it in a full build, and the include and header tests
pass

Assisted-by: Claude
DeltaFile
+2-5libc/include/alloca.yaml
+7-0libc/include/stdlib-alloca.yaml
+4-1utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+1-0libc/include/stdlib.yaml
+1-0libc/include/CMakeLists.txt
+15-65 files

LLVM/project 12ec702 — clang/test/Analysis redecl.c

[Clang][analyzer][NFC] Re-enable const variable redeclaration test (#241705)

`Analysis/redecl.c` already produces the expected `TRUE` result, but its
`-verify` run fails on an unannotated `'extern' variable has an
initializer` warning. Add the missing `expected-warning` and remove
`XFAIL: *`, retaining the original input and the existing `TRUE` check.

The test was added by 850361f6c1db6bd8a85b65a8c56e0e097eaa0635 (D46421,
April 23, 2019), which also changed the constant-variable lookup in
`RegionStoreManager::getBindingForVar` from `getInit()` to
`getAnyInitializer()`. Native X86 Release builds with assertions enabled
confirm the behavior change at that commit: its parent
330bc8af131c5b42efe120dbf70f47881d02d3a3 reports both `FALSE` and
`TRUE`, while the commit reports only `TRUE`. Both still emit the
extern-initializer warning, so the original test remains XFAIL even
after the analysis result is corrected.
This change annotates the warning and removes the XFAIL marker, allowing
the test to run normally again.

Prepared with assistance from Codex.
DeltaFile
+1-2clang/test/Analysis/redecl.c
+1-21 files

HardenedBSD/src 3d570f2 — sys/contrib/openzfs/include/sys dbuf.h, sys/contrib/openzfs/module/zfs dmu_direct.c dmu.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+43-23sys/contrib/openzfs/module/zfs/dbuf.c
+38-0sys/contrib/openzfs/module/zfs/dmu.c
+1-1sys/contrib/openzfs/module/zfs/dmu_direct.c
+1-0sys/contrib/openzfs/include/sys/dbuf.h
+83-244 files

HardenedBSD/ports fc94b1d — databases/diesel Makefile distinfo, databases/qdrant Makefile.crates distinfo

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+383-135databases/diesel/distinfo
+191-193textproc/evtx/distinfo
+159-159databases/qdrant/distinfo
+193-70databases/diesel/Makefile
+95-96textproc/evtx/Makefile
+78-75databases/qdrant/Makefile.crates
+1,099-72843 files not shown
+1,234-93449 files

LLVM/project 841358c — libc/include CMakeLists.txt, libc/include/sys time.yaml select.yaml

[libc] Have sys/time.h import certain symbols from sys/select.h (#241696)

Per https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/sys_time.h.html,
`sys/time.h` should provide certain macro, types, and functions
that are also declared in `sys/select.h`. Use existing YAML fragment
machinery to support this.

Some programs like procps relies on it.

AI disclosure: this patch was written with Claude Code. I reviewed the
change and built it in a full build, and the include and header tests
pass

Assisted-by: Claude
DeltaFile
+28-0libc/include/sys/select-time.yaml
+2-15libc/include/sys/select.yaml
+8-2utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+4-1libc/include/sys/time.yaml
+4-0libc/include/CMakeLists.txt
+46-185 files

LLVM/project 3e981cb — clang/include/clang/Options Options.td, clang/lib/Driver/ToolChains/Arch Sparc.cpp

[SPARC][Driver] Add -m(no-)app-regs flags (#242193)

Add GCC's -mapp-regs and -mno-app-regs. -mno-app-regs reserves the
application registers G2, G3 and G4, the same as passing -ffixed-g2
-ffixed-g3 -ffixed-g4. -mapp-regs is the default.
 
Fixes #18525

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+29-0llvm/test/CodeGen/SPARC/reserved-app-regs.ll
+16-0clang/test/Driver/sparc-fixed-register.c
+6-0clang/lib/Driver/ToolChains/Arch/Sparc.cpp
+4-0clang/include/clang/Options/Options.td
+55-04 files

LLVM/project ac25a0b — libc/include netdb.yaml

[libc] Have netdb.h carry netinet/in.h (#241697)

See https://pubs.opengroup.org/onlinepubs/9799919799/ - which
states that `Inclusion of the <netdb.h> header may also make
visible all symbols from <netinet/in.h>`.

AI disclosure: this patch was written with Claude Code. I reviewed the
change and built it in a full build, and the include and header tests
pass

Assisted-by: Claude
DeltaFile
+3-0libc/include/netdb.yaml
+3-01 files

LLVM/project 793f8e5 — llvm/lib/IR Instruction.cpp

IR: Answer mayHaveSideEffects with one switch

Previously this emitted 3 calls, each switching over the opcodes. Fold
to one which only needs to query attributes for calls.

CTMark instructions:u: O3 -0.13%, ThinLTO -0.17%.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+26-1llvm/lib/IR/Instruction.cpp
+26-11 files

FreeBSD/doc 4ea0073 — website/data/en/news news.toml

15.2: Announce BETA2

Approved by:    re (implicit)
DeltaFile
+5-0website/data/en/news/news.toml
+5-01 files

DragonFlyBSD/src 892d0bc — sys/kern vfs_vnops.c vfs_nlookup.c, sys/net rtsock.c route.c

kernel: Minor code and style cleanups
DeltaFile
+31-23sys/net/route.c
+5-5sys/kern/vfs_syscalls.c
+4-3sys/kern/vfs_nlookup.c
+2-3sys/net/rtsock.c
+1-1sys/kern/vfs_vnops.c
+43-355 files

DragonFlyBSD/src 1bd4d46 — sys/net rtsock.c, sys/netinet in_rmx.c in_var.h

netinet: Maintain RTF_LOCAL in the kernel

* Expose in_rtlocalize() for using in route_output_change_callback() to
  correctly set RTF_LOCAL, taking into account of the IFA/IFP changes.
* Add RTF_LOCAL to PRESERVED_RTF and ignore the RTF_LOCAL flag from
  userspace, making this flag be maintained by the kernel.
* Clean up arp_rtrequest() to directly check the RTF_LOCAL flag instead
  of comparing the IP addresses.
DeltaFile
+14-3sys/net/rtsock.c
+1-5sys/netinet/if_ether.c
+1-1sys/netinet/in_rmx.c
+2-0sys/netinet/in_var.h
+18-94 files

DragonFlyBSD/src 9ac2060 — sys/net route.c

net: Normalize IPv4 /32 route to a host route (RTF_HOST)

An IPv4 /32 route denotes a host route (RTF_HOST).  Add the
rt_hostroute_normalize() helper to normalize such routes by setting the
RTF_HOST flag.  Use the helper in both rtrequest1() and
rtsearch_msghandler() so that this normalization applies to RTM_ADD,
RTM_GET, RTM_CHANGE and RTM_LOCK.
DeltaFile
+32-0sys/net/route.c
+32-01 files

DragonFlyBSD/src 979b9b1 — sys/net if_var.h if.c, sys/netinet in_rmx.c in.c

netinet: Move loopback route maintain functions to in.c

The ifa_{add,del}_loopback_route() functions are only used in
netinet/in.c, so just move them to there and make them static.
Meanwhile, rename them to in_{add,del}_loopback_route() for consistency.
DeltaFile
+77-4sys/netinet/in.c
+0-77sys/net/if.c
+0-3sys/net/if_var.h
+1-1sys/netinet/in_rmx.c
+78-854 files

DragonFlyBSD/src c6d9d72 — gnu/usr.bin/gmp/lib Makefile

gmp: Clean up makefile

* Use per-target flags "FLAGS.<target>" to replace the FLAGS_GROUPS,
  expressing the intention/requirement more clearly.

* Introduce helper varaibles to clean up the loop code.

* Remove the unused "mpn/generic" directory.
DeltaFile
+13-12gnu/usr.bin/gmp/lib/Makefile
+13-121 files

DragonFlyBSD/src 5a47208 — sys/netinet if_ether.c

netinet: Clean up interface routes handling in arp_rtrequest()

in_addroute() gives every non-host, non-multicast IPv4 route either
RTF_CLONING or RTF_PRCLONING, so manually added interface routes would
have RTF_PRCLONING. As a result, we can clean up arp_rtrequest() to
check either RTF_CLONING or RTF_PRCLONING in handling a cloned route,
without hacking the RTF_CLONING flag.

An edge case is a non-host route with a "/32" mask. However, that case
doesn't make practical sense and should be normalized to a host route.
That will be addressed in the coming commits.
DeltaFile
+3-7sys/netinet/if_ether.c
+3-71 files

DragonFlyBSD/src 2fb883c — sys/net route.c

net: Handle R_Malloc() failure in rt_setshims()

Introduce the rt_freeshims() helper to free the memory allocated by
rt_setshims(), and also call it in rtrequest1() to avoid potential
memory leak.

This only applies MPLS.
DeltaFile
+27-2sys/net/route.c
+27-21 files

DragonFlyBSD/src e841b45 — sys/net if.c, sys/netinet in_rmx.c

netinet: Improve local routes handling in in_addroute()

* Extract the in_rtlocalize() helper function to improve the handling of
  local routes, including explicit loopback routes added by
  ifa_add_loopback_route().
* Skip modifying IFA/IFP for the explicit loopback routes, and thus
  remove the pre-setting RTF_LOCAL from ifa_maintain_loopback_route().

No functional changes.
DeltaFile
+68-26sys/netinet/in_rmx.c
+1-6sys/net/if.c
+69-322 files

DragonFlyBSD/src 7e54cac — sbin/route route.c

route(8): Normalize IPv4 /32 route to a host route (RTF_HOST)
DeltaFile
+4-0sbin/route/route.c
+4-01 files

LLVM/project dc7b9e7 — llvm/lib/Transforms/Utils SimplifyLibCalls.cpp, llvm/test/Transforms/InstCombine log-pow.ll

[InstCombine] Simplify log(exp10(y)) to y * log(10) (#239581)

Updated `LibCallSimplifier::optimizeLog` to recognize the `llvm.exp10`
intrinsic while folding:
```
log(exp10(y)) -> y * log(10)
```

Changes:
- Updated the if statement to check the arguments for the intrinsic and
removed the "TODO" comment at the top of the statement
- Added two tests in `llvm/test/Transforms/InstCombine/log-pow.ll`:
  * log_exp10_intrinsic
* log_exp10_intrinsic_not_fast (a negative test to ensure the transform
works only if the exp10 intrinsic has the fast flag)

Closes #226865
DeltaFile
+21-0llvm/test/Transforms/InstCombine/log-pow.ll
+2-2llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
+23-22 files

FreeBSD/ports 181cd8d — misc/freebsd-release-manifests pkg-plist, misc/freebsd-release-manifests/files/MANIFESTS powerpc-powerpc64-15.2-BETA1 arm64-aarch64-15.2-BETA1

misc/freebsd-release-manifests: Add 15.2-BETA2 MANIFEST files

Approved by:    re (implicit)

(cherry picked from commit 89410b093c5874b1b551ee1634c0f2f6c7091735)
DeltaFile
+5-5misc/freebsd-release-manifests/pkg-plist
+0-9misc/freebsd-release-manifests/files/MANIFESTS/powerpc-powerpc64-15.2-BETA1
+0-9misc/freebsd-release-manifests/files/MANIFESTS/arm64-aarch64-15.2-BETA1
+9-0misc/freebsd-release-manifests/files/MANIFESTS/powerpc-powerpc64-15.2-BETA2
+9-0misc/freebsd-release-manifests/files/MANIFESTS/arm64-aarch64-15.2-BETA2
+9-0misc/freebsd-release-manifests/files/MANIFESTS/amd64-amd64-15.2-BETA2
+32-236 files not shown
+47-4712 files

FreeBSD/ports 89410b0 — misc/freebsd-release-manifests pkg-plist, misc/freebsd-release-manifests/files/MANIFESTS powerpc-powerpc64-15.2-BETA1 arm64-aarch64-15.2-BETA1

misc/freebsd-release-manifests: Add 15.2-BETA2 MANIFEST files

Approved by:    re (implicit)
DeltaFile
+5-5misc/freebsd-release-manifests/pkg-plist
+0-9misc/freebsd-release-manifests/files/MANIFESTS/powerpc-powerpc64-15.2-BETA1
+0-9misc/freebsd-release-manifests/files/MANIFESTS/arm64-aarch64-15.2-BETA1
+9-0misc/freebsd-release-manifests/files/MANIFESTS/powerpc-powerpc64-15.2-BETA2
+9-0misc/freebsd-release-manifests/files/MANIFESTS/arm64-aarch64-15.2-BETA2
+9-0misc/freebsd-release-manifests/files/MANIFESTS/amd64-amd64-15.2-BETA2
+32-236 files not shown
+47-4712 files

HardenedBSD/ports 89410b0 — misc/freebsd-release-manifests pkg-plist, misc/freebsd-release-manifests/files/MANIFESTS powerpc-powerpc64-15.2-BETA1 arm64-aarch64-15.2-BETA1

misc/freebsd-release-manifests: Add 15.2-BETA2 MANIFEST files

Approved by:    re (implicit)
DeltaFile
+5-5misc/freebsd-release-manifests/pkg-plist
+0-9misc/freebsd-release-manifests/files/MANIFESTS/powerpc-powerpc64-15.2-BETA1
+0-9misc/freebsd-release-manifests/files/MANIFESTS/arm64-aarch64-15.2-BETA1
+9-0misc/freebsd-release-manifests/files/MANIFESTS/powerpc-powerpc64-15.2-BETA2
+9-0misc/freebsd-release-manifests/files/MANIFESTS/amd64-amd64-15.2-BETA2
+9-0misc/freebsd-release-manifests/files/MANIFESTS/arm64-aarch64-15.2-BETA2
+32-236 files not shown
+47-4712 files

LLVM/project 0762d0c — llvm/tools/llvm-strings CMakeLists.txt

[llvm-strings] Call xcrun instead of relying on preset variables (#242580)

Suggested by llvm-beanz as some CMake setups will not pre-set those
variables.
DeltaFile
+8-5llvm/tools/llvm-strings/CMakeLists.txt
+8-51 files

LLVM/project ce00ceb — clang/test/CIR/CodeGen call-conv-lowering-amdgpu-cxx-records.cpp call-conv-lowering-amdgpu-return-types.c, clang/test/CIR/CodeGenHIP call-conv-lowering-amdgpu-kernel-args.hip

add working test cases after rebase
DeltaFile
+340-10clang/test/CIR/CodeGen/call-conv-lowering-amdgpu-arg-types.c
+132-11clang/test/CIR/CodeGen/call-conv-lowering-amdgpu-return-types.c
+86-11clang/test/CIR/CodeGen/call-conv-lowering-amdgpu-cxx-records.cpp
+39-3clang/test/CIR/CodeGenHIP/call-conv-lowering-amdgpu-kernel-args.hip
+597-354 files

LLVM/project 6df1b61 — llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp, llvm/test/CodeGen/AMDGPU fcopysign.f64.ll fcopysign.f32.ll

DAG: Look through fp_extend/fp_round when folding bitcast of fcopysign

visitFCOPYSIGN strips these from the sign operand, but the bitcast may be
visited first, leaving the conversion live in the integer form. Strip it
in the fold too, so the result does not depend on visitation order.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+19-223llvm/test/CodeGen/AMDGPU/fcopysign.f16.ll
+14-131llvm/test/CodeGen/AMDGPU/fcopysign.bf16.ll
+35-31llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+7-14llvm/test/CodeGen/AMDGPU/fcopysign.f32.ll
+7-12llvm/test/CodeGen/AMDGPU/fcopysign.f64.ll
+82-4115 files

LLVM/project fba411d — llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp, llvm/test/CodeGen/AMDGPU fcopysign.f64.ll

DAG: Use shl of any_extend to place the sign bit when folding bitcast of fcopysign

When the sign operand is narrower than the result, only its sign bit is
used. Move it into place with a shift of an any_extend instead of a
sign_extend.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+7-14llvm/test/CodeGen/AMDGPU/fcopysign.f64.ll
+6-2llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+13-162 files

FreeBSD/src 12a57b0 — usr.sbin/auditdistd Makefile, usr.sbin/bhyve Makefile

auditdistd, bhyve: drop OPENSSL_API_COMPAT

Neither uses any OpenSSL function deprecated in 3.0 or later. Both build
with no deprecation warnings against OpenSSL 3.5 and 4.1 without it.
DeltaFile
+0-2usr.sbin/auditdistd/Makefile
+0-1usr.sbin/bhyve/Makefile
+0-32 files