LLVM/project 022d936clang/lib/CIR/Dialect/IR CIRDialect.cpp, clang/test/CIR/Transforms canonicalize.cir

[CIR] Avoid folding non-integer constants as integer casts (#214551)

CIRGen may produce undef constants while recovering from NYI builtin
lowering. When such a value feeds an implicit integral cast,
CastOp::fold currently treats the source as an integer constant solely
because it is a cir.constant, then calls getIntValue() and crashes.

Added a check for the constant to see if the payload is actually an
IntAttr before folding the cast. If it is not, return the cast unfolded.

Added a regression test covering an unimplemented __builtin_stdc_* call
whose undef result was implicitly being cast to integer by CastOp::fold.

Part of issue #214443
DeltaFile
+12-4clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+9-0clang/test/CIR/Transforms/canonicalize.cir
+21-42 files

NetBSD/pkgsrc hE9V4Zcdoc CHANGES-2026

   doc: Updated ruby-gnome packages to 4.3.7
VersionDeltaFile
1.5183+18-1doc/CHANGES-2026
+18-11 files

LLVM/project 578aefaorc-rt/include/orc-rt SimplePackedSerialization.h, orc-rt/test/unit SimplePackedSerializationTest.cpp

[orc-rt] SPS serialization: SPSExecutorAddrRange <-> span<T> (#215693)

Allows a memory range to be sent as an SPSExecutorAddrRange by the
controller and received as a span<T> by the executor, so handlers can
take a span directly rather than converting from an ExecutorAddrRange
themselves.

The wire format is identical to the existing ExecutorAddrRange
serialization -- a (Start, End) address pair -- so the two are
interchangeable in either direction.

Note that this transmits the span's bounds, not its contents; that
distinguishes it from the existing SPSSequence<char> / span<const char>
serialization, which copies the bytes.

Since the address pair arrives as untrusted wire data, deserialization
rejects inverted ranges, addresses that don't fit in uintptr_t, and
lengths that aren't a whole number of elements, rather than constructing
an out-of-bounds span.
DeltaFile
+99-0orc-rt/test/unit/SimplePackedSerializationTest.cpp
+36-1orc-rt/include/orc-rt/SimplePackedSerialization.h
+135-12 files

NetBSD/pkgsrc 6PyHnVgdevel/ruby-glib2 distinfo, devel/ruby-gobject-introspection distinfo

   ruby-gnome: update to 4.3.7

   Upstream changes:

   Ruby-GNOME 4.3.7: 2026-07-13

   This is a Pango 1.58.0 support release.

   Changes

   Ruby/GLib2

     * Improvements
         + GLib::Regex#replace: Stopped to use break to stop
           replacement. Return false in block instead.
             o GH-1713
             o Patch by Randy Stauner.
     * Fixes
         + GLib::Param#inspect: Added missing close >

    [32 lines not shown]
VersionDeltaFile
1.32+4-4graphics/ruby-gdk_pixbuf2/distinfo
1.32+4-4graphics/ruby-gdk3/distinfo
1.32+4-4graphics/ruby-cairo-gobject/distinfo
1.32+4-4devel/ruby-pango/distinfo
1.32+4-4devel/ruby-gobject-introspection/distinfo
1.32+4-4devel/ruby-glib2/distinfo
+24-2426 files not shown
+101-10232 files

LLVM/project 51c9b9bllvm/lib/Target/RISCV RISCVTargetMachine.cpp RISCVCodeGenPassBuilder.cpp

[RISCV][NFC] Move ZacasABIFix Pass Declaration

This change moves them into their own header, as has been done for the
other NewPM passes.

Assisted-by: AI
DeltaFile
+40-0llvm/lib/Target/RISCV/RISCVZacasABIFix.h
+0-12llvm/lib/Target/RISCV/RISCV.h
+1-1llvm/lib/Target/RISCV/RISCVZacasABIFix.cpp
+1-0llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
+1-0llvm/lib/Target/RISCV/RISCVCodeGenPassBuilder.cpp
+43-135 files

LLVM/project d002b95llvm/lib/Target/RISCV RISCVTargetMachine.cpp RISCVCodeGenPassBuilder.cpp

[RISCV][NFC] Move RISCVCodeGenPrepare Declarations

This change moves them into their own header, as has been done for the
other NewPM passes.

Assisted-by: AI
DeltaFile
+40-0llvm/lib/Target/RISCV/RISCVCodeGenPrepare.h
+0-12llvm/lib/Target/RISCV/RISCV.h
+1-1llvm/lib/Target/RISCV/RISCVCodeGenPrepare.cpp
+1-0llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
+1-0llvm/lib/Target/RISCV/RISCVCodeGenPassBuilder.cpp
+43-135 files

LLVM/project 20538abllvm/lib/Target/RISCV RISCVCodeGenPassBuilder.cpp RISCVOptWInstrs.h, llvm/test/CodeGen/RISCV O3-newpm-pipeline.ll O1-newpm-pipeline.ll

[RISCV] Port Opt W Instrs to NewPM

Assisted-by: AI
DeltaFile
+44-22llvm/lib/Target/RISCV/RISCVOptWInstrs.cpp
+35-0llvm/lib/Target/RISCV/RISCVOptWInstrs.h
+3-3llvm/lib/Target/RISCV/RISCVCodeGenPassBuilder.cpp
+4-0llvm/test/CodeGen/RISCV/prefer-w-inst.mir
+2-1llvm/test/CodeGen/RISCV/O3-newpm-pipeline.ll
+2-1llvm/test/CodeGen/RISCV/O1-newpm-pipeline.ll
+90-277 files not shown
+97-3113 files

LLVM/project 06c22c2llvm/lib/Target/RISCV RISCV.h RISCVTargetMachine.cpp, llvm/test/CodeGen/RISCV fold-mem-offset.mir

[RISCV] Port Fold Memory Offset Pass to NewPM

Assisted-by: AI
DeltaFile
+37-16llvm/lib/Target/RISCV/RISCVFoldMemOffset.cpp
+36-0llvm/lib/Target/RISCV/RISCVFoldMemOffset.h
+0-3llvm/lib/Target/RISCV/RISCV.h
+2-1llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
+2-1llvm/lib/Target/RISCV/RISCVCodeGenPassBuilder.cpp
+1-0llvm/test/CodeGen/RISCV/fold-mem-offset.mir
+78-213 files not shown
+81-219 files

LLVM/project f6271e6llvm/lib/Target/RISCV RISCV.h RISCVTargetMachine.cpp, llvm/test/CodeGen/RISCV/rvv vmv.v.v-peephole.mir

[RISCV] Port Vector Peephole to NewPM

Assisted-by: AI
DeltaFile
+66-44llvm/lib/Target/RISCV/RISCVVectorPeephole.cpp
+39-0llvm/lib/Target/RISCV/RISCVVectorPeephole.h
+0-3llvm/lib/Target/RISCV/RISCV.h
+2-1llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
+2-1llvm/lib/Target/RISCV/RISCVCodeGenPassBuilder.cpp
+2-0llvm/test/CodeGen/RISCV/rvv/vmv.v.v-peephole.mir
+111-497 files not shown
+119-4913 files

LLVM/project 7c9cde3llvm/lib/Target/RISCV RISCV.h

Remove useless header
DeltaFile
+0-1llvm/lib/Target/RISCV/RISCV.h
+0-11 files

LLVM/project e16b5ccllvm/lib/Target/RISCV RISCVTargetMachine.cpp RISCVCodeGenPassBuilder.cpp, llvm/test/CodeGen/RISCV/rvv vl-opt.mir

[RISCV] Port VL Optimizer to NewPM

Assisted-by: AI
DeltaFile
+56-31llvm/lib/Target/RISCV/RISCVVLOptimizer.cpp
+36-0llvm/lib/Target/RISCV/RISCVVLOptimizer.h
+1-3llvm/lib/Target/RISCV/RISCV.h
+2-1llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
+2-1llvm/lib/Target/RISCV/RISCVCodeGenPassBuilder.cpp
+1-0llvm/test/CodeGen/RISCV/rvv/vl-opt.mir
+98-363 files not shown
+101-369 files

LLVM/project df96bb3llvm/lib/Target/RISCV RISCVGatherScatterLowering.cpp

Move subtarget checks into Impl object
DeltaFile
+5-7llvm/lib/Target/RISCV/RISCVGatherScatterLowering.cpp
+5-71 files

FreeBSD/ports aa17804www/p5-Mojolicious Makefile distinfo

www/p5-Mojolicious: Update to 9.49
DeltaFile
+3-3www/p5-Mojolicious/distinfo
+1-1www/p5-Mojolicious/Makefile
+4-42 files

LLVM/project d4cf759llvm/lib/Target/RISCV RISCVTargetMachine.cpp RISCVCodeGenPassBuilder.cpp

[RISCV][NFC] Move ZacasABIFix Pass Declaration

This change moves them into their own header, as has been done for the
other NewPM passes.

Assisted-by: AI
DeltaFile
+40-0llvm/lib/Target/RISCV/RISCVZacasABIFix.h
+0-12llvm/lib/Target/RISCV/RISCV.h
+1-1llvm/lib/Target/RISCV/RISCVZacasABIFix.cpp
+1-0llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
+1-0llvm/lib/Target/RISCV/RISCVCodeGenPassBuilder.cpp
+43-135 files

LLVM/project 6d0f1fdllvm/lib/Target/RISCV RISCVCodeGenPassBuilder.cpp RISCVOptWInstrs.h, llvm/test/CodeGen/RISCV O3-newpm-pipeline.ll O1-newpm-pipeline.ll

[RISCV] Port Opt W Instrs to NewPM

Assisted-by: AI
DeltaFile
+44-22llvm/lib/Target/RISCV/RISCVOptWInstrs.cpp
+35-0llvm/lib/Target/RISCV/RISCVOptWInstrs.h
+3-3llvm/lib/Target/RISCV/RISCVCodeGenPassBuilder.cpp
+4-0llvm/test/CodeGen/RISCV/prefer-w-inst.mir
+2-1llvm/test/CodeGen/RISCV/O3-newpm-pipeline.ll
+2-1llvm/test/CodeGen/RISCV/O1-newpm-pipeline.ll
+90-277 files not shown
+97-3113 files

LLVM/project 040ebf2llvm/lib/Target/RISCV RISCVTargetMachine.cpp RISCVCodeGenPassBuilder.cpp

[RISCV][NFC] Move RISCVCodeGenPrepare Declarations

This change moves them into their own header, as has been done for the
other NewPM passes.

Assisted-by: AI
DeltaFile
+40-0llvm/lib/Target/RISCV/RISCVCodeGenPrepare.h
+0-12llvm/lib/Target/RISCV/RISCV.h
+1-1llvm/lib/Target/RISCV/RISCVCodeGenPrepare.cpp
+1-0llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
+1-0llvm/lib/Target/RISCV/RISCVCodeGenPassBuilder.cpp
+43-135 files

LLVM/project 0024ef0llvm/lib/Target/RISCV RISCV.h RISCVTargetMachine.cpp, llvm/test/CodeGen/RISCV fold-mem-offset.mir

[RISCV] Port Fold Memory Offset Pass to NewPM

Assisted-by: AI
DeltaFile
+37-16llvm/lib/Target/RISCV/RISCVFoldMemOffset.cpp
+36-0llvm/lib/Target/RISCV/RISCVFoldMemOffset.h
+0-3llvm/lib/Target/RISCV/RISCV.h
+2-1llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
+2-1llvm/lib/Target/RISCV/RISCVCodeGenPassBuilder.cpp
+1-0llvm/test/CodeGen/RISCV/fold-mem-offset.mir
+78-213 files not shown
+81-219 files

LLVM/project bc707b8llvm/lib/Target/RISCV RISCV.h RISCVTargetMachine.cpp, llvm/test/CodeGen/RISCV/rvv vmv.v.v-peephole.mir

[RISCV] Port Vector Peephole to NewPM

Assisted-by: AI
DeltaFile
+66-44llvm/lib/Target/RISCV/RISCVVectorPeephole.cpp
+39-0llvm/lib/Target/RISCV/RISCVVectorPeephole.h
+0-3llvm/lib/Target/RISCV/RISCV.h
+2-1llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
+2-1llvm/lib/Target/RISCV/RISCVCodeGenPassBuilder.cpp
+2-0llvm/test/CodeGen/RISCV/rvv/vmv.v.v-peephole.mir
+111-497 files not shown
+119-4913 files

LLVM/project 0d16817llvm/lib/Target/RISCV RISCV.h

Remove useless header
DeltaFile
+0-1llvm/lib/Target/RISCV/RISCV.h
+0-11 files

LLVM/project 6340660llvm/lib/Target/AMDGPU SIInstrInfo.cpp SIFoldOperands.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.sqrt.bf16.ll llvm.amdgcn.sin.bf16.ll

[AMDGPU] VOP1 bf16 instructions read high 16 bit of an inline

VOP1 cannot be used in this case and VOP3 shall use OPSEL.
DeltaFile
+18-2llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+20-0llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
+8-8llvm/test/CodeGen/AMDGPU/llvm.amdgcn.tanh.ll
+4-4llvm/test/CodeGen/AMDGPU/llvm.amdgcn.rsq.bf16.ll
+2-2llvm/test/CodeGen/AMDGPU/llvm.amdgcn.sqrt.bf16.ll
+2-2llvm/test/CodeGen/AMDGPU/llvm.amdgcn.sin.bf16.ll
+54-184 files not shown
+62-2610 files

LLVM/project 03a8db1llvm/include/llvm/CodeGen TargetLoweringObjectFileImpl.h, llvm/lib/CodeGen TargetLoweringObjectFileImpl.cpp

[MC][x86-64] Decide if each individual mergeable constants is small or large (#209881)

Rather than only relying on the code model. Otherwise we can end up with
the IR and MC disagreeing about which ones are small/large.

Don't use MergeableConst*Section in
TargetLoweringObjectFileELF::getSectionForConstant(), decide which
section dynamically. Other binary formats still use those though.

This resolves some relocation overflows from mixed small/medium code
model code.

Followup to #190903.

Assisted-by: Gemini
DeltaFile
+59-44llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+58-0llvm/test/CodeGen/X86/code-model-elf-strings.ll
+18-1llvm/test/CodeGen/X86/code-model-elf-constpool-large.ll
+14-2llvm/lib/Target/TargetMachine.cpp
+4-11llvm/lib/MC/MCObjectFileInfo.cpp
+5-0llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
+158-583 files not shown
+161-609 files

FreeBSD/src 59d6422usr.sbin/makefs/tests makefs_zfs_tests.sh, usr.sbin/makefs/zfs dsl.c

makefs: Allow "legacy" as a valid ZFS mountpoint

Allow "legacy" alongside "none" as a valid value for the ZFS mountpoint
property, matching zfsprops(7).

Reviewed by:    imp, markj
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D58781
DeltaFile
+39-0usr.sbin/makefs/tests/makefs_zfs_tests.sh
+3-2usr.sbin/makefs/zfs/dsl.c
+42-22 files

FreeBSD/src 889d08fusr.sbin/makefs/tests makefs_zfs_tests.sh

makefs: tests: Fix a missing slash in multi_dataset_4

Fix a typo in the ZFS multi_dataset_4 test, where a path separator was
missing.

Reported by:    markj
MFC after:      1 week
DeltaFile
+1-1usr.sbin/makefs/tests/makefs_zfs_tests.sh
+1-11 files

LLVM/project e15d649clang/docs ReleaseNotes.md, clang/lib/Sema SemaTemplateInstantiate.cpp SemaExpr.cpp

[clang] Don't mark a field invalid for unparsed in-class member initializer. (#215423)

We delay parsing of in-class member initializers until the end of the
outermost class declaration. It is an error for code to try to use that
initializer before it's parsed. However, sometimes that error can be
suppressed by an SFINAE context. Since we aren't sure a user-visible
error will be emitted, don't mark the field invalid.

Fixes https://github.com/llvm/llvm-project/issues/215166 .
DeltaFile
+14-0clang/test/SemaCXX/cxx11-default-member-initializers.cpp
+5-0clang/docs/ReleaseNotes.md
+0-1clang/lib/Sema/SemaTemplateInstantiate.cpp
+0-1clang/lib/Sema/SemaExpr.cpp
+19-24 files

LLVM/project 6ab70d7llvm/lib/Target/AMDGPU VOP1Instructions.td, llvm/test/MC/AMDGPU gfx1250_asm_vop3_from_vop1-fake16.s

[AMDGPU] Allow OPSEL in bf16 trans instructions in fake16
DeltaFile
+24-0llvm/test/MC/AMDGPU/gfx1250_asm_vop3_from_vop1-fake16.s
+8-8llvm/test/MC/Disassembler/AMDGPU/gfx1250_dasm_vop3_from_vop1_dpp8.txt
+8-8llvm/test/MC/Disassembler/AMDGPU/gfx1250_dasm_vop3_from_vop1_dpp16.txt
+8-8llvm/test/MC/Disassembler/AMDGPU/gfx1250_dasm_vop3_from_vop1.txt
+2-0llvm/lib/Target/AMDGPU/VOP1Instructions.td
+50-245 files

LLVM/project 8c43249clang/test/CodeGen openacc-invalid-stmt.cpp

[OpenACC][NFC] Make CHECK-NOT lines more specific (#215677)

These are effectively irrelevant, as the problem we are trying to check
for is that the app doesn't crash. So make them a bit more specific (add
'acc ') since we don't know what any sort of IR for these would look
like ANYWAY. Hopefully the higher specificity makes these good enough
for folks.
DeltaFile
+9-6clang/test/CodeGen/openacc-invalid-stmt.cpp
+9-61 files

LLVM/project 47e6958llvm/lib/Transforms/Vectorize LoopVectorizationLegality.cpp, llvm/test/Transforms/LoopVectorize outer_loop_inner_loop_exits.ll

[LV] Require inner loops to only exit via latch in outer loop path. (#215675)

Currently codegen only handles inner loops exiting via the latch. Loops
with uniform branches exiting the loops, like in the added tests, cause
`opt` to hang.

Reject such loops at the outset.
DeltaFile
+96-0llvm/test/Transforms/LoopVectorize/outer_loop_inner_loop_exits.ll
+18-0llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
+114-02 files

LLVM/project 55843f1clang/include/clang/CIR/Dialect/IR CIROps.td, clang/lib/CIR/CodeGen CIRGenBuiltin.cpp CIRGenCoroutine.cpp

[CIR] Add token.none and fix coro.end signature (#214125)

This patch adds the `cir.token.none` operation, mirroring the LLVM
dialect's `llvm.mlir.none` operation for representing the LLVM IR `none`
token. It also fixes the signature of `cir.coro.intrinsic.end` to
correctly take a token operand, matching the corresponding LLVM
coroutine intrinsic.
DeltaFile
+49-48clang/test/CIR/CodeGenCoroutines/coro-task.cpp
+16-9clang/lib/CIR/CodeGen/CIRGenCoroutine.cpp
+19-2clang/include/clang/CIR/Dialect/IR/CIROps.td
+2-4clang/lib/CIR/CodeGen/CIRGenBuiltin.cpp
+4-2clang/test/CIR/CodeGenCoroutines/coro-builtins.cpp
+6-0clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+96-651 files not shown
+97-677 files

OpenBSD/ports G6Yqjhiaudio/mpg123 Makefile distinfo

   audio/mpg123: update to 1.33.7

   "This release is highly recommened hygiene for anyone shipping mpg123"
VersionDeltaFile
1.81.2.1+2-2audio/mpg123/distinfo
1.132.2.1+1-1audio/mpg123/Makefile
+3-32 files

OpenBSD/ports IafRXqbsecurity/p5-Module-Signature Makefile distinfo

   update p5-Module-Signature to 0.96
VersionDeltaFile
1.24+2-2security/p5-Module-Signature/distinfo
1.38+2-1security/p5-Module-Signature/Makefile
+4-32 files