LLVM/project 687818bllvm/docs GettingInvolved.md BugpointRedesign.md

[Docs] Delete BugpointRedesign (#212518)

Bugpoint was removed recently, so this does not make sense to keep
around.
DeltaFile
+0-102llvm/docs/BugpointRedesign.md
+0-5llvm/docs/GettingInvolved.md
+0-1072 files

LLVM/project 98fb5dalibc/src/stdio/scanf_core CMakeLists.txt vfscanf_internal.h, libc/test/src/stdio CMakeLists.txt fscanf_test.cpp

[libc] Fix EOF handling in fscanf (#211982)

`fscanf` family of functions should return EOF if:
- end of input is reached before either the first successful conversion
or a matching failure occurs;
- a read error occurs.

This wasn't handled correctly before - in "system FILE" mode (in overlay
build) `EOF` return value from `getc` was passed through to parser,
violating `Reader` interface, which triggered infinite loops on
"while-not-EOF" `fscanf` loops. In llvm-libc-FILE mode `fscanf` simply
returned zero instead of EOF, because the code only checked error
indicator on a stream.

This PR removes _any_ lookups of eof/error indicators on an input stream
- instead we can simply rely on the `getc` (system or internal) function
behavior, which returns `EOF` on unsuccessful reads.

Extend the test cases for `fscanf` to cover various return values in
cases when `EOF` is reached (before or after conversions / matching
errors).
DeltaFile
+148-5libc/test/src/stdio/fscanf_test.cpp
+13-13libc/src/stdio/scanf_core/vfscanf_internal.h
+2-0libc/test/src/stdio/CMakeLists.txt
+0-1libc/src/stdio/scanf_core/CMakeLists.txt
+163-194 files

FreeBSD/ports c56821dwww/linux-brave Makefile distinfo

www/linux-brave: update to 1.92.144 release
DeltaFile
+5-5www/linux-brave/distinfo
+1-1www/linux-brave/Makefile
+6-62 files

FreeBSD/ports bd2a18ewww/linux-chrome pkg-plist distinfo

www/linux-chrome: update to 150.0.7871.186, add aarch64 support
DeltaFile
+15-4www/linux-chrome/Makefile
+5-3www/linux-chrome/distinfo
+1-1www/linux-chrome/pkg-plist
+21-83 files

LLVM/project 326d563clang/include/clang/AST ExprObjC.h, clang/include/clang/Sema SemaObjC.h

Tracks source location of the selector name within ObjCSelectorExpr (#211623)

Store selector name location alongside the existing @-sign and paren locations, exposed via getSelectorLoc(), so tools and diagnostics can reference the name rather than the @selector keyword. While here, rename things to disambiguate locations.
DeltaFile
+179-70clang/unittests/AST/SourceLocationTest.cpp
+10-11clang/lib/Sema/SemaExprObjC.cpp
+5-5clang/lib/Parse/ParseObjc.cpp
+5-3clang/include/clang/AST/ExprObjC.h
+2-1clang/include/clang/Sema/SemaObjC.h
+1-0clang/lib/Serialization/ASTReaderStmt.cpp
+202-901 files not shown
+203-907 files

LLVM/project 88d26e7llvm/test/Transforms/ConstraintElimination srem.ll ne-tightening.ll

[ConstraintElim] Add tests with SRem and NE predicates. (NFC (#212511)

Precommit tests for improved reasoning about SRem and NE predicates.
DeltaFile
+310-0llvm/test/Transforms/ConstraintElimination/ne-tightening.ll
+298-0llvm/test/Transforms/ConstraintElimination/srem.ll
+608-02 files

LLVM/project 9876e04mlir/lib/Conversion/SPIRVToLLVM SPIRVToLLVM.cpp, mlir/test/Conversion/SPIRVToLLVM arithmetic-ops-to-llvm.mlir

[mlir][SPIR-V] Add SPIRVToLLVM conversion for VectorTimesScalar (#206949)
DeltaFile
+27-1mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp
+21-0mlir/test/Conversion/SPIRVToLLVM/arithmetic-ops-to-llvm.mlir
+48-12 files

LLVM/project 511502bllvm/lib/Transforms/Vectorize VPlanTransforms.cpp

[VPlan] Strip dead code in optimizeEarlyExitIndUser (NFC) (#212463)

The check is already present in getOptimizableIVOf, and is an
impossiblity in the IVInc case.
DeltaFile
+0-4llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+0-41 files

LLVM/project 1cfc77fllvm/include/llvm/CodeGen MIR2Vec.h, llvm/lib/CodeGen MIR2Vec.cpp

[MIR2Vec] Handle registers without a register class (#212280)

getRegisterOperandIndex() hit an llvm_unreachable for registers in no
register class. That is a supported outcome, not an error: tablegen
emits InvalidRegClassID for such registers and getMinimalPhysRegClass()
returns nullptr. It hits classless physregs (X86 $mxcsr/$fpcw, AMDGPU
$mode), which crashed any function with FP math, and generic vregs
before ISel, where MRI.getRegClass() asserts -- so use
getRegClassOrNull().

Return std::nullopt instead. Both callers already handle the analogous
NoRegister and stack-slot cases, so the vocabulary layout is unchanged.

We could avoid the special casing by adding a special value for such
registers. It would actually hold some meaningful information for
models. I didn't include it in this patch since it would require seed
vocab re-generation.
DeltaFile
+47-0llvm/test/CodeGen/MIR2Vec/classless-vreg.mir
+40-0llvm/test/CodeGen/MIR2Vec/classless-physreg.mir
+27-7llvm/lib/CodeGen/MIR2Vec.cpp
+16-6llvm/include/llvm/CodeGen/MIR2Vec.h
+18-0llvm/test/CodeGen/MIR2Vec/Inputs/mir2vec_classless_vocab.json
+148-135 files

LLVM/project a69addflibcxx/test/std/numerics/c.math isunordered.pass.cpp isless.pass.cpp

[libc++][math] Add `constexpr` to comparison functions (#210075)

Implement `constexpr` to all comparison functions (`std::isgreater`,
`std::isgreaterequal`, `std::isless`, `std::islessequal`,
`std::islessgreater`, `std::isunordered`) as defined by
[P0533R9](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p0533r9.pdf).

Towards https://github.com/llvm/llvm-project/issues/105174. Follows-up
https://github.com/llvm/llvm-project/pull/94118.
DeltaFile
+83-0libcxx/test/std/numerics/c.math/islessgreater.pass.cpp
+81-0libcxx/test/std/numerics/c.math/isgreater.pass.cpp
+79-0libcxx/test/std/numerics/c.math/isgreaterequal.pass.cpp
+79-0libcxx/test/std/numerics/c.math/islessequal.pass.cpp
+75-0libcxx/test/std/numerics/c.math/isless.pass.cpp
+72-0libcxx/test/std/numerics/c.math/isunordered.pass.cpp
+469-04 files not shown
+533-5810 files

LLVM/project 0fc8ce3libcxx/include optional

[libc++][optional][NFC] Use variable templates instead of class templates (#212443)

Modernizing similar to: https://github.com/llvm/llvm-project/pull/199481
DeltaFile
+12-11libcxx/include/optional
+12-111 files

FreeNAS/freenas 1bca830tests/api2 test_300_nfs.py

Remove `test_nfs_bindip`
DeltaFile
+0-34tests/api2/test_300_nfs.py
+0-341 files

LLVM/project 62f429eclang/lib/CodeGen CodeGenModule.cpp, clang/test/Interpreter used-global-after-error.cpp

[clang][CodeGen] Skip deleted globals in emitUsed (#210959)

A global on the `llvm.used`/`llvm.compiler.used` list can be deleted
before the module is released: CodeGen erases an unreferenced
`GlobalValue` without RAUW when the same mangled name is redefined with
a different type (`GetOrCreateLLVMGlobal`), which nulls the
`WeakTrackingVH` on the used list — value handles are not uses, so the
`use_empty()` guard does not protect them.

In whole-TU compilation this is unobservable because the accompanying
`err_duplicate_mangled_name` suppresses `Release()`. The incremental
interpreter, however, clears the diagnostic state after the failed parse
and keeps building the same module, so the next successful parse runs
`Release()` and crashes in `emitUsed` dereferencing the dead handle:

```
clang-repl> __attribute__((used)) int a asm("sym") = 1; float b asm("sym") = 2.0f;
clang-repl> int ok = 0;
clang-repl: .../ValueHandle.h:95: llvm::Value& llvm::ValueHandleBase::operator*() const: Assertion `V && "Dereferencing deleted ValueHandle"' failed.

    [14 lines not shown]
DeltaFile
+10-7clang/lib/CodeGen/CodeGenModule.cpp
+15-0clang/test/Interpreter/used-global-after-error.cpp
+25-72 files

FreeBSD/ports c434289security/gnupg Makefile distinfo

security/gnupg: update to 2.5.21, latest upstream

Release notes are at
        https://lists.gnupg.org/pipermail/gnupg-announce/2026q3/000506.html

Reported-by:    Herbert J. Skuhra
PR:             296584
DeltaFile
+3-3security/gnupg/distinfo
+1-2security/gnupg/Makefile
+4-52 files

FreeBSD/ports 94eb72fsysutils/usacloud-core Makefile.version Makefile

sysutils/usacloud: Update to 1.22.8

ChangeLogs:     https://github.com/sacloud/usacloud/compare/v1.22.4...v1.22.8
Approved by:    hrs (mentor, blanket)
DeltaFile
+5-5sysutils/usacloud-core/distinfo
+1-1sysutils/usacloud-core/Makefile.version
+1-1sysutils/usacloud-core/Makefile
+7-73 files

LLVM/project df89bcallvm/lib/TableGen TGLexer.cpp, llvm/test/TableGen ifdef-cr-instead-of-newline.td

[TableGen] Treat carriage return as line end in prepSkipRegion (#212411)

`prepSkipRegion` currently only treats newline and EOF as end of line.
However, in the TableGen Programmer's Reference:

LineEnd ::=  newline | return | EOF

So carriage return is a valid end-of-line, but `prepSkipRegion` ignores
it and skips code after the carriage return that it shouldn't. This
change fixes the end-of-line check in `prepSkipRegion` so that it also
treats carriage return as end of line.

Related issue: #151476.
DeltaFile
+7-0llvm/test/TableGen/ifdef-cr-instead-of-newline.td
+1-1llvm/lib/TableGen/TGLexer.cpp
+8-12 files

Illumos/gate 4b44494. .gitignore

18290 add .$EXTEND to .gitignore
Reviewed by: Michael van der Westhuizen <r1mikey at gmail.com>
Reviewed by: Bill Sommerfeld <sommerfeld at hamachi.org>
Approved by: Gordon Ross <gordon.w.ross at gmail.com>
DeltaFile
+1-0.gitignore
+1-01 files

FreeNAS/freenas ea13523src/middlewared/middlewared/plugins replication.py zettarepl.py, tests/api2 test_replication.py

Allow running disabled replication tasks

(cherry picked from commit 4ab455e78b755250d05c5a7547acad9f76b98c1a)
DeltaFile
+8-4tests/api2/test_replication.py
+4-4src/middlewared/middlewared/plugins/zettarepl.py
+0-3src/middlewared/middlewared/plugins/replication.py
+12-113 files

LLVM/project 1c31d28clang/lib/CIR/Dialect/IR CIRMemorySlot.cpp, clang/test/CIR/Transforms mem2reg.cir

[CIR] Disallow mem2reg for volatile/atomic loads and stores (#212262)

Current mem2reg implementation for `cir.load` and `cir.store` does not
check whether the load/store is volatile or atomic. Fix this.
DeltaFile
+51-4clang/test/CIR/Transforms/mem2reg.cir
+12-2clang/lib/CIR/Dialect/IR/CIRMemorySlot.cpp
+63-62 files

LLVM/project 807de2dllvm/lib/Target/AMDGPU SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU no-corresponding-integer-type.ll idot4-test.ll

[AMDGPU] Stop iDot4 chain walker at non-ADD nodes (#198412)

The loop body in performAddCombine dot4 matcher unconditionally treats
TempNode operands as the next link's addends, so the chain only works
when TempNode is an `ISD::ADD`

The old getNumOperands() guard let AND/OR/XOR/etc. through, leaking
their non-addend operands (e.g. a constant mask) into the dot4
accumulator and miscompiling kernels
DeltaFile
+227-0llvm/test/CodeGen/AMDGPU/idot4-test.ll
+3-8llvm/test/CodeGen/AMDGPU/no-corresponding-integer-type.ll
+2-1llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+232-93 files

FreeBSD/src 53187a3sys/dev/hwpmc pmu_dmc620.c

pmc_dmc620: drop unneeded includes

Neither of these options are checked in the file and cdefs.h should not
be included explicitly. No functional change.

Sponsored by:   The FreeBSD Foundation
DeltaFile
+0-4sys/dev/hwpmc/pmu_dmc620.c
+0-41 files

FreeNAS/freenas 4ab455esrc/middlewared/middlewared/plugins zettarepl.py, src/middlewared/middlewared/plugins/replication methods.py

Allow running disabled replication tasks
DeltaFile
+8-4tests/api2/test_replication.py
+4-4src/middlewared/middlewared/plugins/zettarepl.py
+0-3src/middlewared/middlewared/plugins/replication/methods.py
+12-113 files

LLVM/project 034f0f1flang/include/flang/Optimizer/Passes Pipelines.h, flang/lib/Optimizer/Passes Pipelines.cpp

[flang] Stop running array-value-copy in the default pipeline (#211816)

Since the removal of the legacy expression lowering (#210385, #210621,
#210639, #210873), nothing in flang produces the array-value operations
(fir.array_load and friends) that the array-value-copy pass legalizes,
so the pass runs as a guaranteed no-op on every function. Remove it from
the default pipeline (addAVC and the disable-avc mlir option); the pass
itself and its fir-opt tests remain and still run via fir-opt
--array-value-copy.

The array-value operations themselves and the pass are planned for
removal in follow-up patches.

flang/test/Fir/arrexp.fir is deleted rather than updated: it feeds
legacy array-value ops through tco's full pipeline, which no longer
legalizes them (the ops have no codegen patterns), and the file
exercises no live feature beyond that legalization.

Assisted-by: AI
DeltaFile
+0-211flang/test/Fir/arrexp.fir
+0-8flang/lib/Optimizer/Passes/Pipelines.cpp
+0-2flang/include/flang/Optimizer/Passes/Pipelines.h
+0-1flang/test/Fir/basic-program.fir
+0-1flang/test/Driver/mlir-pass-pipeline.f90
+0-1flang/test/Driver/mlir-debug-pass-pipeline.f90
+0-2243 files not shown
+0-2279 files

NetBSD/pkgsrc 2c6t1iWdoc CHANGES-2026

   doc: Updated lang/konoha to 1.0.0.952nb64
VersionDeltaFile
1.4810+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc HxJehf8lang/konoha PLIST distinfo, lang/konoha/patches patch-src_main_os.c patch-CMakeLists.txt

   lang/konoha: Disable OpenGL/GLUT. It is not buildable.

   * Use devel/cmake/build.mk instead of USE_CMAKE.
   * Minimum CMake is 3.10 to suppress warnings.
   * Bump PKGREVISION.
VersionDeltaFile
1.70+12-5lang/konoha/Makefile
1.1+15-0lang/konoha/patches/patch-CMakeLists.txt
1.3+1-3lang/konoha/PLIST
1.8+2-2lang/konoha/distinfo
1.2+1-1lang/konoha/patches/patch-src_main_os.c
+31-115 files

FreeBSD/src 3fdd05clib/libpmc Makefile pmc.3

libpmc: userland support and pmc.rapl.3 for the RAPL class

Register PMC_CLASS_RAPL in libpmc: event table, allocator, class-table
descriptor, and the event-name/class-listing lookups, all x86-guarded
and modeled on the TSC class. Energy events are read-only and
unqualified. The class prefix (RAPL-) supplies the friendly spelling, so
pmcstat -S rapl-energy-pkg resolves to the canonical ENERGY_PKG event.

Add a pmc.rapl.3 manual page documenting the events, counter scope, the
microjoule unit and wrap handling, and the NUMA/package domain mapping;
link it from pmc.3.

Reviewed by:    mhorne
Discussed with: Ali Mashtizadeh <ali at mashtizadeh.com>
Sponsored by:   AMD
Differential Revision:  https://reviews.freebsd.org/D58029
DeltaFile
+138-0lib/libpmc/pmc.rapl.3
+35-0lib/libpmc/libpmc.c
+8-0lib/libpmc/pmc.3
+1-0lib/libpmc/Makefile
+182-04 files

FreeBSD/src a99d04fsys/dev/hwpmc hwpmc_intel.c pmc_events.h, sys/sys pmc.h

hwpmc: add RAPL energy-counter class (AMD + Intel)

Add hwpmc_rapl.c/.h implementing PMC_CLASS_RAPL, a read-only
system-scope class modeled on TSC and wired into x86 AMD and Intel MD
init. A per-vendor MSR table covers AMD/Hygon and Intel; energy is
reported in microjoules, with the Intel server 2^-16 J DRAM unit
handled and 32-bit wraps recovered into a 64-bit accumulator.

The overflow guard follows the PMC lifetime: armed on the first
allocated PMC, callout_drain()d on the last release, and each tick only
rendezvouses CPUs holding one. Per-CPU spin locks guard the accumulator
against torn reads on i386. PMC_CAP_DOMWIDE lets pmcstat(8) allocate
one counter per NUMA domain instead of per CPU.

Reviewed by:    mhorne, Ali Mashtizadeh <ali at mashtizadeh.com>
Sponsored by:   AMD
Differential Revision:  https://reviews.freebsd.org/D58028
DeltaFile
+612-0sys/dev/hwpmc/hwpmc_rapl.c
+28-0sys/dev/hwpmc/hwpmc_rapl.h
+13-4sys/dev/hwpmc/hwpmc_amd.c
+13-1sys/dev/hwpmc/pmc_events.h
+9-0sys/dev/hwpmc/hwpmc_intel.c
+4-3sys/sys/pmc.h
+679-84 files not shown
+683-810 files

FreeBSD/src 77404eesys/x86/include specialreg.h

x86: add AMD RAPL MSR definitions to specialreg.h

specialreg.h is the tree's MSR registry and already carries the Intel
RAPL group. Add the AMD RAPL package/core energy and unit MSRs here so
the hwpmc RAPL class can reference them without a private driver copy.
Use the names Linux's msr-index.h gives these registers.

Reviewed by:    mhorne, adrian, Ali Mashtizadeh <ali at mashtizadeh.com>
MFC after:      3 days
Sponsored by:   AMD
Differential Revision:  https://reviews.freebsd.org/D58027
DeltaFile
+3-0sys/x86/include/specialreg.h
+3-01 files

LLVM/project 760fc01offload/test CMakeLists.txt

[offload][lit] Run check-offload-unit as part of check-all (#212513)

I tried to do `check-offload` instead but that
[caused](https://github.com/llvm/llvm-project/pull/212500) a bloodbath,
so just enable `check-offload-unit` as part of `check-all`.

Signed-off-by: Nick Sarnie <nick.sarnie at intel.com>
DeltaFile
+0-1offload/test/CMakeLists.txt
+0-11 files

LLVM/project b6b9603bolt/lib/Rewrite RewriteInstance.cpp, bolt/test/AArch64 long-jmp-one-stub.s

[RFC][BOLT] Enable lite mode by default on AArch64 (#205545)
DeltaFile
+2-2bolt/lib/Rewrite/RewriteInstance.cpp
+1-1bolt/test/AArch64/long-jmp-one-stub.s
+3-32 files