LLVM/project 3f8562e — llvm/test/CodeGen/X86 vector-interleaved-store-i64-stride-7.ll vector-deinterleave8-i64.ll

[X86] Enable SlotIndexes compaction by default

Compacting SlotIndexes before greedy allocation drops the entries of
erased instructions, so live range sizes and instruction distances
reflect the code being allocated rather than how much was erased
before it. AMDGPU has done this since #235806; do the same for X86.

Codegen changes only through allocation: no new crashes, verifier
errors or allocation failures in the lit suites, including
EXPENSIVE_CHECKS, and a stage-2 build of LLVM, clang and lld with
-verify-machineinstrs passes its own tests. On llvm-test-suite at -O3,
spills and reloads drop 0.4% and .text 0.04%, with compile time
unchanged.

Most test updates are regenerated checks. misched-matmul now inserts
20 spills instead of 24. live-debug-vars-stale-slotindexes.mir gets
one more use of %27 so that accumulate_fit still reaches the stale
index path it was written for. reloc-opt.ll gets an NF add that keeps
its source live, because compaction compresses the existing one to the

    [3 lines not shown]
DeltaFile
+20,796-20,889llvm/test/CodeGen/X86/vector-interleave7-i16.ll
+17,854-17,989llvm/test/CodeGen/X86/vector-interleave7-i32.ll
+17,166-17,229llvm/test/CodeGen/X86/vector-interleave6-i16.ll
+15,403-15,465llvm/test/CodeGen/X86/vector-interleaved-load-i64-stride-7.ll
+13,433-13,434llvm/test/CodeGen/X86/vector-deinterleave8-i64.ll
+13,329-13,243llvm/test/CodeGen/X86/vector-interleaved-store-i64-stride-7.ll
+97,981-98,249517 files not shown
+672,212-674,661523 files

LLVM/project f6669c7 — llvm/include/llvm/DebugInfo/PDB/Native RawTypes.h, llvm/test/DebugInfo/PDB pdbdump-fixups.test

[llvm-pdbutil] Add support for PDB FIXUP streams (#248728)

Dump FIXUP records and support converting them to and from YAML. 

Public format references:
- [Microsoft pdb-rs: FIXUP record
layout](https://github.com/microsoft/pdb-rs/blob/main/docs/pdb/dbi_fixups.md)
- [LLVM: DBI optional debug header, slot
2](https://llvm.org/docs/PDB/DbiStream.html#dbi-optional-dbg-stream)
- [Microsoft PDB source: `dbgtypeFixup` and
`XFIXUP_DATA`](https://github.com/microsoft/microsoft-pdb/blob/805655a28bd8198004be2ac27e6e0290121a5e89/PDB/dbi/dbi.h#L1477-L1480)

Assisted-by: GPT-6.2 Sol
DeltaFile
+113-0llvm/test/DebugInfo/PDB/pdbdump-fixups.test
+95-0llvm/tools/llvm-pdbutil/DumpOutputStyle.cpp
+28-0llvm/tools/llvm-pdbutil/YAMLOutputStyle.cpp
+25-1llvm/tools/llvm-pdbutil/llvm-pdbutil.cpp
+19-0llvm/include/llvm/DebugInfo/PDB/Native/RawTypes.h
+14-0llvm/tools/llvm-pdbutil/PdbYaml.cpp
+294-17 files not shown
+334-313 files

FreeNAS/freenas 751f06b — src/middlewared/middlewared/plugins/truenas_connect finalize_registration.py heartbeat.py

NAS-145633 / 27.1.0 / Use decode_and_validate_token from truenas_connect_utils (by yocalebo) (#20386)

The TNC plugin decoded the JWT with pyjwt. It did not check the
signature, so pyjwt is not necessary. truenas/truenas_connect_utils#49
adds `decode_and_validate_token` to `truenas_connect_utils.config`. That
function does the same work with the standard library.

This PR removes the local copy from `plugins/truenas_connect/utils.py`.
`heartbeat.py` and `finalize_registration.py` import the function from
`truenas_connect_utils.config`. The unit tests patch
`heartbeat.decode_and_validate_token`, so they do not change.

truenas/truenas_connect_utils#49 also removes `python3-jwt`. Middleware
got `python3-jwt` only through that package. Merge this PR together with
truenas/truenas_connect_utils#49 and truenas/truenas-installer#127.

flake8 passes. The unit tests for this plugin did not run locally, so CI
must run them. The function has tests in
truenas/truenas_connect_utils#49.

    [4 lines not shown]
DeltaFile
+0-16src/middlewared/middlewared/plugins/truenas_connect/utils.py
+2-2src/middlewared/middlewared/plugins/truenas_connect/heartbeat.py
+2-1src/middlewared/middlewared/plugins/truenas_connect/finalize_registration.py
+4-193 files

LLVM/project 130e10e — clang/lib/CodeGen CodeGenFunction.h CGAtomic.cpp, clang/test/OpenMP amdgpu-unsafe-fp-atomics.cpp target_atomic_device_scope.cpp

[OpenMP] Use device scope for atomic constructs on the device (#240426)

OpenMP 6.0, 17.8.5 specifies that "The memscope clause determines the
binding thread set for an atomic region. If the memscope clause is not
present, the behavior is as if the memscope clause appeared on the
construct with the device scope-specifier."

Thread the sync scopes through codegen amd also add a release note
because this is changing existing behavior.
Existing behavior was overly cautios for OpenMP 5.2, too, though. The
atomic construct never specified the option of having system-level
scope. This only came with the memscope clause and it's "all"
scope-specifier.

Assisted-by: LLM
DeltaFile
+130-0clang/test/OpenMP/target_atomic_device_scope.cpp
+24-9clang/lib/CodeGen/CGStmtOpenMP.cpp
+16-16clang/test/OpenMP/amdgpu-unsafe-fp-atomics.cpp
+16-11clang/lib/CodeGen/CGAtomic.cpp
+12-10llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+6-3clang/lib/CodeGen/CodeGenFunction.h
+204-493 files not shown
+214-539 files

LLVM/project 8d33c0f — llvm/lib/Target/RISCV RISCVFrameLowering.cpp

Move CalleeSaved and Locals declarations closer to their use
DeltaFile
+4-3llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
+4-31 files

FreeNAS/freenas 863df02 — src/middlewared/middlewared/plugins/iscsi_ alua.py

Fix ALUA LUN updates for FC MPIO targets

Since FC MPIO support (NAS-137249) a target can be mapped to more than
one FC port, but become_active() keyed its fcport lookup by target id,
so only one port per target had its LUN replaced on failover. The other
port's LUN was then removed along with the HA pass-through device,
leaving the initiator with LOGICAL UNIT NOT SUPPORTED (ESXi PDL) on
that path until the peer rejoined.

removed_target_extent() had the same assumption and only deleted the
LUN from the first port.

Fix both by collecting all of a target's FC ports and replacing or
deleting the LUN on each one.
DeltaFile
+17-21src/middlewared/middlewared/plugins/iscsi_/alua.py
+17-211 files

FreeNAS/freenas 247eca4 — src/middlewared/middlewared/plugins/truenas_connect heartbeat.py finalize_registration.py

NAS-145633 / 28.0.0-BETA.1 / Use decode_and_validate_token from truenas_connect_utils (#20385)

The TNC plugin decoded the JWT with pyjwt. It did not check the
signature, so pyjwt is not necessary. truenas/truenas_connect_utils#49
adds `decode_and_validate_token` to `truenas_connect_utils.config`. That
function does the same work with the standard library.

This PR removes the local copy from `plugins/truenas_connect/utils.py`.
`heartbeat.py` and `finalize_registration.py` import the function from
`truenas_connect_utils.config`. The unit tests patch
`heartbeat.decode_and_validate_token`, so they do not change.

truenas/truenas_connect_utils#49 also removes `python3-jwt`. Middleware
got `python3-jwt` only through that package. Merge this PR together with
truenas/truenas_connect_utils#49 and truenas/truenas-installer#127.

flake8 passes. The unit tests for this plugin did not run locally, so CI
must run them. The function has tests in
truenas/truenas_connect_utils#49.
DeltaFile
+0-14src/middlewared/middlewared/plugins/truenas_connect/utils.py
+1-2src/middlewared/middlewared/plugins/truenas_connect/heartbeat.py
+2-1src/middlewared/middlewared/plugins/truenas_connect/finalize_registration.py
+3-173 files

LLVM/project cf8bd65 — llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp, llvm/test/CodeGen/X86 pr72539.ll combine-xor.ll

[DAGCombiner] Fold repeated operands before reassociating constants (#244490)

In reassociateOpsCommutative, check (x ^ y) ^ x -> y and the matching
and/or folds before reassociating constants out. Otherwise
(xor (xor x, C), x) becomes (xor (xor x, x), C), and after legalization
the vector (xor x, x) -> 0 fold can't fire if BUILD_VECTOR is illegal.
DeltaFile
+56-0llvm/test/CodeGen/X86/combine-xor.ll
+19-18llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+8-15llvm/test/CodeGen/X86/pr72539.ll
+83-333 files

FreeBSD/ports 1de4bf8 — textproc/fcitx5-configtool Makefile

textproc/fcitx5-configtool: Add missing KF6 dependencies

fcitx5-config-qt links to libKF6DBusAddons and libKF6WindowSystem.
Both are already pulled in by other KDE dependencies, so the resulting
package does not change and no PORTREVISION bump is needed.
DeltaFile
+3-3textproc/fcitx5-configtool/Makefile
+3-31 files

LLVM/project 778c83a — clang/test/CodeGen/AArch64 fmv-resolver-emission.c, clang/test/CodeGenCXX likely-module-local.cpp

[clang][CodeGen] Do not set likely_module_local on local-linkage functions (#248822)

Internal and private functions are already module-local, so setting
likely_module_local on them is redundant.

Assisted-by: Gemini
DeltaFile
+30-30clang/test/OpenMP/threadprivate_codegen.cpp
+25-25clang/test/OpenMP/parallel_private_codegen.cpp
+6-6clang/test/OpenMP/parallel_firstprivate_codegen.cpp
+6-6clang/test/CodeGen/AArch64/fmv-resolver-emission.c
+11-0clang/test/CodeGenCXX/likely-module-local.cpp
+5-5clang/test/OpenMP/for_lastprivate_codegen.cpp
+83-724 files not shown
+90-7910 files

LLVM/project 7d9803f — llvm/include/llvm/Transforms/IPO Attributor.h, llvm/lib/Transforms/IPO AttributorAttributes.cpp Attributor.cpp

[Attributor][NFC] Rename CheckPotentiallyDead to IncludeAssumedDead (#249049)

The flag makes the predicate also run on assumed-dead sites, so the old
name read the other way (see #248774 discussion).

Assisted-by: Claude Opus 5.5
DeltaFile
+11-11llvm/lib/Transforms/IPO/Attributor.cpp
+11-5llvm/include/llvm/Transforms/IPO/Attributor.h
+2-2llvm/lib/Transforms/IPO/AttributorAttributes.cpp
+24-183 files

LLVM/project 86e2d4f — llvm/lib/Target/AArch64 AArch64AsmPrinter.cpp, llvm/test/CodeGen/AArch64 windows-trap-unreachable.ll

[aarch64][win] Fix trap emission for unwinding after noreturn invokes (#249048)

PR #232358 changed the trap emission for Arm64 Windows EH to only insert
traps where the block had no successors and checked only the next block
in layout order. Since a noreturn invoke in a catch funclet can have
exceptional CFG successors and an empty normal-continuation block, this
code would miss the boundary between the catch funclets, causing the
call's return address to point into the next funclet, breaking exception
handling.

The fix is to scan past blocks with no real instructions in layout
order, without requiring an empty successor list, then emit a trap if a
funclet, section, or function boundary comes first.

Fixes #248881
DeltaFile
+43-0llvm/test/CodeGen/AArch64/windows-trap-unreachable.ll
+18-14llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
+61-142 files

FreeBSD/src b82b4c2 — sys/net if_bridge.c, tests/sys/net Makefile if_bridge_test.sh

if_bridge: Fix a NULL dereference on frames injected by netmap

A frame that a netmap application writes to a bridge's host ring
enters bridge_input() with the bridge itself as the receiving
interface.  bridge_input() looks up the member that owns the source
address and continues with that member as ifp, but since 85967694b459
it takes bif from ifp->if_bridge before the lookup, so bif stays NULL.
The first injected frame with a known source address panics in
bridge_vfilter_in(), so any netmap application on a bridge, such as
Suricata in inline mode, panics the kernel as soon as it passes traffic.

Take the member from the address table entry instead, and add a test
that passes traffic through a bridge in netmap mode.

Reviewed by:            kp
MFC after:              1 week
Sponsored by:           Rubicon Communications, LLC ("Netgate")
Differential Revision:  https://reviews.freebsd.org/D62445
DeltaFile
+61-0tests/sys/net/if_bridge_test.sh
+7-3sys/net/if_bridge.c
+1-1tests/sys/net/Makefile
+69-43 files

LLVM/project 691808a — clang/lib/CodeGen/TargetBuiltins ARM.cpp, clang/test/CodeGen bpf-attr-preserve-access-index-enum-switch.c bpf-attr-preserve-access-index-enum.c

[BPF] Load a 32-bit relocated enum value with a 32-bit immediate (#246702)

Since commit c080a0b9b673 ("[BPF] Support preserve_access_index
attribute
for enum (#232498)"), an enumerator of an enum with the
preserve_access_index attribute is relocated as
__builtin_preserve_enum_value(), whose 64-bit value is then converted to
the type of the enumerator, normally int:
```
  enum E { N = 10 } __attribute__((preserve_access_index));
  enum U { M = 0x80000000 } __attribute__((preserve_access_index));

  long f2(void) { return N; }
  unsigned long f3(void) { return M; }
```
is compiled to:
```
  f2:
    r0 = 0xa ll          /* CO-RE <enumval_value> enum E::N */

    [43 lines not shown]
DeltaFile
+181-0llvm/test/CodeGen/BPF/CORE/intrinsic-enum-value-imm32.ll
+35-18clang/test/CodeGen/bpf-attr-preserve-access-index-enum.c
+35-3llvm/lib/Target/BPF/BPFAbstractMemberAccess.cpp
+20-5llvm/lib/Target/BPF/BTFDebug.cpp
+8-8clang/test/CodeGen/bpf-attr-preserve-access-index-enum-switch.c
+15-0clang/lib/CodeGen/TargetBuiltins/ARM.cpp
+294-345 files not shown
+314-3911 files

LLVM/project 6e53877 — llvm/lib/Target/AMDGPU SIDefines.h, llvm/lib/Target/AMDGPU/Disassembler AMDGPUDisassembler.cpp

AMDGPU: Do not decode inv-2pi inline constant on gfx6/gfx7 (#249034)

The disassembler assumed the inline constant was always available. On
SI/CI the encoding is reserved and decoding it printed a literal which
does not encode back to the same bytes. A literal with that value was
also printed with lit().

Assisted-by: Claude
DeltaFile
+17-0llvm/test/MC/Disassembler/AMDGPU/gfx6_gfx7_inv2pi.txt
+5-3llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
+1-0llvm/lib/Target/AMDGPU/SIDefines.h
+23-33 files

FreeBSD/ports 089885b — graphics/libheif Makefile

graphics/libheif: Disable OPENJPEG option

PR:             301259
DeltaFile
+2-2graphics/libheif/Makefile
+2-21 files

FreeBSD/ports 9034fd6 — Mk bsd.options.desc.mk

Mk/bsd.options.desc.mk: Mark OPENJPEG option as deprecated

OpenJPEG is unmaintained upstream.

PR:             301259
DeltaFile
+1-1Mk/bsd.options.desc.mk
+1-11 files

FreeBSD/ports 306d306 — graphics/kf6-kimageformats Makefile

graphics/kf6-kimageformats: Disable OPENJPEG option

PR:             301259
DeltaFile
+2-1graphics/kf6-kimageformats/Makefile
+2-11 files

LLVM/project fe1abf5 — llvm/lib/Target/AArch64 AArch64TargetTransformInfo.cpp

fixup! [AArch64] Implement InstCombine for sve_and_u and sve_eor_u
DeltaFile
+84-53llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
+84-531 files

FreeBSD/ports 3dbf5f1 — security/ca_root_nss Makefile distinfo

security/ca_root_nss: Update to 3.135

Changelog: https://groups.google.com/a/mozilla.org/g/dev-tech-crypto/c/bq2mTUHiHCA

Sponsored by:   Netzkommune GmbH

(cherry picked from commit 1f732c633235dc61fd6ee78ef242bee2f5f082ed)
DeltaFile
+3-3security/ca_root_nss/distinfo
+1-1security/ca_root_nss/Makefile
+4-42 files

FreeBSD/ports 1f732c6 — security/ca_root_nss Makefile distinfo

security/ca_root_nss: Update to 3.135

Changelog: https://groups.google.com/a/mozilla.org/g/dev-tech-crypto/c/bq2mTUHiHCA

Sponsored by:   Netzkommune GmbH
DeltaFile
+3-3security/ca_root_nss/distinfo
+1-1security/ca_root_nss/Makefile
+4-42 files

FreeBSD/ports d7370c3 — www/bunkerweb distinfo Makefile

www/bunkerweb: Update to 1.6.19

This release keeps secret settings out of reach of users without the
write permission in the interface and the API, restricts the Let's
Encrypt DNS credentials to admins, and no longer reads an ACL bootstrap
"false" as true.

Changelog: https://github.com/bunkerity/bunkerweb/releases/tag/v1.6.19

Sponsored by:   Netzkommune GmbH
DeltaFile
+525-0www/bunkerweb/pkg-plist
+3-5www/bunkerweb/Makefile
+3-3www/bunkerweb/distinfo
+531-83 files

LLVM/project 0863493 — llvm/lib/Target/AMDGPU SIDefines.h, llvm/lib/Target/AMDGPU/Disassembler AMDGPUDisassembler.cpp

AMDGPU: Decode gfx/gfx7 special register encodings (#249032)

flat_scratch and xnack_mask do not exist on gfx6. gfx6 and gfx7 have
s102 and s103 where VI has flat_scratch. gfx7 encodes flat_scratch
where gfx8 has xnack_mask.

Assisted-by: Claude
DeltaFile
+21-6llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
+22-0llvm/test/MC/Disassembler/AMDGPU/gfx6_invalid.txt
+12-0llvm/test/MC/Disassembler/AMDGPU/gfx7_dasm.txt
+12-0llvm/test/MC/Disassembler/AMDGPU/gfx6_gfx7_dasm.txt
+2-1llvm/lib/Target/AMDGPU/SIDefines.h
+69-75 files

LLVM/project 0b4a759 — llvm/test/TableGen RuntimeLibcallEmitter-calling-conv.td RuntimeLibcallEmitter-predicate-dag.td, llvm/utils/TableGen/Basic PredicateExpanderDag.cpp RuntimeLibcalls.cpp

TableGen: Parenthesize combined LibcallPredicate conditions (#249007)

Avoid operator precedence problems by parenthesizing the code snippet.

e.g., fix emitting (all_of IsOSDarwin, IsARMOrThumb)` as
`TT.isOSDarwin() && TT.isARM() || TT.isThumb()`

Assisted-by: Claude
DeltaFile
+17-5llvm/test/TableGen/RuntimeLibcallEmitter-predicate-dag.td
+6-4llvm/utils/TableGen/Basic/PredicateExpanderDag.h
+7-2llvm/utils/TableGen/Basic/RuntimeLibcalls.cpp
+2-2llvm/utils/TableGen/Basic/PredicateExpanderDag.cpp
+2-2llvm/test/TableGen/RuntimeLibcallEmitter-calling-conv.td
+1-1llvm/utils/TableGen/Common/SubtargetFeatureInfo.cpp
+35-166 files

LLVM/project 6eca227 — clang/include/clang/AST StmtOpenMP.h, clang/lib/AST StmtOpenMP.cpp

[clang][OpenMP] Extend no-loop promotion to split spellings (#224650)

Widen the no-loop promotion to apply not only to the fused target teams
distribute parallel for but include the same region written as separate
directives, other directives promotable to parallel for, and regions
carrying a schedule clause that asks for a mapping a no-loop kernel
already provides (static or dynamic with a chunk size of 1, and auto).

Fix the visitor that checks whether a teams loop can be promoted to
parallel for. A teams loop with calls to non API routines cannot be
promoted to parallel for, but the visitor overrode such a case when
there was a later call to an API routine.

Assisted by: Claude Opus 5.5
DeltaFile
+157-24clang/test/OpenMP/target_no_loop.cpp
+46-31clang/lib/CodeGen/CGStmtOpenMP.cpp
+63-13clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
+10-1clang/include/clang/AST/StmtOpenMP.h
+3-2clang/lib/Sema/SemaOpenMP.cpp
+2-1clang/lib/AST/StmtOpenMP.cpp
+281-722 files not shown
+283-728 files

LLVM/project 2594c89 — llvm/test/CodeGen/AMDGPU amdgpu-attributor-function-analyses.ll

AMDGPU: Fix amdgpu-attributor analysis test in EXPENSIVE_CHECKS builds (#249052)

Fix the changed output with -verify-analysis-invalidation=0
DeltaFile
+1-1llvm/test/CodeGen/AMDGPU/amdgpu-attributor-function-analyses.ll
+1-11 files

LLVM/project 13dc066 — llvm/test/Transforms/LoopVectorize vplan-based-stride-mv.ll, llvm/test/Transforms/LoopVectorize/VPlan vplan-based-stride-mv.ll

Fix typos
DeltaFile
+1-1llvm/test/Transforms/LoopVectorize/vplan-based-stride-mv.ll
+1-1llvm/test/Transforms/LoopVectorize/VPlan/vplan-based-stride-mv.ll
+2-22 files

LLVM/project 161773b — llvm/lib/Transforms/Vectorize VPlanTransforms.cpp

Fix typos
DeltaFile
+8-7llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+8-71 files

NetBSD/pkgsrc-wip cad2e90 — . Makefile

wip: Add vulnogram
DeltaFile
+1-0Makefile
+1-01 files

LLVM/project 508aa42 — flang-rt/cmake/modules FlangRTIntrospection.cmake, flang-rt/lib/runtime CMakeLists.txt iso_c_binding.f90

[Flang-RT] Introspect the values of int_fast16_t and int_fast32_t  (#248300)

Determine the size of int_fast16_t and int_fast32_t using platform
introspection for the target triple.

Note the offload situation is fragile: Ideally, `int_fast16_t` and
`int_fast32_t` should be the same on the GPU as on the host or we get
data layout mismatches. However, depending on the vendor toolchain, the
compiler used, its flags (`-nostdlibinc`), the way it is compiled
(`FLANG_RT_EXPERIMENTAL_OFFLOAD_SUPPORT` vs `LLVM_RUNTIME_TARGETS`),
installed headers (`gnu/stubs-32.h`) and other factors, you get
different results.

See discussion at
https://discourse.llvm.org/t/rfc-determining-the-size-of-c-interoperable-types/92841

Fixes #208361

Assisted-by AI
DeltaFile
+52-0flang-rt/test/Driver/iso_c_binding-int-fast.f90
+48-0flang-rt/cmake/modules/FlangRTIntrospection.cmake
+6-12flang-rt/lib/runtime/iso_c_binding.f90
+18-0flang/test/Semantics/iso_c_binding-int-fast.f90
+6-0flang-rt/lib/runtime/CMakeLists.txt
+5-0flang/docs/ReleaseNotes.md
+135-121 files not shown
+139-127 files