LLVM/project 396d638mlir/lib/Bindings/Python IRCore.cpp IRAffine.cpp, mlir/test/mlir-tblgen op-python-bindings.td

[MLIR] [Python] More improvements to type annotations (#188468)

* `mlir.ir` now exports `_OperationBase`. It is handy to use when both
`Operation` and `OpView` are accepted.
* Added type arguments where they were missing, e.g.
`list[ir.Attribute]` instead of just `list`.
* Changed `Opview.build_generic` and `OpView.parse` to return `Self`
instead of the supertype `Type`.
* Changed the bindings generator to emit a parameterized `OpResult` when
the exact type is available.
DeltaFile
+19-8mlir/lib/Bindings/Python/IRCore.cpp
+10-7mlir/lib/Bindings/Python/IRAffine.cpp
+15-0mlir/test/mlir-tblgen/op-python-bindings.td
+4-2mlir/lib/Bindings/Python/IRAttributes.cpp
+4-0mlir/tools/mlir-tblgen/OpPythonBindingGen.cpp
+2-2mlir/lib/Bindings/Python/IRTypes.cpp
+54-191 files not shown
+55-197 files

FreeBSD/ports d70d4acgames/vms-empire distinfo Makefile, games/vms-empire/files patch-Makefile

games/vms-empire: Update to 1.19

Changelog: http://www.catb.org/~esr/vms-empire/NEWS
DeltaFile
+13-19games/vms-empire/files/patch-Makefile
+3-3games/vms-empire/distinfo
+2-2games/vms-empire/Makefile
+18-243 files

FreeBSD/ports 34a6e94games/openenroth Makefile distinfo, games/openenroth/files patch-thirdparty_CMakeLists.txt patch-thirdparty_luajit_luajit_src_lj__arch.h

games/openenroth: update OpenEnroth to the latest pre-SDL3 commit

- Unbreak the build against modern FFmpeg versions
- The code requires C++23 so remove now helpless hacks
- Follow-up commit 29a23b8db460 and replace LLD_UNSAFE
  with the more appropriate LDFLAGS_i386=-Wl,-znotext
- Add PORTSCOUT to ignore not particularly useful tag
- Shaders are now embedded in the executable itself
- Install two extra programs for developers/modders
DeltaFile
+41-44games/openenroth/Makefile
+35-13games/openenroth/distinfo
+2-20games/openenroth/pkg-plist
+19-0games/openenroth/files/patch-thirdparty_CMakeLists.txt
+0-17games/openenroth/files/patch-thirdparty_luajit_luajit_src_lj__arch.h
+11-0games/openenroth/files/patch-thirdparty_luajit-cmake_LuaJIT.cmake
+108-945 files not shown
+148-9711 files

LLVM/project b86a279llvm/lib/CodeGen Rematerializer.cpp, llvm/unittests/CodeGen RematerializerTest.cpp

[CodeGen] Fix incorrect rematerializtion order in rematerializer

When rematerializing DAGs of registers wherein multiple paths exist
between some regsters of the DAG, it is possible that the
rematerialization determines an incorrect rematerialization order that
does not ensure that a register's dependencies are rematerialized before
itself; an invariant that is otherwise required.

This fixes that using a simpler recursive logic to determine a correct
rematerialization order that honors this invariant. A minimal unit test
is added that fails on the current implementation.
DeltaFile
+20-33llvm/lib/CodeGen/Rematerializer.cpp
+38-0llvm/unittests/CodeGen/RematerializerTest.cpp
+58-332 files

LLVM/project 9c6054dcross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb llvm-support.cpp llvm-support.gdb, cross-project-tests/debuginfo-tests/llvm-prettyprinters/lldb pointer-union.test pointer-union.cpp

[lldb][ADT] Fix LLDB/GDB formatters for PointerUnion after recactoring (#188483)

In #188242, we replaced `PointerUnion`'s `PointerIntPair` storage with
`PunnedPointer<void*>`. The old formatters relied on the PIP synthetic
provider (LLDB) / `get_pointer_int_pair helper` (GDB) which no longer
work.

Instead, read raw bytes from `PunnedPointer` and compute the active tag
from template argument type alignments -- the same fixed-width encoding
the C++ implementation uses. When template arg enumeration is truncated
(e.g., function-local types in GDB), the formatters fall back to showing
a tag-stripped `void*` instead of silently misdecoding.

Alternatives that didn't work out:
- Adding a C++ helper (`getActiveMemberIdx`) callable from Python: gets
optimized out even with `__attribute__((used, noinline))`, and
expression evaluation fails for synthetic children.
- Using `isa`/`dyn_cast` checks from Python: requires expression
evaluation, which does not work for local types or synthetic children

    [2 lines not shown]
DeltaFile
+64-20llvm/utils/lldbDataFormatters.py
+57-5llvm/utils/gdb-scripts/prettyprinters.py
+21-0cross-project-tests/debuginfo-tests/llvm-prettyprinters/lldb/pointer-union.test
+11-3cross-project-tests/debuginfo-tests/llvm-prettyprinters/lldb/pointer-union.cpp
+2-2cross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.cpp
+1-1cross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.gdb
+156-316 files

FreeBSD/ports 082862cprint/freetype2 distinfo Makefile

print/freetype2: Update to 2.14.3

PR:             294004
DeltaFile
+3-3print/freetype2/distinfo
+1-1print/freetype2/Makefile
+1-1print/freetype2/pkg-plist
+5-53 files

LLVM/project 5b7cec1libclc/clc/lib/generic/async clc_prefetch.inc

libclc: Use prefetch builtin to implement default prefetch
DeltaFile
+1-1libclc/clc/lib/generic/async/clc_prefetch.inc
+1-11 files

pkgng/pkgng d6fbc78scripts/periodic 411.pkg-backup.in

pkg-backup: make the configuration configurable
DeltaFile
+13-5scripts/periodic/411.pkg-backup.in
+13-51 files

LLVM/project ca9ac0ellvm/lib/Target/AMDGPU AMDGPUSwLowerLDS.cpp, llvm/lib/Transforms/Utils EntryExitInstrumenter.cpp

[CHERI] Allow @llvm.returnaddress to return a pointer in any address space. (#188464)

Clang now constructs calls to it using the default program address space from the DataLayout.

Co-authored-by: Alex Richardson <alexrichardson at google.com>
DeltaFile
+8-9llvm/test/CodeGen/AMDGPU/amdgpu-sw-lower-lds-static-indirect-access-nested-asan.ll
+8-8llvm/test/CodeGen/AMDGPU/amdgpu-sw-lower-lds-static-indirect-access-nested.ll
+8-8llvm/test/Transforms/EntryExitInstrumenter/mcount.ll
+9-3llvm/lib/Transforms/Utils/EntryExitInstrumenter.cpp
+6-6llvm/test/Instrumentation/ThreadSanitizer/atomic-non-integer.ll
+7-4llvm/lib/Target/AMDGPU/AMDGPUSwLowerLDS.cpp
+46-3850 files not shown
+147-12856 files

pkgng/pkgng f7b2f2dscripts sign_pkg.sh

sign_pkg.sh: use the .pkg extension
DeltaFile
+1-1scripts/sign_pkg.sh
+1-11 files

LLVM/project 412912clibclc/opencl/lib/generic/atomic atomic_fetch_sub.cl atomic_fetch_add.cl

Fix formatting
DeltaFile
+9-9libclc/opencl/lib/generic/atomic/atomic_fetch_sub.cl
+9-9libclc/opencl/lib/generic/atomic/atomic_fetch_add.cl
+18-182 files

LLVM/project e76bbaalibclc/opencl/lib/generic/atomic atomic_fetch_add.cl atomic_fetch_sub.cl

Address comments
DeltaFile
+40-17libclc/opencl/lib/generic/atomic/atomic_fetch_add.cl
+40-17libclc/opencl/lib/generic/atomic/atomic_fetch_sub.cl
+80-342 files

FreeBSD/ports 8034c0fdevel/py-archinfo distinfo Makefile

devel/py-archinfo: Update 9.2.199 => 9.2.207

Commit log:
https://github.com/angr/archinfo/compare/v9.2.199...v9.2.207

PR:             294037
Reported by:    Rares Aioanei <schaiba at gmail.com> (maintainer)
Approved by:    Rares Aioanei (maintainer), vvd (mentor)
DeltaFile
+3-3devel/py-archinfo/distinfo
+1-1devel/py-archinfo/Makefile
+4-42 files

LLVM/project 6b6d157flang/include/flang/Semantics openmp-utils.h, flang/lib/Semantics openmp-utils.cpp check-omp-loop.cpp

[flang][OpenMP] Provide reasons for calculated sequence length (#187866)

If the length was limited by some factor, include the reason for what
caused the reduction.

Issue: https://github.com/llvm/llvm-project/issues/185287
DeltaFile
+34-23flang/lib/Semantics/openmp-utils.cpp
+9-7flang/lib/Semantics/check-omp-loop.cpp
+5-5flang/include/flang/Semantics/openmp-utils.h
+2-0flang/test/Semantics/OpenMP/loop-transformation-construct04.f90
+1-0flang/test/Semantics/OpenMP/loop-transformation-construct02.f90
+1-0flang/test/Semantics/OpenMP/fuse1.f90
+52-356 files

FreeBSD/ports e5d6620. UPDATING, net-mgmt/ping_exporter distinfo Makefile

net-mgmt/ping_exporter: Update to 1.2.0

Upstream release notes:
https://github.com/czerwonk/ping_exporter/releases/tag/v1.2.0

BREAKING CHANGE: The configuration file format has changed.
Refer to the above link for migration details.

Reviewed by:    arrowd
Approved by:    arrowd (ports)
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D56079
DeltaFile
+5-5net-mgmt/ping_exporter/distinfo
+8-0UPDATING
+2-2net-mgmt/ping_exporter/Makefile
+15-73 files

LLVM/project 857a405llvm/utils/gn/secondary/compiler-rt/test/builtins BUILD.gn

[gn] port a5a7f6266ef05
DeltaFile
+1-1llvm/utils/gn/secondary/compiler-rt/test/builtins/BUILD.gn
+1-11 files

LLVM/project 3527ba6mlir/include/mlir/Dialect/Arith/IR ArithOps.td, mlir/lib/Conversion/ComplexToStandard ComplexToStandard.cpp

fix
DeltaFile
+9-9mlir/lib/Dialect/Math/Transforms/ExpandOps.cpp
+8-0mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
+4-4mlir/lib/Conversion/ComplexToStandard/ComplexToStandard.cpp
+21-133 files

FreeBSD/ports 508c824graphics/tesseract Makefile

graphics/tesseract: link with libomp to fix runtime issues

PR:     294034
Submitted by:   dtxdf
DeltaFile
+2-0graphics/tesseract/Makefile
+2-01 files

FreeNAS/freenas 3c8312ddebian/debian control, src/freenas/usr/lib/systemd/system-preset 10-truenas.preset

NAS-140412 / 26.0.0-BETA.2 / remove rwd (temporarily) (by yocalebo) (#18558)

This will come back eventually but we were asked to remove this for now.

Original PR: https://github.com/truenas/middleware/pull/18555

Co-authored-by: caleb <yocalebo at gmail.com>
DeltaFile
+0-13src/middlewared/middlewared/etc_files/local/nginx/nginx.conf.mako
+0-7src/middlewared/middlewared/plugins/service_/services/ransomwared.py
+0-2src/middlewared/middlewared/plugins/service_/services/all.py
+0-1src/freenas/usr/lib/systemd/system-preset/10-truenas.preset
+0-1debian/debian/control
+0-245 files

FreeNAS/freenas ff0b673debian/debian control, src/freenas/usr/lib/systemd/system-preset 10-truenas.preset

NAS-140412 / 26.0.0-BETA.1 / remove rwd (temporarily) (by yocalebo) (#18557)

This will come back eventually but we were asked to remove this for now.

Original PR: https://github.com/truenas/middleware/pull/18555

Co-authored-by: caleb <yocalebo at gmail.com>
DeltaFile
+0-13src/middlewared/middlewared/etc_files/local/nginx/nginx.conf.mako
+0-7src/middlewared/middlewared/plugins/service_/services/ransomwared.py
+0-2src/middlewared/middlewared/plugins/service_/services/all.py
+0-1src/freenas/usr/lib/systemd/system-preset/10-truenas.preset
+0-1debian/debian/control
+0-245 files

FreeNAS/freenas 5601810debian/debian control, src/freenas/usr/lib/systemd/system-preset 10-truenas.preset

NAS-140412 / 27.0.0-BETA.1 / remove rwd (temporarily) (#18555)

This will come back eventually but we were asked to remove this for now.
DeltaFile
+0-13src/middlewared/middlewared/etc_files/local/nginx/nginx.conf.mako
+0-7src/middlewared/middlewared/plugins/service_/services/ransomwared.py
+0-2src/middlewared/middlewared/plugins/service_/services/all.py
+0-1debian/debian/control
+0-1src/freenas/usr/lib/systemd/system-preset/10-truenas.preset
+0-245 files

FreeNAS/freenas e04f179src/middlewared/middlewared/plugins/disk_ sync.py

NAS-140411 / 26.0.0-BETA.2 / fix crash in disk.sync_size_if_changed (by yocalebo) (#18556)

Found this on an internal system that has failing disks. This crashes
with ValueError since the key was present but was an empty string.

Original PR: https://github.com/truenas/middleware/pull/18554

---------

Co-authored-by: caleb <yocalebo at gmail.com>
DeltaFile
+6-1src/middlewared/middlewared/plugins/disk_/sync.py
+6-11 files

FreeNAS/freenas c0fc9b4src/middlewared/middlewared/plugins/disk_ sync.py

NAS-140411 / 27.0.0-BETA.1 / fix crash in disk.sync_size_if_changed (#18554)

Found this on an internal system that has failing disks. This crashes
with ValueError since the key was present but was an empty string.
DeltaFile
+6-1src/middlewared/middlewared/plugins/disk_/sync.py
+6-11 files

LLVM/project bbc1ce0llvm/lib/Target/SystemZ SystemZFrameLowering.cpp SystemZFrameLowering.h, llvm/test/CodeGen/SystemZ zos-prologue-epilog.ll

[SystemZ][z/OS] Make emitIncrement() a member function of SystemZFrameLowering. (#188254)

Function `emitIncrement()` uses 8 for stack alignment, but the stack
alignment for 64-bit XPLINK is 32 on z/OS.
This PR changes it to a member function of SystemZFrameLowering to get
the correct stack alignment by `getStackAlignment()`. It also adds a
test to verify it.
DeltaFile
+29-28llvm/lib/Target/SystemZ/SystemZFrameLowering.cpp
+12-0llvm/test/CodeGen/SystemZ/zos-prologue-epilog.ll
+5-0llvm/lib/Target/SystemZ/SystemZFrameLowering.h
+46-283 files

OPNSense/core d21ce06src/opnsense/mvc/app/models/OPNsense/Kea KeaDhcpv4.xml KeaDhcpv6.xml

kea: improve validation message via @monviech's suggestion
DeltaFile
+2-2src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv4.xml
+2-2src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv6.xml
+4-42 files

LLVM/project 2fc7fbellvm/test/CodeGen/X86 vector-interleaved-store-i64-stride-7.ll vector-interleaved-store-i64-stride-6.ll

Merge branch 'main' into users/kparzysz/e15-length-reason
DeltaFile
+4,978-4,984llvm/test/CodeGen/X86/vector-interleaved-store-i64-stride-7.ll
+4,590-4,623llvm/test/CodeGen/X86/vector-interleaved-store-i64-stride-6.ll
+3,850-4,310llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-8.ll
+3,562-3,632llvm/test/CodeGen/X86/vector-interleaved-load-i16-stride-8.ll
+2,430-2,474llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-7.ll
+2,034-2,026llvm/test/CodeGen/X86/clmul-vector.ll
+21,444-22,0491,116 files not shown
+59,688-43,9791,122 files

LLVM/project 314a94cflang/include/flang/Semantics openmp-utils.h, flang/lib/Semantics openmp-utils.cpp check-omp-loop.cpp

[flang][OpenMP] Provide reasons for calculated depths (#187781)

If the depth (either semantic or perfect) was limited by some factor,
include the reason for what caused the reduction.

Issue: https://github.com/llvm/llvm-project/issues/185287
DeltaFile
+68-31flang/lib/Semantics/openmp-utils.cpp
+64-0flang/test/Semantics/OpenMP/tile09.f90
+15-9flang/test/Semantics/OpenMP/do08.f90
+7-5flang/lib/Semantics/check-omp-loop.cpp
+7-2flang/test/Semantics/OpenMP/do13.f90
+2-2flang/include/flang/Semantics/openmp-utils.h
+163-496 files not shown
+175-4912 files

LLVM/project 8430b08mlir/include/mlir/Dialect/SPIRV/IR SPIRVTosaOps.td SPIRVTosaTypes.td, mlir/test/Dialect/SPIRV/IR tosa-ops-verification.mlir tosa-ops.mlir

[mlir][spirv] Add last 4 data layout ops in TOSA Ext Inst Set (#188199)

This patch introduces the following reduction operators:

spirv.Tosa.Reverse
spirv.Tosa.Slice
spirv.Tosa.Tile
spirv.Tosa.Transpose

Also dialect and serialization round-trip tests have been added.

Signed-off-by: Davide Grohmann <davide.grohmann at arm.com>
DeltaFile
+191-0mlir/include/mlir/Dialect/SPIRV/IR/SPIRVTosaOps.td
+158-0mlir/test/Target/SPIRV/tosa-ops.mlir
+97-0mlir/test/Dialect/SPIRV/IR/tosa-ops-verification.mlir
+94-0mlir/test/Dialect/SPIRV/IR/tosa-ops.mlir
+9-0mlir/include/mlir/Dialect/SPIRV/IR/SPIRVTosaTypes.td
+549-05 files

LLVM/project 2baa2cdlibc/hdr/types rsize_t.h, libc/include CMakeLists.txt stdio.yaml

[libc] Follow up on Annex K's rsize_t (#187707)

- Fix header guard name.
- Define `__STDC_WANT_LIB_EXT1__` in `hdr/types/rsize_t.h` so that the
type is available for internal use.
- In accordance to the standard, make `stdio.h`, `stdlib.h`, `string.h`,
`time.h` and `wchar.h` define the type. It should already be available
in `stddef.h` as it's provided by Clang, not LLVM libc.
DeltaFile
+11-3libc/hdr/types/rsize_t.h
+5-0libc/include/CMakeLists.txt
+1-1libc/include/llvm-libc-types/rsize_t.h
+1-0libc/include/stdio.yaml
+1-0libc/include/time.yaml
+1-0libc/include/wchar.yaml
+20-42 files not shown
+22-48 files

OPNSense/core 7933d1bsrc/opnsense/mvc/app/models/OPNsense/Kea KeaDhcpv6.xml KeaDhcpv4.xml

Services: Kea: DHCPv4/v6: Use SetConstraint for match_data to allow 0 as valid value (#10035)
DeltaFile
+1-1src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv6.xml
+1-1src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv4.xml
+2-22 files