LLVM/project aabe42e — llvm/test/CodeGen/RISCV/rvv vwsub-sdnode.ll vwadd-sdnode.ll

[RISCV] Generalize combineBinOpOfZExt to allow sext (#230472)

This combine narrows binary ops so they're performed at a smaller LMUL.
The combine currently only handles cases where both operands are zext,
but we can also allow sext.

If any operand is sexted then we need to sext the result as the sign bit
may not be zero.

We can't handle udiv + urem if either of the operands are sext, since
sign extending a narrower udiv/urem gives incorrect results. E.g. `udiv
(sext (i8 -1) to i32), (zext (i8 2) to i32)`:
    
- At i32: `udiv 0xffffffff, 2 = 0x7fffffff`
- Narrowed to i16: `sext (udiv 0xffff, 2) to i32 = sext 0x7fff to i32 =
0x00007ffff`
DeltaFile
+340-285llvm/test/CodeGen/RISCV/rvv/fixed-vectors-zvdot4a8i.ll
+396-0llvm/test/CodeGen/RISCV/rvv/binop-sext.ll
+112-144llvm/test/CodeGen/RISCV/rvv/vwmul-sdnode.ll
+93-96llvm/test/CodeGen/RISCV/rvv/zvdot4a8i-sdnode.ll
+56-72llvm/test/CodeGen/RISCV/rvv/vwsub-sdnode.ll
+56-72llvm/test/CodeGen/RISCV/rvv/vwadd-sdnode.ll
+1,053-6698 files not shown
+1,148-76014 files

NetBSD/pkgsrc-wip 24a01a9 — . TODO

TODO: + py-pyside6-6.12.0.
DeltaFile
+1-0TODO
+1-01 files

LLVM/project d4a8fb3 — llvm/include/llvm/Analysis IVDescriptors.h, llvm/lib/Transforms/Vectorize LoopVectorizationPlanner.cpp LoopVectorize.cpp

[LV] Improve code around inductions, reductions (NFC) (#230476)

Use DenseMap::{keys,values} to improve code around getInductionVars,
getReductionVars.
DeltaFile
+22-21llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
+6-14llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+3-2llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.cpp
+1-1llvm/include/llvm/Analysis/IVDescriptors.h
+32-384 files

HardenedBSD/ports ba5beef — devel/py-llvmlite Makefile distinfo

devel/py-llvmlite: Update to 0.50.0

Release notes: https://llvmlite.readthedocs.io/en/v0.50.0/release-notes.html
DeltaFile
+3-3devel/py-llvmlite/distinfo
+1-1devel/py-llvmlite/Makefile
+4-42 files

FreeBSD/ports ba5beef — devel/py-llvmlite Makefile distinfo

devel/py-llvmlite: Update to 0.50.0

Release notes: https://llvmlite.readthedocs.io/en/v0.50.0/release-notes.html
DeltaFile
+3-3devel/py-llvmlite/distinfo
+1-1devel/py-llvmlite/Makefile
+4-42 files

FreeBSD/ports 3b123b9 — devel/py-numba Makefile distinfo

devel/py-numba: Update to 0.68.0

Release notes: https://github.com/numba/numba/releases/tag/0.68.0
DeltaFile
+3-3devel/py-numba/distinfo
+1-1devel/py-numba/Makefile
+4-42 files

HardenedBSD/ports 3b123b9 — devel/py-numba Makefile distinfo

devel/py-numba: Update to 0.68.0

Release notes: https://github.com/numba/numba/releases/tag/0.68.0
DeltaFile
+3-3devel/py-numba/distinfo
+1-1devel/py-numba/Makefile
+4-42 files

LLVM/project 1be9bdf — llvm/test/MC/RISCV option-invalid.s option-arch.s

[RISC-V][MC] Add test for C/Zce implication in .option arch (#230298)

Add MC test coverage for 80f1acc631ca
(https://github.com/llvm/llvm-project/pull/229905). Previously, with
`rv32i` running `.option arch, +zca; .option arch, -zca` resulted in
`error: can't disable zca extension; c extension requires zca extension`,
`.option arch, +zca, +zcb, +zcmp, +zcmt; .option arch, -zcmt` resulted
in `error: can't disable zcmt extension; zce extension requires zcmt extension`,
and `.option arch, +zca, +zclsd; .option arch, +f` resulted in
`error: 'zclsd' and 'zcf' extensions are incompatible`.

This commit was created with the help of AI tools

Pull-Request: https://github.com/llvm/llvm-project/pull/230298
DeltaFile
+25-0llvm/test/MC/RISCV/option-arch.s
+14-0llvm/test/MC/RISCV/option-invalid.s
+39-02 files

FreeBSD/ports 060ade2 — devel/hs-hspec-discover Makefile distinfo

devel/hs-hspec-discover: Update 2.11.17 => 2.11.18
DeltaFile
+3-3devel/hs-hspec-discover/distinfo
+1-1devel/hs-hspec-discover/Makefile
+4-42 files

HardenedBSD/ports 060ade2 — devel/hs-hspec-discover Makefile distinfo

devel/hs-hspec-discover: Update 2.11.17 => 2.11.18
DeltaFile
+3-3devel/hs-hspec-discover/distinfo
+1-1devel/hs-hspec-discover/Makefile
+4-42 files

LLVM/project 2508609 — llvm/lib/CodeGen/SelectionDAG LegalizeTypes.h SelectionDAG.cpp

Canonicalize in getNode
DeltaFile
+0-9llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
+6-0llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+0-1llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
+6-103 files

LLVM/project 64bcef5 — flang/docs F202X.md Extensions.md, flang/lib/Evaluate intrinsics.cpp

[flang] Classify intrinsic functions as SIMPLE (#223160)

Classify standard intrinsic functions as `SIMPLE` per Fortran 2023 16.1(2).

This change also:
- Classifies extensions as `SIMPLE` where applicable
- Documents the `SIMPLE` and non-`SIMPLE` classifications of extensions
in Extensions.md
- Updates procedure-interface tests affected by the new `SIMPLE`
classification
- Updates F202X.md to reflect the current `SIMPLE` implementation status

Part of the `SIMPLE` procedure support tracked in #221457.
DeltaFile
+47-0flang/test/Semantics/simple-intrinsic-functions.f90
+19-3flang/lib/Evaluate/intrinsics.cpp
+11-0flang/test/Semantics/null-mold-pure-simple.f90
+8-2flang/docs/F202X.md
+10-0flang/docs/Extensions.md
+4-4flang/test/Semantics/intrinsics03.f90
+99-93 files not shown
+111-149 files

HardenedBSD/ports 0abb606 — sysutils Makefile, sysutils/clout pkg-descr distinfo

sysutils/clout: new port

clout is a small Unix utility that colorizes command standard error
output. It executes a command, captures its standard error, and
writes it to the terminal using a selected ANSI color.

Co-authored-by: Michael Osipov <michaelo at FreeBSD.org>
PR:             298486
DeltaFile
+23-0sysutils/clout/Makefile
+3-0sysutils/clout/pkg-descr
+3-0sysutils/clout/distinfo
+1-0sysutils/Makefile
+30-04 files

FreeBSD/ports 0abb606 — sysutils Makefile, sysutils/clout distinfo pkg-descr

sysutils/clout: new port

clout is a small Unix utility that colorizes command standard error
output. It executes a command, captures its standard error, and
writes it to the terminal using a selected ANSI color.

Co-authored-by: Michael Osipov <michaelo at FreeBSD.org>
PR:             298486
DeltaFile
+23-0sysutils/clout/Makefile
+3-0sysutils/clout/distinfo
+3-0sysutils/clout/pkg-descr
+1-0sysutils/Makefile
+30-04 files

OPNSense/core ea4f01f — src/opnsense/mvc/app/models/OPNsense/Auth/FieldTypes UidField.php

Revert "mvc: UidField: allow reuse of UID 0 for system scope users"

This reverts commit 649bcb2186ac820c5b50669dee6e8654ab1a3e9d.
There is a bug in the old and new behaviour, but without a proper
test case this will not fix easily.  stable/26.7 doesn't use this
yet so it's sane to hotfix.

PR: https://github.com/opnsense/core/issues/10992
(cherry picked from commit 7bbd7a3c4a3d8a91a0c18b2ea203e00c9bc891c5)
DeltaFile
+6-11src/opnsense/mvc/app/models/OPNsense/Auth/FieldTypes/UidField.php
+6-111 files

HardenedBSD/ports b2eb4db — mail/nmh-devel Makefile distinfo

mail/nmh-devel: Update to latest GH commit

Update to the latest nmh commit on savannah, proxied through my
GH account.
DeltaFile
+3-3mail/nmh-devel/distinfo
+1-2mail/nmh-devel/Makefile
+4-52 files

FreeBSD/ports b2eb4db — mail/nmh-devel Makefile distinfo

mail/nmh-devel: Update to latest GH commit

Update to the latest nmh commit on savannah, proxied through my
GH account.
DeltaFile
+3-3mail/nmh-devel/distinfo
+1-2mail/nmh-devel/Makefile
+4-52 files

HardenedBSD/ports 2762a26 — sysutils/screen-devel Makefile distinfo

sysutils/screen-devel: Update to latest GH commit

Update to the latest screen commit on savannah, proxied through my
GH account.
DeltaFile
+3-3sysutils/screen-devel/distinfo
+2-3sysutils/screen-devel/Makefile
+5-62 files

FreeBSD/ports 2762a26 — sysutils/screen-devel Makefile distinfo

sysutils/screen-devel: Update to latest GH commit

Update to the latest screen commit on savannah, proxied through my
GH account.
DeltaFile
+3-3sysutils/screen-devel/distinfo
+2-3sysutils/screen-devel/Makefile
+5-62 files

OPNSense/core 5b0605a — src/opnsense/mvc/app/models/OPNsense/Interfaces NetworkInterface.php

interafces: PPP type validation fixes for new assignments

(cherry picked from commit abc4c69ce894c07f432d77f3a368662610f487be)
(cherry picked from commit c29bf7f70ae37b9a418a6f6e034dadbd5d12fb81)
(cherry picked from commit 2c04169a64b6014807d0480776180e8e065d7921)
DeltaFile
+4-9src/opnsense/mvc/app/models/OPNsense/Interfaces/NetworkInterface.php
+4-91 files

LLVM/project 05b62b2 — lldb/docs/resources dil.md

[LLDB] Add user documentation for DIL. (#228275)

Add documentation for users (and programmers) about what DIL is, what it
does, and how it can be controlled.
DeltaFile
+330-0lldb/docs/resources/dil.md
+330-01 files

LLVM/project 0b84e68 — llvm/lib/Support UnicodeNameToCodepointGenerated.cpp, llvm/test/CodeGen/AMDGPU fcmp.f16.ll load-global-i16.ll

Merge remote-tracking branch 'origin/main' into vplan-based-stride-mv-rt-guard

# Conflicts:
#       llvm/test/Transforms/LoopVectorize/vplan-based-stride-mv.ll
DeltaFile
+23,347-23,371llvm/lib/Support/UnicodeNameToCodepointGenerated.cpp
+5,287-5,656llvm/test/CodeGen/AMDGPU/load-global-i8.ll
+2,827-5,340llvm/test/CodeGen/AMDGPU/fptrunc.f16.ll
+3,366-3,401llvm/test/CodeGen/AMDGPU/load-global-i16.ll
+3,103-3,156llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-private.mir
+1,450-4,799llvm/test/CodeGen/AMDGPU/fcmp.f16.ll
+39,380-45,7234,358 files not shown
+312,379-142,4594,364 files

OPNSense/core 7bbd7a3 — src/opnsense/mvc/app/models/OPNsense/Auth/FieldTypes UidField.php

Revert "mvc: UidField: allow reuse of UID 0 for system scope users"

This reverts commit 649bcb2186ac820c5b50669dee6e8654ab1a3e9d.
There is a bug in the old and new behaviour, but without a proper
test case this will not fix easily.  stable/26.7 doesn't use this
yet so it's sane to hotfix.

PR: https://github.com/opnsense/core/issues/10992
DeltaFile
+6-11src/opnsense/mvc/app/models/OPNsense/Auth/FieldTypes/UidField.php
+6-111 files

FreeBSD/ports 9b6c35f — games/traingame Makefile

games/traingame: Mark deprecated

(cherry picked from commit ae41f5796934ca0396f7b5cb5350b7f3ea0eb45e)
DeltaFile
+4-1games/traingame/Makefile
+4-11 files

HardenedBSD/ports ae41f57 — games/traingame Makefile

games/traingame: Mark deprecated
DeltaFile
+4-1games/traingame/Makefile
+4-11 files

FreeBSD/ports ae41f57 — games/traingame Makefile

games/traingame: Mark deprecated
DeltaFile
+4-1games/traingame/Makefile
+4-11 files

LLVM/project 1b63043 — compiler-rt/lib/asan asan_rtl.cpp asan_mapping.h

[ASan][Darwin] Support gapless shadow layout for iOS 27.0 (#217530)

This is the second PR in a series that upstreams support for iOS 27.0
(see #217527 for the first).

When the shadow can be placed entirely above app memory (as on iOS 27),
there is no need to split shadow into low/high halves with a middle gap.
This PR adopts a "gapless" layout in ASAN, in which all of application
memory is in `[kLowMemBeg, kLowMemEnd]` and shadow is `[kLowShadowBeg,
kLowShadowEnd]`. The "high" region is unnecessary and thus unused
(because of the way it is defined, `kHighMemBeg > kHighMemEnd` in this
new layout, which conveniently means that `AddrIsInHighMem(p)` is always
false) -- this is a bit jank and unintuitive, but it keeps the diff
between iOS and other platforms relatively small.

- Add kGaplessShadow (Darwin-only) to detect this configuration.
- Teach `InitializeShadowMemory` to reserve one contiguous shadow region
and protect only the shadow-of-shadow when kGaplessShadow is true
- Update PrintAddressSpaceLayout to print the single-region layout.

rdar://167657399
DeltaFile
+39-1compiler-rt/lib/asan/asan_shadow_setup.cpp
+9-0compiler-rt/lib/asan/asan_mapping.h
+1-0compiler-rt/lib/asan/asan_rtl.cpp
+49-13 files

LLVM/project 8071090 — compiler-rt/lib/sanitizer_common sanitizer_common.h sanitizer_platform.h, compiler-rt/test/asan/TestCases/Darwin sandbox-vm-region-recurse.cpp

[sanitizer_common][Darwin] Add debug memory region support for iOS 27.0 (#217527)

Replaces #216885 (but not from a fork so I can use stacked PRs)

iOS 27.0 bumps the address space from 36 to 39 bits on some devices, and
reserves address space for sanitizer shadow memory which is unavailable
to normal applications. This is the first of a series of PRs which
upstreams support for this configuration.

- Add `SANITIZER_IOSDEVICE` and `SANITIZER_EMBEDDED_VM_LAYOUT` macros
for physical devices / devices that support the 39-bit layout; bump
Darwin iOS/ARM64 `SANITIZER_MMAP_RANGE_SIZE` from 36 to 39 bits on
physical devices.
- Add `ActivateDebugMemory` / `DebugMemoryActive` and tag mmap
allocations above `DARWIN_DEBUG_MEMORY_START` with `VM_MEMORY_DEBUG`
when using the debug range; verify returned addresses fall within the
expected range.
- Replace `GetAppReservedRanges` with `GetAppRanges`, populated from
sysctls (on supported devices) which report what ranges are available to

    [11 lines not shown]
DeltaFile
+333-68compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp
+15-15compiler-rt/lib/sanitizer_common/sanitizer_win.cpp
+19-1compiler-rt/lib/sanitizer_common/sanitizer_mac.h
+6-2compiler-rt/lib/sanitizer_common/sanitizer_platform.h
+0-4compiler-rt/lib/sanitizer_common/sanitizer_common.h
+1-1compiler-rt/test/asan/TestCases/Darwin/sandbox-vm-region-recurse.cpp
+374-916 files

FreeBSD/ports 5f51718 — emulators/tpm-emulator/files patch-CMakeLists.txt

emulators/tpm-emulator: Fix building with CMake 4

Approved by:    portmgr (fixit blanket)
DeltaFile
+10-1emulators/tpm-emulator/files/patch-CMakeLists.txt
+10-11 files

HardenedBSD/ports 5f51718 — emulators/tpm-emulator/files patch-CMakeLists.txt

emulators/tpm-emulator: Fix building with CMake 4

Approved by:    portmgr (fixit blanket)
DeltaFile
+10-1emulators/tpm-emulator/files/patch-CMakeLists.txt
+10-11 files