[InstCombine] Fold and (or (shr (sub C, X), ShAmt), X), C --> umin(X, C) (#212798)
This pattern was seen in some downstream workloads.
https://alive2.llvm.org/ce/z/LMC5yn
Assisted-by: claude
[AMDGPU][GlobalISel] Fix immediate offset overflow when splitting s.buffer.load
When we're splitting a very large (>128 bit) s.buffer.load into
128-bit buffer loads, we add offsets to each split load. Currently,
when dealing with ptr.s.buffer.load, the code wouldn't subtract enough
from the immediate offset, so that when we added that +128 or +256,
we'd overflow the 12-bit immediate, causing silent overflow.
This commit fixes the issue by correctly calling the offset
splitter with a "alignment" that ensures that all those intermediate
loads don't overflow.
This matches the behavior in SDag and RegisterBankInfo.
Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
[AMDGPU][GlobalISel] Pre-commit tests for split s.buffer.load offset overflow (#240931)
Add divergent-offset ptr.s.buffer.load tests where the 256- and 512-bit
loads are split into 128-bit pieces at an offset of 4092, causing
overflow on the immediate field.
AI disclosure: Claude-generated tests
---------
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
[NFC] Drop leading dot from getUniqueModuleId (#241147)
Return the bare hash and let callers add their own separator. This
removes the need to strip the dot in callers such as promoteInternals
and the PowerPC AIX sinit/sterm naming. Generated names are unchanged.
Follow-up to review feedback on #240699.
Assisted-by: Gemini
CodeGen: Use RuntimeLibcallsInfo for memset_pattern16
CodeGen passes shouldn't be using TargetLibraryInfo for functions they
will emit. Use RuntimeLibcallsInfo which knows how to insert the
correctly typed and annotated declaration.
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
[AMDGPU] Make the reserved WWM VGPR tests exercise their scenario again
Since #206739, rewrite-vgpr-mfma-to-agpr-reserved-wwm-vgpr.ll has no SGPR
spill lanes and no VGPR spill slot, so it no longer checks that
AMDGPURewriteAGPRCopyMFMA keeps away from the reserved WWM VGPR.
Force the scenario with inline asm clobbers and pinned register budgets, and
add a MIR test running only the passes involved, with greedy and basic.
Hand-written checks on their own prefixes, which the update scripts leave
alone, fail if the scenario is lost.
Both tests fail, with and without assertions, if the allocators stop updating
the shared RegisterClassInfo (#226523); the old input did not.
Fixes #236809.
Assisted-by: Claude Opus 5.5
[mlir][VectorToLLVM] Skip poison indices in vector.shuffle lowering (#241078)
When a shuffle cannot be mapped to a single `llvm.shufflevector` (N-D,
or 1-D with different lengths), `VectorShuffleOpConversion` extracts and
inserts one element per mask entry, using the entry as the extract
position. For N-D shuffles, a poison index (`-1`) therefore became
`llvm.extractvalue %v[-1]`, which fails verification.
The result is initialized with `llvm.mlir.poison`, so skipping poison
indices leaves the corresponding elements poison.
Fixes #239738
[flang] Set alignment for local EQUIVALENCE block (#240895)
A local EQUIVALENCE is lowered as an byte array, `fir.alloca
!fir.array<Nxi8>`, so the allocation is created with i8's alignment, and
nothing records what the members actually require.
Consider the example below:
```fortran
program main
real(8) :: d(1)
real :: r(3)
equivalence (d(1), r(1)) ! d expects an alignment of 8
d(1) = 1.0d0
if (mod(loc(d), 8) /= 0) print *, 'FAIL misaligned, loc mod 8 = ', mod(loc(d), 8)
end program main
```
[31 lines not shown]
sysutils/proc-cli: update to 2.4.0
Changes since 2.3.0:
- daemons like sshd are named after their program, not their title
- with security.curtain=1, a port proc can't see is never called free
- a name that matches the shell proc runs in is said, not skipped
- ports says when other users' ports are hidden from it
- for leaves proc itself out
Full list: https://github.com/yazeed/proc-cli/blob/v2.4.0/CHANGELOG.md
[ Maintainer update from PR pkg/60994 ]
CodeGen: Require TargetMachine in PreISelIntrinsicLowering (#241383)
It's not reasonable for the TargetMachine to be optional in a core
codegen pass, and several paths unconditionally used it. Move the
tests which ran the pass without a target into the X86 directory.
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
security/vuxml: Complete the immich entry
The entry listed six of the sixteen advisories that close with 3.4.0.
Add the missing ones, among them a symlink-following library import, path
traversal through unsanitized EXIF fields and a bypass of the plugin host
check, as well as the code execution through an uploaded SVG file that
versions before 3.2.4 allow.
Sponsored by: Netzkommune GmbH
[GlobalsModRef] Use attributes of functions without an exact definition (#241050)
Functions without an exact definition (e.g. weak, linkonce_odr, or
noipa) may be replaced at link time, so their bodies can't be used, but
their attributes still apply to any replacement. Treat them like
declarations and optnone functions: compute mod/ref info from attributes
rather than giving up on the whole SCC.
Assisted-By: Claude
[GlobalsModRef] Check every function in an SCC for an exact definition (#241049)
Previously only the first function in an SCC was checked, so a non-exact
function elsewhere in the SCC could have its body used to compute
mod/ref info for the whole SCC, even though it may be replaced at link
time by a definition with different behavior.
Assisted-By: Claude
www/immich: Security update to 3.4.0
An attacker-chosen OAuth state cookie allowed forced account linking and
takeover of any account. Further fixes cover a partner reading locked
folder metadata, read-scoped API keys resetting cluster group people
data, an unbounded motion photo offset exhausting memory and disk, and a
share link revealing whether the owner has a given file.
Adds JPEG XL support, two new match types for the EXIF metadata filter
and a trigger that runs a workflow once OCR processing has finished.
Changelog:
https://github.com/immich-app/immich/releases/tag/v3.4.0
Security: 9e9c6e36-dd9f-11f1-bae2-3497f65b111b
Sponsored by: Netzkommune GmbH
[SystemZ][z/OS] Support naked functions as XPLINK stubs (#239862)
A function with the `naked` attribute has no prologue or epilogue. On
z/OS XPLINK it maps to a stub function, which has a stub entry marker
instead of the normal entry point marker and has no PPA1.
AsmPrinter:
* For naked functions, emitFunctionEntryLabel() no longer calls
calculatePPA1() and no longer emits the 16-byte entry point marker. It
emits an 8-byte stub marker (eyecatcher 0x00C300C500C500, mark type
C'4'), preceded by 8 bytes of zero padding. The padding keeps the entry
point at function start + 16, the same offset as for a normal function.
* emitFunctionBodyEnd() returns early for naked functions. Otherwise it
would use DeferredPPA1.back(), which is the previous function's entry or
an empty vector.
ISel:
* LowerFormalArguments() is not called for naked functions, so the ADA
virtual register (R5 on entry) was never created. Globals and internal
[14 lines not shown]
www/immich-cli: Security update to 3.4.0
A malicious or intercepted server could read, exfiltrate and delete
arbitrary local files through the duplicate check.
Changelog:
https://github.com/immich-app/immich/releases/tag/v3.4.0
Security: 9e9c6e36-dd9f-11f1-bae2-3497f65b111b
Sponsored by: Netzkommune GmbH
net-mgmt/semaphore: Update to 2.20.23
Keeps the chosen language per user, fixes deleting a user and no longer
submits the CLI argument dialog on Enter.
The vendored modernc.org/sqlite now carries current FreeBSD bindings for
every architecture, so the restriction to aarch64 and amd64 can go.
Changelog:
https://github.com/semaphoreui/semaphore/releases/tag/v2.20.23
Sponsored by: Netzkommune GmbH
news/eilmeldung: update to 1.10.0
1.10.0 - 2026-10-28
eilmeldung has now been over one year in development! 🎂 Thanks for all your trust, contributions and feedback!
Here are some news:
eilmeldung has migrated to news-flash 4.0.1!
with many thanks and cheers to @jangernert for all the work he puts into maintaining news-flash, which makes eilmeldung possible
and because of @jangernert's great work, eilmeldung now has no external dependencies anymore!🎉 just pure rust 🦀 (except for libc of course 😉)
when eilmeldung detects multiple feed sources when adding a feed, it shows a selection popup