LLVM/project 7e1696fclang/lib/AST/ByteCode InterpFrame.cpp

[clang][bytecode][NFC] Use a ListSeparator to print backtraces (#177148)

DeltaFile
+2-2clang/lib/AST/ByteCode/InterpFrame.cpp
+2-21 files

LLVM/project 77e08b4clang Maintainers.rst

Replace Erich Keane as Attributes maintainer (#177005)

During the Clang maintainers list refresh, Erich mentioned he would like
me to resume ownership of Clang attributes due to time constraints.
He'll continue to help out as he can but this frees him up for other
efforts. Thank you for your help in this role!
DeltaFile
+2-2clang/Maintainers.rst
+2-21 files

LLVM/project 2719056clang/include/clang/Analysis/Scalable/TUSummary ExtractorRegistry.h, clang/lib/Analysis/Scalable/TUSummary ExtractorRegistry.cpp

[clang][ssaf] Fix instantiations of `Registry<TUSummaryExtractor, TUSummaryBuilder &>` (#176730)

This patch fixes the incorrect explicit instantiation
declaration/definition added in #173290, and adds checks to prevent
similar errors.

MinGW/Cygwin with `-DCLANG_LINK_CLANG_DYLIB=ON` require proper
declarations of the template instantiations to share data symbols across
DLL boundaries.
DeltaFile
+18-0llvm/include/llvm/Support/Registry.h
+4-1clang/lib/Analysis/Scalable/TUSummary/ExtractorRegistry.cpp
+1-1clang/include/clang/Analysis/Scalable/TUSummary/ExtractorRegistry.h
+23-23 files

LLVM/project d82cdb5flang/lib/Optimizer/OpenMP FunctionFiltering.cpp

Formatting
DeltaFile
+2-2flang/lib/Optimizer/OpenMP/FunctionFiltering.cpp
+2-21 files

LLVM/project b184f92mlir/test/Target/LLVMIR omptarget-declare-target-to-device.mlir

Update target device test
DeltaFile
+7-11mlir/test/Target/LLVMIR/omptarget-declare-target-to-device.mlir
+7-111 files

LLVM/project 6bd883bflang/test/Integration/OpenMP target-use-device-nested.f90, llvm/lib/Frontend/OpenMP OMPIRBuilder.cpp

Make omp.target[_{enter,exit}]_data and omp.target_update host-only ops
DeltaFile
+46-0flang/test/Integration/OpenMP/target-use-device-nested.f90
+0-46mlir/test/Target/LLVMIR/openmp-target-use-device-nested.mlir
+10-24mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+0-21llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
+0-11llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+56-1025 files

LLVM/project 85c0b56flang/test/Integration/OpenMP target-nesting-in-host-ops.f90, mlir/lib/Target/LLVMIR/Dialect/OpenMP OpenMPToLLVMIRTranslation.cpp

[MLIR][OpenMP] Simplify OpenMP device codegen

After removing host operations from the device MLIR module, it is no longer
necessary to provide special codegen logic to prevent these operations from
causing compiler crashes or miscompilations.

This patch removes these now unnecessary code paths to simplify codegen logic.
Some MLIR tests are now replaced with Flang tests, since the responsibility of
dealing with host operations has been moved earlier in the compilation flow.

MLIR tests holding target device modules are updated to no longer include now
unsupported host operations.
DeltaFile
+159-267mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+0-160mlir/test/Target/LLVMIR/openmp-target-nesting-in-host-ops.mlir
+87-0flang/test/Integration/OpenMP/target-nesting-in-host-ops.f90
+24-37mlir/test/Target/LLVMIR/omptarget-memcpy-align-metadata.mlir
+45-0mlir/test/Target/LLVMIR/openmp-llvm-invalid.mlir
+0-43mlir/test/Target/LLVMIR/omptarget-target-inside-task.mlir
+315-5077 files not shown
+424-61213 files

FreeBSD/src fab0a83sys/netinet ip_output.c

tcp: fix checksum calculation bug

The new function in_delayed_cksum_o() was introduced to compute
the checksum in the case the mbuf chain does not start with the
IP header. The offset of the IP header is specified by the
parameter iph_offset.
If iph_offset was positive, the function computed an incorrect
checksum.

Reviewed by:            sobomax, tuexen
Fixes:                  5feb38e37847 ("netinet: provide "at offset" variant of the in_delayed_cksum() API")
Differential Revision:  https://reviews.freebsd.org/D54269

(cherry picked from commit c8b3b605ae854ead6c8804e0400d80cb8fa73fdf)
DeltaFile
+2-2sys/netinet/ip_output.c
+2-21 files

LLVM/project d77950cflang/lib/Optimizer/OpenMP FunctionFiltering.cpp

Replace deprecated build methods
DeltaFile
+19-19flang/lib/Optimizer/OpenMP/FunctionFiltering.cpp
+19-191 files

LLVM/project c52fc33flang/lib/Optimizer/OpenMP FunctionFiltering.cpp, flang/test/Transforms/OpenMP function-filtering-host-ops.mlir

Remove omp.target[_{enter,exit}]_data and omp.targt_update operations from target device modules
DeltaFile
+125-228flang/lib/Optimizer/OpenMP/FunctionFiltering.cpp
+41-60flang/test/Transforms/OpenMP/function-filtering-host-ops.mlir
+166-2882 files

LLVM/project d55844eflang/lib/Optimizer/OpenMP FunctionFiltering.cpp, flang/test/Lower/OpenMP host-eval.f90 declare-target-link-tarop-cap.f90

[Flang][OpenMP] Minimize host ops remaining in device compilation

This patch updates the function filtering OpenMP pass intended to remove host
functions from the MLIR module created by Flang lowering when targeting an
OpenMP target device.

Host functions holding target regions must be kept, so that the target regions
within them can be translated for the device. The issue is that non-target
operations inside these functions cannot be discarded because some of them hold
information that is also relevant during target device codegen. Specifically,
mapping information resides outside of `omp.target` regions.

This patch updates the previous behavior where all host operations were
preserved to then ignore all of those that are not actually needed by target
device codegen. This, in practice, means only keeping target regions and mapping
information needed by the device. Arguments for some of these remaining
operations are replaced by placeholder allocations and `fir.undefined`, since
they are only actually defined inside of the target regions themselves.


    [3 lines not shown]
DeltaFile
+498-0flang/test/Transforms/OpenMP/function-filtering-host-ops.mlir
+449-1flang/lib/Optimizer/OpenMP/FunctionFiltering.cpp
+0-137flang/test/Transforms/omp-function-filtering.mlir
+137-0flang/test/Transforms/OpenMP/function-filtering.mlir
+37-18flang/test/Lower/OpenMP/host-eval.f90
+10-9flang/test/Lower/OpenMP/declare-target-link-tarop-cap.f90
+1,131-1652 files not shown
+1,134-1708 files

FreeBSD/src c1b29bcsys/dev/virtio/network if_vtnet.c

vtnet: improve consistency

Use sbuf_new_for_sysctl() instead of sbuf_new_auto() when exposing
the flags via sysctl.

(cherry picked from commit 8da838ac31692e381adfc63d83ea49f2adabbf23)
DeltaFile
+6-8sys/dev/virtio/network/if_vtnet.c
+6-81 files

FreeBSD/src 9d246c6share/man/man4 vtnet.4, sys/dev/virtio/network if_vtnet.c virtio_net.h

vtnet: expose features via sysctl tree

Right now the 64-bit flags field needs to be casted to a 32-bit field,
because clang warns if more than 32-bits are used.
Once clang is fixed, this restriction will be removed and more bits
will be added.

Reviewed by:            markj, Timo Völker
Differential Revision:  https://reviews.freebsd.org/D54288

(cherry picked from commit 634d9c0d111b630c3d63a1cf25d15c32a37afab8)
DeltaFile
+18-0sys/dev/virtio/network/if_vtnet.c
+8-0sys/dev/virtio/network/virtio_net.h
+3-1share/man/man4/vtnet.4
+29-13 files

LLVM/project c37c1f7flang/lib/Semantics check-omp-loop.cpp check-omp-structure.cpp

[flang][OpenMP] Move check for ORDERED to check-omp-loop.cpp, NFC (#177054)

DeltaFile
+16-0flang/lib/Semantics/check-omp-loop.cpp
+0-15flang/lib/Semantics/check-omp-structure.cpp
+16-152 files

FreeBSD/src 39140d9share/man/man9 printf.9, sys/kern subr_prf.c

printf.9: Support more than 32 bits in %b

This will be usable after clang has been extended to accept length
modifiers for %b when compiling kernel code.
But we need FreeBSD to support it first...

Reviewed by:            markj, Timo Völker
Differential Revision:  https://reviews.freebsd.org/D54286

(cherry picked from commit d2cb9cab8457b2a84898f0ac86f7b45e907f872c)
DeltaFile
+31-9sys/kern/subr_prf.c
+18-7share/man/man9/printf.9
+49-162 files

FreeNAS/freenas 696497dsrc/middlewared/middlewared/plugins network.py, src/middlewared/middlewared/plugins/interface configure.py lag.py

NAS-139406 / 26.04 / fix imports for truenas_pynetif (#18074)

Please cf. https://github.com/truenas/truenas_pynetif/pull/6 for
details.
DeltaFile
+48-41src/middlewared/middlewared/plugins/network.py
+35-46src/middlewared/middlewared/pytest/unit/plugins/test_interface_ip_in_use.py
+24-20src/middlewared/middlewared/plugins/network_/route.py
+15-11src/middlewared/middlewared/plugins/interface/configure.py
+8-7src/middlewared/middlewared/plugins/interface/lag.py
+8-7src/middlewared/middlewared/plugins/interface/bridge.py
+138-1327 files not shown
+163-15313 files

FreeBSD/src 1923671share/man/man9 printf.9

printf.9: fix style

Follow the style described by style.9.

Reported by:    markj

(cherry picked from commit 391e8709315d4a0e8f5ba91912e370571ab6841b)
DeltaFile
+1-2share/man/man9/printf.9
+1-21 files

LLVM/project 069250cmlir/test/Target/LLVMIR omptarget-declare-target-to-device.mlir

Update target device test
DeltaFile
+7-11mlir/test/Target/LLVMIR/omptarget-declare-target-to-device.mlir
+7-111 files

FreeBSD/src 0249458share/man/man4 vtnet.4

vtnet.4: put each sentence on its own line

Reported by:    ziaee
Fixes:          e3a0571ad74d ("vtnet: expose flags via sysctl tree")

(cherry picked from commit f6e183301851e3e826d53a29e76cfc9bc7626477)
DeltaFile
+2-1share/man/man4/vtnet.4
+2-11 files

FreeBSD/src 58e5923share/man/man4 vtnet.4, sys/dev/virtio/network if_vtnet.c if_vtnetvar.h

vtnet: expose flags via sysctl tree

Provide the flags used for a vtnet interface via the sysctl tree.
This is mostly used for debugging purposes.

Reviewed by:            Timo Völker
Differential Revision:  https://reviews.freebsd.org/D54283

(cherry picked from commit e3a0571ad74d8429a95fcae9efc1d91cc109a337)
DeltaFile
+20-0sys/dev/virtio/network/if_vtnet.c
+5-0sys/dev/virtio/network/if_vtnetvar.h
+3-1share/man/man4/vtnet.4
+28-13 files

FreeBSD/src 21f6087sys/dev/virtio/network virtio_net.h

vtnet: define flags in a consistent way

This allows adding flags in the upper 32 bits in a consistent way.
No functional change intended.

(cherry picked from commit e0c6c4ecfc755b78ac9135033053d2f15c62bf04)
DeltaFile
+23-23sys/dev/virtio/network/virtio_net.h
+23-231 files

LLVM/project a97ee96lldb/source/Interpreter CommandInterpreter.cpp, lldb/test/API/functionalities/plugins/command_plugin TestPluginCommands.py

[lldb] Check multiword command in `UserCommandExists` (#176998)

User created multiword command is not reported when querying
`SBCommandInterpreter::UserCommandExists`
DeltaFile
+3-1lldb/test/API/functionalities/plugins/command_plugin/TestPluginCommands.py
+2-1lldb/source/Interpreter/CommandInterpreter.cpp
+5-22 files

LLVM/project ab4f66dflang/lib/Lower/Support ReductionProcessor.cpp, flang/lib/Optimizer/OpenMP FunctionFiltering.cpp

[OpenMP][flang] Move `todo` for checking reduction support status on the GPU (#175172)

Moves a `todo` to check for the current level of support for by-ref
reductions to the `FunctionFiltering` pass. This guarantees that the
check does not trigger when the same module is compiled twice: on the
CPU and on the GPU.
DeltaFile
+39-0flang/lib/Optimizer/OpenMP/FunctionFiltering.cpp
+33-0flang/test/Transforms/omp-function-filtering-todo.mlir
+0-20flang/lib/Lower/Support/ReductionProcessor.cpp
+72-203 files

FreeNAS/freenas 67f8931src/middlewared/middlewared/plugins network.py, src/middlewared/middlewared/plugins/interface configure.py bridge.py

fix imports for truenas_pynetif
DeltaFile
+48-41src/middlewared/middlewared/plugins/network.py
+35-46src/middlewared/middlewared/pytest/unit/plugins/test_interface_ip_in_use.py
+24-20src/middlewared/middlewared/plugins/network_/route.py
+15-11src/middlewared/middlewared/plugins/interface/configure.py
+8-7src/middlewared/middlewared/plugins/interface/bridge.py
+8-7src/middlewared/middlewared/plugins/interface/lag.py
+138-1327 files not shown
+163-15313 files

GhostBSD/networkmgr ccd165b. setup.py, src link-up.py auto-switch.py

Improve devd scripts and bump version to 6.8

- Replace Popen with subprocess.run() for cleaner code and better resource handling across all devd scripts
- Use proper raw string prefix (r"") for regex patterns
- Remove deprecated close_fds parameter (default True in Python 3)
- Change devd priority from 100 to 5 for faster event handling

auto-switch.py:
- Create marker file /tmp/link-down-{nic} for coordination with link-up.py
- Replace os.system() calls with subprocess.run()

link-up.py:
- Simplify logic using marker file from auto-switch.py
- Remove complex /tmp/network-{nic} state tracking
- Use explicit service calls instead of shell command strings

setup-nic.py:
- Use sysrc command instead of manual rc.conf file writing
- Fix wlan configuration logic to check wlans_{nic} only once
- Use appropriate pccard_ether action (startchildren for WiFi, start forEthernet)
DeltaFile
+17-39src/link-up.py
+21-23src/auto-switch.py
+12-14src/setup-nic.py
+4-4src/networkmgr.conf
+1-1setup.py
+55-815 files

FreeBSD/ports b27a2fdMk/Scripts qa.sh

Mk/Scripts: add /usr/libexec/flua to shebangs

Allow scripts to use /usr/libexec/flua from base

Without this, such scripts are told:

Error: '/usr/libexec/flua' is an invalid shebang you need
USES=shebangfix for 'foo'

PR:             292553
DeltaFile
+1-0Mk/Scripts/qa.sh
+1-01 files

NetBSD/src N7tPvLEexternal/gpl3/gcc/usr.bin/gfortran Makefile

   fix SSP build
VersionDeltaFile
1.3+3-1external/gpl3/gcc/usr.bin/gfortran/Makefile
+3-11 files

OPNSense/tools f4585b0config/26.1 extras.conf

config: if started from a zfs build machine the loader.conf is wrong
DeltaFile
+1-0config/26.1/extras.conf
+1-01 files

LLVM/project cd5facallvm/lib/Transforms/Utils LoopPeel.cpp, llvm/test/Transforms/LoopUnroll peel-last-iteration-load-widening.ll peel-last-iteration-load-widening-be.ll

Address comments 1
DeltaFile
+1,694-0llvm/test/Transforms/LoopUnroll/AArch64/peel-last-iteration-load-widening.ll
+0-616llvm/test/Transforms/LoopUnroll/peel-last-iteration-load-widening.ll
+117-79llvm/lib/Transforms/Utils/LoopPeel.cpp
+0-104llvm/test/Transforms/LoopUnroll/peel-last-iteration-load-widening-be.ll
+67-0llvm/test/Transforms/LoopUnroll/PowerPC/peel-last-iteration-load-widening-be.ll
+56-0llvm/test/Transforms/LoopUnroll/AArch64/peel-last-iteration-load-widening-disabled.ll
+1,934-7994 files not shown
+1,947-80910 files

LLVM/project 763f001flang/lib/Optimizer/OpenMP FunctionFiltering.cpp

review comments
DeltaFile
+9-1flang/lib/Optimizer/OpenMP/FunctionFiltering.cpp
+9-11 files