LLVM/project 8a00fd0mlir/lib/Dialect/Affine/Analysis Utils.cpp, mlir/test/Dialect/Affine loop-fusion-4.mlir

[MLIR][Affine] Remove restriction in slice validity check on symbols (#180709)

Remove restriction in affine analysis utility for checking slice
validity. This was unnecessarily bailing out still after the underlying
methods were extended. This update enables fusion of affine nests with
symbolic bounds.

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

Based on and revived from https://reviews.llvm.org/D148559 from
@anoopjs.
DeltaFile
+59-0mlir/test/Dialect/Affine/loop-fusion-4.mlir
+2-6mlir/lib/Dialect/Affine/Analysis/Utils.cpp
+61-62 files

FreeBSD/ports 1b1aaa3audio/ocp distinfo Makefile

audio/ocp: Update to 3.1.3
DeltaFile
+3-3audio/ocp/distinfo
+1-1audio/ocp/Makefile
+4-42 files

LLVM/project 4b33d45flang/include/flang/Semantics symbol.h, flang/lib/Semantics check-omp-structure.cpp

[Flang][OpenMP] Fix visibility of user-defined reductions for derived types and module imports (#180552)

User-defined reductions declared in a module were not visible to
programs that imported the module via USE statements, causing valid code
to be incorrectly rejected. The reduction identifier defined in the
module scope wasn't being found during semantic analysis of the main
program.

Ref:
OpenMP Spec 5.1 
_"If a directive appears in the specification part of a module then the
behavior is as if that directive,
with the variables, types and procedures that have PRIVATE accessibility
omitted, appears in the
specification part of any compilation unit that references the module
unless otherwise specified "_

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

Co-authored-by: Chandra Ghale <ghale at pe31.hpc.amslabs.hpecorp.net>
DeltaFile
+30-0flang/test/Semantics/OpenMP/declare-reduction-derived-module.f90
+16-0flang/include/flang/Semantics/symbol.h
+14-0flang/lib/Semantics/check-omp-structure.cpp
+60-03 files

LLVM/project 7995fc0clang/test/CodeGenOpenCL builtins-amdgcn-asyncmark.cl, llvm/lib/Target/AMDGPU SIInsertWaitcnts.cpp

[AMDGPU] Introduce asyncmark/wait intrinsics

Asynchronous operations are memory transfers (usually between the global memory
and LDS) that are completed independently at an unspecified scope. A thread that
requests one or more asynchronous transfers can use async marks to track their
completion. The thread waits for each mark to be completed, which indicates that
requests initiated in program order before this mark have also completed.

For now, we implement asyncmark/wait operations on pre-GFX12 architectures that
support "LDS DMA" operations. Future work will extend support to GFX12Plus
architectures that support "true" async operations.

Co-authored-by: Ryan Mitchell ryan.mitchell at amd.com

Fixes: SWDEV-521121
DeltaFile
+268-12llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
+279-0llvm/test/CodeGen/AMDGPU/asyncmark-max-pregfx12.ll
+194-75llvm/test/CodeGen/AMDGPU/asyncmark-pregfx12.ll
+38-16llvm/test/CodeGen/AMDGPU/async-buffer-loads.ll
+19-0llvm/test/CodeGen/AMDGPU/asyncmark-err.ll
+16-0clang/test/CodeGenOpenCL/builtins-amdgcn-asyncmark.cl
+814-1037 files not shown
+874-10913 files

LLVM/project f63477fllvm/lib/Target/AMDGPU SIInstrInfo.h

don't move usesLGKM_CNT()
DeltaFile
+4-4llvm/lib/Target/AMDGPU/SIInstrInfo.h
+4-41 files

FreeBSD/src 4690a36contrib/blocklist/bin blacklistd.c run.c, contrib/blocklist/port popenve.c

Adapt changes from blocklist 2026-02-07 (10a907f)

Also apply the fix from PR 258411.

This is a direct commit to stable/14, as blacklist has been renamed to
blocklist upstream.

Approved by:    re (cperciva)

(cherry picked from commit 30c04399f2e81b8e71045fc410837461abeb2d8b)
DeltaFile
+37-34contrib/blocklist/port/popenve.c
+15-14contrib/blocklist/bin/blacklistd.c
+7-6contrib/blocklist/bin/run.c
+2-2contrib/blocklist/bin/blacklistd.conf.5
+0-1contrib/blocklist/bin/support.c
+61-575 files

FreeBSD/src 3c10ed2usr.bin/diff diffreg.c

diff: Report I/O errors in Stone algorithm

In the legacy Stone algorithm, we do a first pass over the files to
check if they're identical before we start diffing them.  That code
would correctly set the exit status if an I/O error was encountered,
but would not emit an error message.  Do so.

Approved by:    re (cperciva)
PR:             292198
MFC after:      1 week
Sponsored by:   Klara, Inc.
Reviewed by:    thj
Differential Revision:  https://reviews.freebsd.org/D55125

(cherry picked from commit f8c12e6e3874cdd353fb16785da6f4e7eb134cd9)
(cherry picked from commit 37ceb8794c22d88a41e261d23d347bc7ac08b2c8)
DeltaFile
+7-3usr.bin/diff/diffreg.c
+7-31 files

FreeBSD/src 7cf7c71usr.bin/diff/tests diff_test.sh

diff: Correctly declare tests

Approved by:    re (cperciva)
Sponsored by:   Klara, Inc.
Fixes:          5fc739eb5949 ("diff: Fix integer overflows in Stone algorithm")
Fixes:          270492602b9b ("diff: Add test case for pagination resource leak")
Fixes:          590126789c84 ("diff: Don't compare a file or directory to itself")

(cherry picked from commit 157d6664aeb815db3b758bd3038fd1512a0f4e2c)
(cherry picked from commit b8bcf04d6dd37308834ee258230082ae6875b1f3)
DeltaFile
+4-1usr.bin/diff/tests/diff_test.sh
+4-11 files

FreeBSD/src b413914usr.bin/diff diffdir.c diffreg.c, usr.bin/diff/tests diff_test.sh

diff: Don't compare a file or directory to itself

While here, stop abusing struct dirent for something we don't even need
to store.

Approved by:    re (cperciva)
PR:             254455
MFC after:      1 week
Sponsored by:   Klara, Inc.
Reviewed by:    thj, kevans
Differential Revision:  https://reviews.freebsd.org/D55113

(cherry picked from commit 590126789c841d80655869bc075c8980c173dd1c)

diff: Fix build

rc must be defined first.

Fixes:          590126789c84

    [5 lines not shown]
DeltaFile
+19-0usr.bin/diff/tests/diff_test.sh
+8-8usr.bin/diff/diffdir.c
+3-0usr.bin/diff/diffreg.c
+30-83 files

FreeBSD/src 6761e55usr.bin/diff pr.c pr.h, usr.bin/diff/tests diff_test.sh

diff: Fix pagination leak

* Drop an unnecessary variable and rename pidfd to procd.

* Rewinding stdout serves no purpose, so stop doing it.

* Don't bother freeing memory or setting the global status right
  before erroring out.

* Error out if dup(2) or dup2(2) fail.

* In the unlikely case that our pipe is equal to stdout, we need to
  record that information so we don't close it when cleaning up.

* Don't bother closing a descriptor before dup2(2)ing to it.

* Don't forget to close the the process descriptor after reaping the
  child process.


    [9 lines not shown]
DeltaFile
+10-12usr.bin/diff/pr.c
+1-0usr.bin/diff/pr.h
+0-1usr.bin/diff/tests/diff_test.sh
+11-133 files

FreeBSD/src 2434f3busr.bin/diff/tests diff_test.sh

diff: Add test case for pagination resource leak

The pagination code leaks either processes or descriptors or both,
depending on the exact version of the code you have.  Add a test case
which exercises this leak to facilitate fixing it.

Approved by:    re (cperciva)
MFC after:      1 week
Sponsored by:   Klara, Inc.
Reviewed by:    thj, kevans
Differential Revision:  https://reviews.freebsd.org/D55111

(cherry picked from commit 270492602b9bd8b8fce4f021f055804978bf3f23)
(cherry picked from commit 51c2384ce049ec92e07901cf8a84c171e5d72104)
DeltaFile
+22-0usr.bin/diff/tests/diff_test.sh
+22-01 files

FreeBSD/src 238bf5eusr.bin/diff diffreg.c, usr.bin/diff/tests diff_test.sh

diff: Fix integer overflows in Stone algorithm

Fix integer overflows that may occur when the context window is very
large and add tests to exercise those conditions.

Approved by:    re (cperciva)
PR:             267032
MFC after:      1 week
Sponsored by:   Klara, Inc.
Reviewed by:    thj, kevans
Differential Revision:  https://reviews.freebsd.org/D55110

(cherry picked from commit 5fc739eb5949620da911db2f87ca8faedc549d3a)
(cherry picked from commit 237fd8dd96979412dd65ce95032aa9957463d069)
DeltaFile
+21-11usr.bin/diff/diffreg.c
+29-0usr.bin/diff/tests/diff_test.sh
+50-112 files

FreeBSD/ports 1d00de9misc/crush distinfo Makefile

misc/crush: Update to 0.41.0

Changelog:
- https://github.com/charmbracelet/crush/releases/tag/v0.39.2
- https://github.com/charmbracelet/crush/releases/tag/v0.39.3
- https://github.com/charmbracelet/crush/releases/tag/v0.40.0
- https://github.com/charmbracelet/crush/releases/tag/v0.41.0

Reported by:    GitHub (watch releases)
DeltaFile
+5-5misc/crush/distinfo
+1-2misc/crush/Makefile
+6-72 files

FreeBSD/src c08ee1esys/dev/iwx if_iwx.c

iwx: migrate to new net80211 encryption key API

Migrate to the new encryption key API rather than poking at the
key struct directly.

Locally tested:

 * STA mode - iwx0: <Wi-Fi 6 AX210> mem 0x84c00000-0x84c03fff at device 0.0 on pci4

Differential Revision:  https://reviews.freebsd.org/D54463
DeltaFile
+6-4sys/dev/iwx/if_iwx.c
+6-41 files

FreeBSD/src f064d44sys/dev/usb/wlan if_rum.c if_run.c

run: rum: migrate to new net80211 encryption key API

Migrate to the new encryption key API rather than poking at the
key struct directly.

Locally tested:

 * STA mode - run0: MAC/BBP RT2860 (rev 0x0101), RF RT2820 (MIMO 2T2R), address 00:0e:2e:e5:ae:3a

Differential Revision:  https://reviews.freebsd.org/D54462
DeltaFile
+16-10sys/dev/usb/wlan/if_rum.c
+10-5sys/dev/usb/wlan/if_run.c
+26-152 files

FreeBSD/src 7a5288asys/net80211 ieee80211_ht.c

net80211: clean up time comparison in HT code

There's at least one place where the time comparison is wrong, leading
to some bad beahaviour around deciding to try and establish/reestablish
AMPDU TX sessions.

Start addressing these!

Differential Revision:  https://reviews.freebsd.org/D54390
DeltaFile
+5-3sys/net80211/ieee80211_ht.c
+5-31 files

LLVM/project 67acd02clang/docs ReleaseNotes.rst

Release Note
DeltaFile
+2-0clang/docs/ReleaseNotes.rst
+2-01 files

LLVM/project 186a2bfclang/include/clang/Basic CodeGenOptions.def, clang/include/clang/Options Options.td

[clang] Ensure -mno-outline adds attributes

Before this change, `-mno-outline` and `-moutline` only controlled the
pass pipelines for the invoked compiler/linker.

The drawback of this implementation is that, when using LTO, only the
flag provided to the linker invocation is honoured (and any files which
individually use `-mno-outline` will have that flag ignored).

This change serialises the `-mno-outline` flag into each function's
IR/Bitcode, so that we can correctly disable outlining from functions in
files which disabled outlining, without affecting outlining choices for
functions from other files. This matches how other optimisation flags
are handled so the IR/Bitcode can be correctly merged during LTO.
DeltaFile
+7-10clang/include/clang/Options/Options.td
+14-3clang/test/CodeGen/attr-no-outline.c
+6-5clang/lib/Driver/ToolChains/CommonArgs.cpp
+3-1clang/lib/CodeGen/CodeGenModule.cpp
+3-0clang/include/clang/Basic/CodeGenOptions.def
+1-1clang/test/Driver/aarch64-outliner.c
+34-203 files not shown
+37-239 files

LLVM/project 2aa680eclang/docs ReleaseNotes.rst, clang/test/Sema attr-nooutline.cpp attr-nooutline.c

Address Review Feedback: Flags, Release Notes
DeltaFile
+3-3clang/docs/ReleaseNotes.rst
+1-1clang/test/Sema/attr-nooutline.cpp
+1-1clang/test/Sema/attr-nooutline.c
+5-53 files

LLVM/project 3876629clang/include/clang/Basic AttrDocs.td, clang/test/CodeGen attr-no-outline.c attr-nooutline.c

Change spelling to clang::no_outline, more tests
DeltaFile
+107-0clang/test/CodeGen/attr-no-outline.c
+40-0clang/test/CodeGenObjC/attr-no-outline.m
+0-25clang/test/CodeGen/attr-nooutline.c
+0-18clang/include/clang/Basic/AttrDocs.td
+0-7clang/test/Sema/attr-nooutline.c
+0-7clang/test/Sema/attr-nooutline.cpp
+147-575 files not shown
+166-6211 files

LLVM/project 99d640dclang/docs ReleaseNotes.rst

Release Notes
DeltaFile
+3-0clang/docs/ReleaseNotes.rst
+3-01 files

LLVM/project c20d4c5clang/include/clang/Basic AttrDocs.td Attr.td, clang/test/CodeGen attr-nooutline.c

Address reviewer feedback: Tests, Docs, TableGen
DeltaFile
+30-0clang/include/clang/Basic/AttrDocs.td
+19-10clang/test/CodeGen/attr-nooutline.c
+2-2clang/include/clang/Basic/Attr.td
+51-123 files

LLVM/project 5e156d4clang/include/clang/Basic Attr.td, clang/lib/CodeGen CodeGenModule.cpp

[clang] Add clang::nooutline Attribute

This change:
- Adds a `[[clang::nooutline]]` function attribute for C and C++. There
  is no equivalent GNU syntax for this attribute, so no `__attribute__`
  syntax.
- Uses the presence of `[[clang::nooutline]]` to add the `nooutline`
  attribute to IR function definitions.
- Adds test for the above.

The `nooutline` attribute disables both the Machine Outliner (enabled at
Oz for some targets), and the IR Outliner (disabled by default).
DeltaFile
+16-0clang/test/CodeGen/attr-nooutline.c
+7-0clang/test/Sema/attr-nooutline.c
+7-0clang/test/Sema/attr-nooutline.cpp
+7-0clang/include/clang/Basic/Attr.td
+3-0clang/lib/CodeGen/CodeGenModule.cpp
+1-0clang/test/Misc/pragma-attribute-supported-attributes-list.test
+41-06 files

Linux/linux 192c015arch/powerpc/include/asm uaccess.h, arch/powerpc/net bpf_jit_comp64.c bpf_jit_comp.c

Merge tag 'powerpc-7.0-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux

Pull powerpc updates for 7.0

 - Implement masked user access

 - Add bpf support for internal only per-CPU instructions and inline the
   bpf_get_smp_processor_id() and bpf_get_current_task() functions

 - Fix pSeries MSI-X allocation failure when quota is exceeded

 - Fix recursive pci_lock_rescan_remove locking in EEH event handling

 - Support tailcalls with subprogs & BPF exceptions on 64bit

 - Extend "trusted" keys to support the PowerVM Key Wrapping Module
   (PKWM)

Thanks to Abhishek Dubey, Christophe Leroy, Gaurav Batra, Guangshuo Li,

    [26 lines not shown]
DeltaFile
+678-10arch/powerpc/platforms/pseries/plpks.c
+253-50arch/powerpc/net/bpf_jit_comp64.c
+190-0security/keys/trusted-keys/trusted_pkwm.c
+100-40arch/powerpc/include/asm/uaccess.h
+87-15arch/powerpc/net/bpf_jit_comp.c
+96-0arch/powerpc/platforms/pseries/plpks-sysfs.c
+1,404-11545 files not shown
+1,857-42151 files

LLVM/project 0d08cb0llvm/docs ReleaseNotes.md, llvm/include/llvm/IR Attributes.td

[outliners] Turn nooutline into an Enum Attribute (#163665)

This change turns the `"nooutline"` attribute into an enum attribute
called `nooutline`, and adds an auto-upgrader for bitcode to make the
same change to existing IR.

This IR attribute disables both the Machine Outliner (enabled at Oz for
some targets), and the IR Outliner (disabled by default).
DeltaFile
+10-0llvm/test/Bitcode/upgrade-nooutline.ll
+7-0llvm/lib/IR/AutoUpgrade.cpp
+2-2llvm/test/Transforms/IROutliner/nooutline-attribute.ll
+3-0llvm/include/llvm/IR/Attributes.td
+3-0llvm/docs/ReleaseNotes.md
+1-1llvm/test/CodeGen/AArch64/machine-outliner-mapper-debug-output.mir
+26-310 files not shown
+38-616 files

FreeBSD/doc d97c57ewebsite/content/en/releases/15.0R relnotes.adoc

website: fix links to man in relnotes 15.0R

Approved by: re (implicit)
PR: 281384
DeltaFile
+5-5website/content/en/releases/15.0R/relnotes.adoc
+5-51 files

Linux/linux 8ad8d24arch/parisc/kernel firmware.c processor.c, drivers/parisc iosapic.c

Merge tag 'parisc-for-7.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux

Pull parisc updates from Helge Deller:

 - Fix device reference leak in error path

 - Check if system provides a 64-bit free running platform counter

 - Minor fixes in debug code

* tag 'parisc-for-7.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux:
  parisc: lba_pci: Add debug code to show IO and PA ranges
  parisc: Detect 64-bit free running platform counter
  parisc: Fix minor printk issues in iosapic debug code
  parisc: Enhance debug code for PAT firmware
  parisc: Add PDC PAT call to get free running 64-bit counter
  parisc: Fix module path output in qemu tables
  parisc: Export model name for MPE/ix
  parisc: Prevent interrupts during reboot

    [2 lines not shown]
DeltaFile
+26-1arch/parisc/kernel/firmware.c
+13-13arch/parisc/kernel/processor.c
+12-9drivers/parisc/iosapic.c
+20-0arch/parisc/kernel/time.c
+13-0arch/parisc/kernel/inventory.c
+8-4arch/parisc/kernel/drivers.c
+92-273 files not shown
+104-299 files

FreeBSD/ports 2a99300misc/codex distinfo Makefile

misc/codex: Update to 0.98.0

Changelog:
- https://github.com/openai/codex/releases/tag/rust-v0.97.0
- https://github.com/openai/codex/releases/tag/rust-v0.98.0

Reported by:    GitHub (watch releases)
DeltaFile
+3-3misc/codex/distinfo
+1-1misc/codex/Makefile
+4-42 files

LLVM/project b02b395llvm/docs AMDGPUAsyncOperations.rst, llvm/lib/Target/AMDGPU SIISelLowering.cpp FLATInstructions.td

[AMDGPU] Asynchronous loads from global/buffer to LDS on pre-GFX12 (#180466)

The existing "LDS DMA" builtins/intrinsics copy data from global/buffer
pointer to LDS. These are now augmented with their ".async" version,
where the compiler does not automatically track completion. The
completion is now tracked using explicit mark/wait intrinsics, which
must be inserted by the user. This makes it possible to write programs
with efficient waits in software pipeline loops. The program can now
wait for only the oldest outstanding operations to finish, while
launching more operations for later use.

This change only contains the new names of the builtins/intrinsics,
which continue to behave exactly like their non-async counterparts. A
later change will implement the actual mark/wait semantics in
SIInsertWaitcnts.

This is part of a stack split out from #173259:
- #180467
- #180466

Fixes: SWDEV-521121
DeltaFile
+444-0llvm/test/CodeGen/AMDGPU/asyncmark-pregfx12.ll
+238-0llvm/docs/AMDGPUAsyncOperations.rst
+91-0llvm/test/CodeGen/AMDGPU/async-buffer-loads.ll
+38-5llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+37-0llvm/test/CodeGen/AMDGPU/llvm.amdgcn.load.to.lds.ll
+13-12llvm/lib/Target/AMDGPU/FLATInstructions.td
+861-1723 files not shown
+1,072-7529 files

FreeBSD/doc ef9b441website/archetypes/release relnotes.adoc, website/content/en/releases/13.2R relnotes.adoc

website: fix typos in relnotes and release archetypes

Approved by: re (implicit)
PR: 281384
DeltaFile
+2-2website/content/en/releases/13.2R/relnotes.adoc
+2-2website/content/en/releases/13.3R/relnotes.adoc
+1-1website/archetypes/release/relnotes.adoc
+1-1website/content/en/releases/13.5R/relnotes.adoc
+1-1website/content/en/releases/14.1R/relnotes.adoc
+1-1website/content/en/releases/14.2R/relnotes.adoc
+8-87 files not shown
+15-1513 files