LLVM/project a31c941llvm/lib/Target/AMDGPU SIInstrInfo.cpp, llvm/test/CodeGen/AMDGPU expand-mov-b64-globaladdr.ll expand-mov-b64-globaladdr-hsa.ll

[AMDGPU] Support global address in V/S_MOV_B64 lowering (#203527)

Hit an issue where V_MOV_B64_PSEUDO had a global, which wasn't
previously handled.
Added support for this, and also for the S_MOV_B64_IMM_PSEUDO to make it
symmetrical.

Claude has been used for this commit, primarily assisting creating a
test.
DeltaFile
+95-0llvm/test/CodeGen/AMDGPU/expand-mov-b64-globaladdr.ll
+71-2llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+48-0llvm/test/CodeGen/AMDGPU/expand-mov-b64-globaladdr-hsa.ll
+27-0llvm/test/CodeGen/AMDGPU/expand-mov-b64-globaladdr-rel32.mir
+241-24 files

LLVM/project 771c9eallvm/lib/Analysis ScalarEvolutionDivision.cpp

[SCEVDivision] Add assertion to check operand types match
DeltaFile
+2-0llvm/lib/Analysis/ScalarEvolutionDivision.cpp
+2-01 files

LLVM/project b82e75dllvm/lib/Analysis ScalarEvolutionDivision.cpp

[SCEVDivision] Remove unnecessary integer promotion (NFCI)
DeltaFile
+2-7llvm/lib/Analysis/ScalarEvolutionDivision.cpp
+2-71 files

FreeBSD/doc 37202cawebsite/content/en/status/report-2026-04-2026-06 metric.adoc ipv6_improvements.adoc

Status/2026Q2: Explain Routing Metric

Fix contractions and explain routing metric.

Reported by: gperciva
Approved by: gperciva
Fixes: 487d18e72723 ("Status/2026Q2: Pouria reports")
Differential Revision: https://reviews.freebsd.org/D57390
DeltaFile
+4-1website/content/en/status/report-2026-04-2026-06/metric.adoc
+1-2website/content/en/status/report-2026-04-2026-06/ipv6_improvements.adoc
+1-1website/content/en/status/report-2026-04-2026-06/geneve-support.adoc
+6-43 files

LLVM/project 7c15144llvm/lib/CodeGen/SelectionDAG SelectionDAGBuilder.cpp SelectionDAGBuilder.h, llvm/test/CodeGen/X86 type-tests-must-be-lowered.ll pr142937.ll

[SDAG] emit error when `llvm.type.checked.load` is not lowered (#208058)

Fixes https://github.com/llvm/llvm-project/issues/164663

In rust we can enable devirtualization and LTO on a build that actually
builds a library and hence LTO does not really run. That means typed
loads are emitted, but they are not lowered (or cleaned up), which made
us hit an ICE. Giving a slightly better error message, analogous to the
existing one for `Intrinsic::type_test`, seems nice.

I'm putting this together based on
https://github.com/llvm/llvm-project/pull/179249 and
https://github.com/llvm/llvm-project/issues/164663#issuecomment-3433581033.
DeltaFile
+46-0llvm/test/CodeGen/X86/type-tests-must-be-lowered.ll
+31-11llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+0-33llvm/test/CodeGen/X86/pr142937.ll
+2-0llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
+79-444 files

LLVM/project 00bf3d6utils/bazel/llvm-project-overlay/clang-tools-extra/clang-doc BUILD.bazel

[Bazel] Fixes 1bd4601 (#209377)

This fixes 1bd46015ea4e842091109cd2a491c55c0b455330.

Buildkite error link:
https://buildkite.com/llvm-project/upstream-bazel/builds?commit=1bd46015ea4e842091109cd2a491c55c0b455330

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+2-2utils/bazel/llvm-project-overlay/clang-tools-extra/clang-doc/BUILD.bazel
+2-21 files

FreeBSD/ports f043292devel/ruby-build distinfo Makefile

devel/ruby-build: Update to 20260714

Changes:        https://github.com/rbenv/ruby-build/releases/tag/v20260714
(cherry picked from commit a08d2abd134da891272395e35b367e1a735cc503)
DeltaFile
+3-3devel/ruby-build/distinfo
+1-1devel/ruby-build/Makefile
+4-42 files

FreeBSD/ports a08d2abdevel/ruby-build distinfo Makefile

devel/ruby-build: Update to 20260714

Changes:        https://github.com/rbenv/ruby-build/releases/tag/v20260714
DeltaFile
+3-3devel/ruby-build/distinfo
+1-1devel/ruby-build/Makefile
+4-42 files

LLVM/project c9610acllvm/lib/Target/CSKY/MCTargetDesc CSKYTargetStreamer.h

[CSKY] Fix build without PCH (#209405)
DeltaFile
+1-0llvm/lib/Target/CSKY/MCTargetDesc/CSKYTargetStreamer.h
+1-01 files

FreeBSD/ports 8901211deskutils/hebcal distinfo Makefile

deskutils/hebcal: Update 5.9.2.20250725 => 5.14.0

Changelog:
https://github.com/hebcal/hebcal/blob/v5.14.0/NEWS.md
Commit log:
https://github.com/hebcal/hebcal/compare/16a4dbad70c5fd10...v5.14.0

PR:             296748
Approved by:    osa, vvd (Mentors, implicit)
MFH:            2026Q3

(cherry picked from commit e20e4e369d39c8d8c9ad05aca296c0d8d2c0fc20)
DeltaFile
+3-3deskutils/hebcal/distinfo
+1-3deskutils/hebcal/Makefile
+4-62 files

FreeBSD/ports e20e4e3deskutils/hebcal distinfo Makefile

deskutils/hebcal: Update 5.9.2.20250725 => 5.14.0

Changelog:
https://github.com/hebcal/hebcal/blob/v5.14.0/NEWS.md
Commit log:
https://github.com/hebcal/hebcal/compare/16a4dbad70c5fd10...v5.14.0

PR:             296748
Approved by:    osa, vvd (Mentors, implicit)
MFH:            2026Q3
DeltaFile
+3-3deskutils/hebcal/distinfo
+1-3deskutils/hebcal/Makefile
+4-62 files

FreeBSD/ports d4d946dcomms/scrcpy distinfo Makefile

comms/scrcpy: Update to 4.1

While here, reorder variables to make portclippy happy.

Changelog: https://github.com/Genymobile/scrcpy/releases/tag/v4.1

Reported by:    GitHub (watch releases)
DeltaFile
+5-5comms/scrcpy/distinfo
+3-3comms/scrcpy/Makefile
+8-82 files

LLVM/project 7401694llvm/docs AMDGPUUsage.rst, llvm/lib/IR Verifier.cpp

[AMDGPU] Add threshold for DPP atomic optimizer on LDS atomics (#186762)

Add amdgpu.expected.active.lane metadata which can be applied to operations by a 
compiler front-end.  Do not apply the DPP atomic optimizer to LDS atomics where
less than five active lanes are expected.
This is an empirically derived threshold based on GFX11 and GFX12 testing.

---------

Co-authored-by: YaFan <YaFan.Tao at amd.com>
DeltaFile
+1,147-0llvm/test/CodeGen/AMDGPU/atomic_optimizations_dpp_lds_expected_active_lanes.ll
+26-6llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
+30-0llvm/test/Verifier/amdgpu-expected-active-lanes.ll
+22-0llvm/docs/AMDGPUUsage.rst
+11-0llvm/lib/IR/Verifier.cpp
+1,236-65 files

LLVM/project d9798b2llvm/docs LangRef.md

More details, as suggested by Ralf

Co-authored-by: Ralf Jung <post at ralfj.de>
DeltaFile
+4-2llvm/docs/LangRef.md
+4-21 files

LLVM/project afac946llvm/lib/CodeGen/GlobalISel CombinerHelper.cpp, llvm/test/CodeGen/AArch64/GlobalISel combine-insert-vec-elt.mir

[GlobalISel] Fix crash in matchCombineInsertVecElts with INLINEASM-de… (#208225)

…fined base

matchCombineInsertVecElts walks the G_INSERT_VECTOR_ELT chain by
following operand 0 of the source-defining instruction. When the base
vector is defined by INLINEASM, operand 0 is the asm string (not a
register), so calling getReg() triggers an assertion:

  Assertion `isReg() && "This is not a register operand!"' failed.

Fix by using the mi_match overload that takes a MachineInstr instead of
a Register, which checks the instruction opcode before accessing any
operands.
DeltaFile
+25-0llvm/test/CodeGen/AArch64/GlobalISel/combine-insert-vec-elt.mir
+1-1llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
+26-12 files

LLVM/project 5566c87clang/lib/CodeGen CGBuiltin.cpp, clang/test/CodeGen builtins.c

[Clang] Fix boolean vector bit counting on big-endian targets (#209146)

`__builtin_ctzg` and `__builtin_clzg` (count leading/trailing zeroes)
can accept boolean vectors as arguments. In this case, they operate in
logical vector lane order. However, `EmitBitCountExpr`, used to generate
the argument to those builtins, bitcasts boolean vectors directly to
integer bitfields, whose bit order is reversed on big-endian targets.

This caused libc's SIMD `find_first_set` and `find_last_set` helpers to
count lanes from the wrong end in big-endian mode. But the issue was
general and could affect any user.

This patch normalizes the integer representation with `llvm.bitreverse`
on big-endian targets before emitting bit-count intrinsics. On top of
that, the codegen test has been refactored to run on more targets and to
cover big-endian mode as well.

As a side effect of this change, and because of the way the code is
structured, the bit reverse operation also happens for

    [7 lines not shown]
DeltaFile
+277-241clang/test/CodeGen/builtins.c
+8-0clang/lib/CodeGen/CGBuiltin.cpp
+285-2412 files

LLVM/project dad3e30llvm/include/llvm/CodeGen Rematerializer.h, llvm/lib/CodeGen Rematerializer.cpp

[CodeGen] Fix incorrect rematerialization rollback order (#197576)

This fixes an issue in the rematerializer's rollbacker wherein adjacent
MIs that were deleted through rematerializations would
sometimes---depending on the exact order in which they were
deleted---not be re-created in their original pre-rematerialization
order. While this does not impact correctness (i.e., use-def relations
are always honored), this goes against the rollbacker's intent to
re-create the MIR exactly as it was pre-rematerializations (up to slot
index changes).
DeltaFile
+128-23llvm/unittests/CodeGen/RematerializerTest.cpp
+96-50llvm/lib/CodeGen/Rematerializer.cpp
+60-37llvm/include/llvm/CodeGen/Rematerializer.h
+284-1103 files

LLVM/project f195f4dlldb/bindings/interface SBTargetDocstrings.i, lldb/docs/use tutorial.md

[lldb] Add comma separator in watchpoint description (#209176)

I find it easier to read this way, especially the last "state = enabled type = m" which looks like "enabled type = m" at a glance:
Watchpoint 1: addr = 0xaaaaaaab1018 size = 20 state = enabled type = m

With commas:
Watchpoint 1: addr = 0xaaaaaaab1018, size = 20, state = enabled, type = m

Code breakpoints include commas already:
1: name = 'main', locations = 1, resolved = 1, hit count = 1
1.1: where = test.o`main at test.c:13:15, address = 0x0000aaaaaaaa0714, resolved, hit count = 1

Used the regex "Watchpoint [0-9]+:" to find tests and docs that needed
updating.
DeltaFile
+4-4lldb/test/Shell/Register/x86-db-read.test
+3-3lldb/docs/use/tutorial.md
+1-1lldb/source/Breakpoint/Watchpoint.cpp
+1-1lldb/bindings/interface/SBTargetDocstrings.i
+9-94 files

FreeBSD/ports cc31372net/mdns-bridge distinfo Makefile

net/mdns-bridge: Update 2.6.0 => 3.0.0

Changelog:
https://github.com/dennypage/mdns-bridge/releases/tag/v3.0.0

PR:             296762
Approved by:    osa, vvd (Mentors, implicit)
DeltaFile
+3-3net/mdns-bridge/distinfo
+1-1net/mdns-bridge/Makefile
+4-42 files

FreeNAS/freenas e598a4esrc/middlewared/middlewared/api/v27_0_0 interface.py

NAS-141717 / 27.0.0-BETA.1 / Document HA failover fields on InterfaceEntry (#19299)

Declare the HA-only failover fields (`failover_critical`,
`failover_group`, `failover_vhid`, `failover_aliases`,
`failover_virtual_aliases`) that `interface.query` already emits on
`InterfaceEntry`, and drop the `# FIXME: Please document fields for HA
Hardware`. They previously slipped through only via `extra = "allow"`,
which hid that `interface.query` returns each failover alias with a
`netmask` while `interface.create`/`interface.update` reject it — the
divergence behind the console-menu save failure this documents against.
Documentation/typing only; no behavior change.
DeltaFile
+29-1src/middlewared/middlewared/api/v27_0_0/interface.py
+29-11 files

LLVM/project 534f037llvm/docs LangRef.md

[LangRef] State that the memory model is an axiomatic one

Currently, one could read large parts of the memory model without learning for
sure whether it is meant as an operational model that describes how individual
operations change some notion of state or if it is an axiomatic model (like the
C++ memory model) that lists constraints that a candidate execution must
satisfy to be allowed.

While the description of what a read returns sounds somewhat operational,
aspects like the definition of fence instructions, the monotonic modification
order, and the total order of sequentially consistent operations place it in
the realm of axiomatic models.

This is an attempt to make the nature of the model more explicit (and maybe a
place to discuss the nature of the model), as suggested by RalfJung in the
reviews for #204329.
DeltaFile
+2-0llvm/docs/LangRef.md
+2-01 files

LLVM/project e635600clang/include/clang/Basic DiagnosticSemaKinds.td Attr.td, clang/lib/Sema SemaAMDGPU.cpp SemaDeclCXX.cpp

Use C++ standard layout instead
DeltaFile
+60-38clang/lib/Sema/SemaAMDGPU.cpp
+38-10clang/test/SemaHIP/amdgpu-barrier.hip
+37-10clang/test/SemaCXX/amdgpu-barrier.cpp
+0-13clang/lib/Sema/SemaDeclCXX.cpp
+7-4clang/include/clang/Basic/DiagnosticSemaKinds.td
+1-1clang/include/clang/Basic/Attr.td
+143-761 files not shown
+144-777 files

LLVM/project d1aa304clang/lib/AST Type.cpp TypePrinter.cpp, clang/lib/Basic/Targets SPIR.h

Address Comments
DeltaFile
+4-3clang/lib/AST/Type.cpp
+3-2clang/test/SemaOpenCL/amdgpu-barrier.cl
+1-4clang/lib/CodeGen/CodeGenModule.cpp
+2-2clang/lib/Basic/Targets/SPIR.h
+4-0clang/test/SemaCXX/amdgpu-barrier.cpp
+2-2clang/lib/AST/TypePrinter.cpp
+16-1311 files not shown
+29-2317 files

LLVM/project d6c5e95clang/lib/AST Type.cpp, clang/lib/CodeGen CodeGenModule.cpp

[clang][AMDGPU] Clean-up handling of named barrier type

- Do not allow the type in struct fields. This is more like a handle/resource than a real type. It does not follow the traditional C++ object model, and using it in a struct field can do some weird things if you instantiate too many of them.
- Use a `hip_barrier` LangAS for this type that currently maps to the local AS. This allows easy switching to the barrier AS in a future patch.

Alternative to #195612, see also #195613
DeltaFile
+23-14clang/test/CodeGenHIP/amdgpu-barrier-type.hip
+13-1clang/lib/AST/Type.cpp
+9-1clang/lib/Sema/SemaDecl.cpp
+6-0clang/lib/CodeGen/CodeGenModule.cpp
+5-0clang/test/SemaOpenCL/amdgpu-barrier.cl
+5-0clang/test/SemaHIP/amdgpu-barrier.hip
+61-1616 files not shown
+89-2022 files

LLVM/project 52244d5clang/test/SemaCXX amdgpu-barrier.cpp, clang/test/SemaOpenCL amdgpu-barrier.cl

Add RUN lines to check Sema check works if AMDGCN is aux target
DeltaFile
+1-0clang/test/SemaOpenCL/amdgpu-barrier.cl
+1-0clang/test/SemaCXX/amdgpu-barrier.cpp
+2-02 files

LLVM/project 5d63163clang/include/clang/Basic DiagnosticSemaKinds.td, clang/lib/Sema SemaAMDGPU.cpp SemaDeclCXX.cpp

Update implementation
DeltaFile
+19-13clang/test/SemaCXX/amdgpu-barrier.cpp
+19-13clang/test/SemaHIP/amdgpu-barrier.hip
+12-13clang/lib/Sema/SemaAMDGPU.cpp
+7-8clang/include/clang/Basic/DiagnosticSemaKinds.td
+13-0clang/lib/Sema/SemaDeclCXX.cpp
+9-1clang/test/CodeGenHIP/amdgpu-barrier-type.hip
+79-482 files not shown
+82-518 files

LLVM/project 5a57601clang/include/clang/Basic TargetInfo.h, clang/lib/Basic TargetInfo.cpp

Address Comments
DeltaFile
+13-24clang/test/CodeGenHIP/amdgpu-barrier-type.hip
+1-1clang/lib/Basic/TargetInfo.cpp
+1-1clang/include/clang/Basic/TargetInfo.h
+1-1clang/lib/Basic/Targets/SPIR.h
+0-1clang/test/SemaCXX/amdgpu-barrier.cpp
+0-1clang/test/SemaOpenCL/amdgpu-barrier.cl
+16-296 files

LLVM/project 7aa957eclang/include/clang/Basic TargetInfo.h, clang/lib/AST ASTContext.cpp

Factor out check for AMDGPU types so it can be reused.
DeltaFile
+2-7clang/lib/Sema/Sema.cpp
+1-7clang/lib/AST/ASTContext.cpp
+7-0clang/include/clang/Basic/TargetInfo.h
+6-1clang/lib/Sema/SemaAMDGPU.cpp
+2-0clang/lib/Basic/TargetInfo.cpp
+1-0clang/lib/Basic/Targets/SPIR.h
+19-151 files not shown
+20-157 files

LLVM/project 759c836clang/include/clang/Basic DiagnosticSemaKinds.td, clang/lib/Sema SemaDecl.cpp

Revert earlier change
DeltaFile
+1-1clang/include/clang/Basic/DiagnosticSemaKinds.td
+1-1clang/lib/Sema/SemaDecl.cpp
+2-22 files

LLVM/project 6f7da87clang/test/SemaCXX amdgpu-barrier.cpp, clang/test/SemaHIP amdgpu-barrier.hip

Add test w/ static field
DeltaFile
+5-0clang/test/SemaHIP/amdgpu-barrier.hip
+5-0clang/test/SemaCXX/amdgpu-barrier.cpp
+10-02 files