FreeNAS/freenas 7fc076c —

Empty commit to create PR on github.

You should reset it
DeltaFile
+0-00 files

Dreckly/dreckly 2b1b199 — www/curl buildlink3.mk Makefile.common

curl: Update to 8.23.0
DeltaFile
+2-9www/curl/options.mk
+4-6www/curl/Makefile
+8-1www/curl/PLIST
+4-4www/curl/distinfo
+1-4www/curl/buildlink3.mk
+2-3www/curl/Makefile.common
+21-276 files

LLVM/project a39eb14 — clang/lib/AST ExprConstant.cpp, clang/lib/AST/ByteCode Compiler.cpp

[clang][bytecode][NFC] Refactor `alignOfType` (#232193)

Fix capitalization, define `AlignOfReturnsPreferred` only once it's
needed and fix the parameter name comment for `getDeclAlign()`.

The latter is also done in `ExprConstant.cpp`.
DeltaFile
+7-8clang/lib/AST/ByteCode/Compiler.cpp
+2-2clang/lib/AST/ExprConstant.cpp
+9-102 files

LLVM/project 714e62b — mlir/include/mlir/Dialect/LLVMIR NVVMOps.td, mlir/lib/Dialect/LLVMIR/IR NVVMDialect.cpp

[MLIR][NVVM] Add support for pzo in FP8/FP6/FP4 convert Ops (#229660)

This patch adds support for `pzo` and `rz` rounding mode to existing 
`FP8`, `FP6` and `FP4` Convert Ops. 
Lit tests are added to verify the lowering to the intrinsics.
Negative tests are also added to check the error-handling of invalid
combinations.

PTX ISA Reference:
https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#data-movement-and-conversion-instructions-cvt

---------

Signed-off-by: DharuniRAcharya <dharunira at nvidia.com>
DeltaFile
+183-110mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
+80-32mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
+90-0mlir/test/Target/LLVMIR/nvvm/convert_fp8x2.mlir
+69-0mlir/test/Target/LLVMIR/nvvm/convert_fp4x2.mlir
+66-0mlir/test/Target/LLVMIR/nvvm/convert_fp6x2.mlir
+16-0mlir/test/Target/LLVMIR/nvvm/convert_fp6x2_invalid.mlir
+504-1424 files not shown
+541-14710 files

Dreckly/dreckly de4e8bc — devel/macports-legacy-support distinfo Makefile, devel/macports-legacy-support/patches patch-Makefile

macports-legacy-support: Update to 1.5.2
DeltaFile
+0-39devel/macports-legacy-support/patches/patch-Makefile
+2-16devel/macports-legacy-support/Makefile
+4-5devel/macports-legacy-support/distinfo
+6-603 files

LLVM/project 8332827 — llvm/lib/CodeGen/SelectionDAG TargetLowering.cpp, llvm/test/CodeGen/X86 asm-constraints-rm-callbr-fold.ll asm-constraints-rm-isel.ll

[TargetLowering][X86] Prefer 'r' over 'm' for foldable "rm" inline asm operands

An "rm" (register-or-memory) inline asm operand has always resolved to
'm', because getConstraintPreferences() picks the most general
constraint present, and 'm' is more general than 'r'. That's safe, since
memory can't run out, but it forces a value that could stay in a
register through a stack slot even when there's no register pressure
(https://github.com/llvm/llvm-project/issues/20571).

Prefer 'r' instead where the register allocator can fold the register
back to a stack slot when it runs out of registers, and mark the
register operand foldable (InlineAsm::Flag::setRegMayBeFolded()) so it
does. Both allocators can: the greedy allocator folds an operand when it
spills its value, and the fast allocator folds operands up front when
the asm's register operands wouldn't fit.

ParseConstraints() sets AsmOperandInfo::MayFoldRegister for an operand
whose constraint codes include 'r' and 'm' and are otherwise only
immediate codes, above -O0, on a target that opts in through the new

    [26 lines not shown]
DeltaFile
+788-0llvm/test/CodeGen/X86/asm-constraints-rm-pressure.ll
+767-0llvm/test/CodeGen/X86/asm-constraints-torture.ll
+227-0llvm/test/CodeGen/X86/inline-asm-callbase.ll
+157-0llvm/test/CodeGen/X86/asm-constraints-rm-isel.ll
+73-2llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+74-0llvm/test/CodeGen/X86/asm-constraints-rm-callbr-fold.ll
+2,086-29 files not shown
+2,169-1615 files

LLVM/project 234f754 — llvm/lib/CodeGen RegAllocFast.cpp, llvm/test/CodeGen/X86 regallocfast-inline-asm-fold.mir regallocfast-inline-asm-fold-pressure.mir

[RegAllocFast] Fold foldable inline asm operands under register pressure

An inline asm register operand marked foldable (from an "rm" constraint)
may be replaced with a stack slot when the register allocator runs out
of registers. The greedy allocator does that when it spills the value.
The fast allocator can't: it assigns the operands of an instruction one
at a time, and folding replaces the instruction. So it reported
"inline assembly requires more registers than available" instead.

Before allocating a block, estimate from each inline asm's own operands
whether they fit in registers, and fold as many foldable registers as
needed to make them fit, so the common case without pressure still gets
a register. Values that only live across the asm don't count, since the
allocator spills them when it needs their registers. The estimate
follows allocateInstruction():

- First all defs get distinct registers, avoiding physreg defs; then all
  uses, along with the defs still occupied while the uses are read
  (early-clobber and tied defs, see isLiveThroughDef()), get distinct

    [26 lines not shown]
DeltaFile
+479-0llvm/test/CodeGen/X86/regallocfast-inline-asm-fold-pressure.mir
+320-0llvm/lib/CodeGen/RegAllocFast.cpp
+80-0llvm/test/CodeGen/X86/regallocfast-inline-asm-fold.mir
+879-03 files

LLVM/project 7446cdc — llvm/lib/CodeGen/GlobalISel InlineAsmLowering.cpp, llvm/lib/CodeGen/SelectionDAG SelectionDAGBuilder.cpp

[CodeGen] Report an error for a direct inline asm output in memory

An inline asm output returned by value has no memory to write to, yet a
constraint such as "=rm" picks memory, the most general constraint, as
does "=m". SelectionDAG asserted on that ("Can only indirectify direct
input operands!"), and GlobalISel dereferenced a null pointer. Clang
never emits such an output, since it passes the address of a memory
output, but other IR can. Report "cannot handle direct memory outputs
yet for constraint 'm'" instead, like the other inline asm errors there.

Assisted-by: Claude Opus 5.5
DeltaFile
+31-0llvm/test/CodeGen/X86/inline-asm-direct-mem-output-error.ll
+16-6llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+13-0llvm/test/CodeGen/AArch64/inline-asm-direct-mem-output-error.ll
+10-0llvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp
+70-64 files

LLVM/project 18f445c — llvm/lib/CodeGen TargetInstrInfo.cpp, llvm/test/CodeGen/X86 greedy-inline-asm-fold.mir

[TargetInstrInfo] Fix folding inline asm operands next to tied operands

foldInlineAsmMemOperand() swapped a register operand for the target's
memory operands with MachineInstr::removeOperand(), which asserts when a
later operand is tied, because moving it would break the tie. Inline asm
lists every input after every output, so folding any operand that comes
before another tied pair asserted, e.g. an "rm" input followed by the
input of a "+r" operand, or one of two "+rm" operands. Without
assertions, the moved operands kept stale tie indices. Untie the
operands, rebuild the operand list, and re-tie the remaining pairs at
their new positions.

It also gave up when the register appears in more than one operand, e.g.
one value passed to two "rm" operands, which left the greedy allocator
unable to spill that value at all. Fold every such operand into the
stack slot.

Finally, take MayLoad from the folded operands rather than from every
read of the register: a folded def whose tied use is another virtual

    [9 lines not shown]
DeltaFile
+85-32llvm/lib/CodeGen/TargetInstrInfo.cpp
+108-0llvm/test/CodeGen/X86/greedy-inline-asm-fold.mir
+193-322 files

LLVM/project ed4c3d9 — llvm/lib/CodeGen/MIRParser MIParser.cpp, llvm/test/CodeGen/MIR/X86 inline-asm-foldable.mir

Parse 'foldable' in one place and test the class-less form

Replace the ParseOptionalFoldable lambda with a single check at the end of
parseSymbolicInlineAsmOperand by making the ':' constraint parsing
conditional. Add class-less "regdef foldable" and "reguse foldable" operands
to inline-asm-foldable.mir, which take the path without a ':' constraint
that wasn't tested before.

Assisted-by: Claude Opus 5.5
DeltaFile
+64-68llvm/lib/CodeGen/MIRParser/MIParser.cpp
+5-5llvm/test/CodeGen/MIR/X86/inline-asm-foldable.mir
+69-732 files

FreeBSD/src 6db6755 — share/man/man7 ports.7

ports.7: Document how to use mdo(1) for SU_CMD

Reviewed by:    olce
MFC after:      1 week
Sponsored by:   fme AG
Differential Revision:  https://reviews.freebsd.org/D60443

(cherry picked from commit 8eb863097f264794eccd8ef7cdaf95aa80260353)
DeltaFile
+3-1share/man/man7/ports.7
+3-11 files

Dreckly/dreckly a5e1b2d — www/curl buildlink3.mk Makefile.common

curl: Update to 8.23.0
DeltaFile
+2-9www/curl/options.mk
+4-6www/curl/Makefile
+8-1www/curl/PLIST
+4-4www/curl/distinfo
+1-4www/curl/buildlink3.mk
+2-3www/curl/Makefile.common
+21-276 files

LLVM/project 24b1279 — clang/include/clang/Sema Sema.h, clang/lib/Parse ParseExprCXX.cpp

[Clang] Fix build of PackIndexingTypeLocs (#232194)

Their typelocs were not built correctly.

Assisted-by: LLDB and my hands
DeltaFile
+10-11clang/lib/Sema/SemaCXXScopeSpec.cpp
+11-9clang/lib/Parse/ParseExprCXX.cpp
+20-0clang/unittests/AST/SourceLocationTest.cpp
+7-12clang/lib/Sema/SemaType.cpp
+6-10clang/lib/Sema/TreeTransform.h
+5-7clang/include/clang/Sema/Sema.h
+59-495 files not shown
+72-6911 files

OPNSense/core 0fdf83c — src/etc/inc interfaces.inc, src/opnsense/mvc/app/controllers/OPNsense/Interfaces/forms dialogAssignment.xml

When ISC exists, it wins
DeltaFile
+15-15src/etc/inc/interfaces.inc
+2-2src/opnsense/mvc/app/models/OPNsense/Interfaces/NetworkInterface.xml
+2-2src/opnsense/mvc/app/controllers/OPNsense/Interfaces/forms/dialogAssignment.xml
+19-193 files

FreeBSD/ports 79b82bd — security/vuls Makefile distinfo

security/vuls: Update to 0.42.0

Release notes:  https://github.com/future-architect/vuls/releases/tag/v0.42.0
DeltaFile
+5-5security/vuls/distinfo
+1-2security/vuls/Makefile
+6-72 files

LLVM/project f75eae5 — llvm/test/CodeGen/MIR/X86 inline-asm-foldable.mir

Remove (mostly) redundant run line

The second run line showed that the *printed* form of the numeric flag (1076101129 -> reguse:GR32 foldable) parses back. But the first run line already contains the symbolic syntax, so it may be a bit overkill.
DeltaFile
+0-2llvm/test/CodeGen/MIR/X86/inline-asm-foldable.mir
+0-21 files

LLVM/project 493c91d — clang/lib/AST/ByteCode Compiler.cpp, clang/test/AST static-compound-literals-reeval.cpp

[clang][bytecode] Use `ConstantExpr` result for non-primitive APValues (#231886)

Create a local variable and initialize it from the `APValue`.
DeltaFile
+52-5clang/lib/AST/ByteCode/Compiler.cpp
+13-0clang/test/AST/ByteCode/cxx20.cpp
+6-6clang/test/SemaCXX/source_location.cpp
+1-0clang/test/AST/static-compound-literals-reeval.cpp
+72-114 files

LLVM/project a95de36 — clang/include/clang/Basic DiagnosticDriverKinds.td, flang/lib/Frontend CompilerInvocation.cpp

[flang] Reject oversized -ffixed-line-length values (#229972)

Fixes #227460

## Summary

Reject values of -ffixed-line-length that exceed
std::numeric_limits<int>::max().

The option value is parsed as a 64-bit integer but stored as an
int. Values exceeding the maximum representable int value could
therefore be narrowed without proper validation.

Add a diagnostic for oversized values and regression tests covering
the integer boundary for both flang and flang_fc1.

Tests:
- flang/test/Driver/fixed-line-length.f90
DeltaFile
+9-0flang/test/Driver/fixed-line-length.f90
+5-0flang/lib/Frontend/CompilerInvocation.cpp
+2-0clang/include/clang/Basic/DiagnosticDriverKinds.td
+16-03 files

FreeBSD/ports 4191fe1 — devel/llvm-devel Makefile Makefile.RUNTIMES, devel/llvm-devel/files patch-flang-rt_lib_quadmath_complex-math.c

devel/llvm-devel: new snapshot, aarch64 improvements

Enable COMPILER_RT, FLANG, and OPENMP options.  Flang requires a
patch to make not compile quadmath functions requiring C11 functionality
FreeBSD hasn't implemented.  It's unclear to me why we're attemping
to compile them on aarch64 and not other targets, but it's easy to
just ifdef out the file and this should match x86.
DeltaFile
+14-2devel/llvm-devel/pkg-plist
+15-0devel/llvm-devel/files/patch-flang-rt_lib_quadmath_complex-math.c
+3-3devel/llvm-devel/distinfo
+2-2devel/llvm-devel/Makefile.snapshot
+0-1devel/llvm-devel/Makefile
+1-0devel/llvm-devel/Makefile.RUNTIMES
+35-86 files

Dreckly/dreckly 7d3e76a — security/libgcrypt distinfo, security/libgcrypt/patches patch-aa patch-config.h.in

Revert gcrypt updates 'til the thread-local storage req is sorted
DeltaFile
+28-0security/libgcrypt/patches/patch-mpi_config.links
+13-13security/libgpg-error/patches/patch-src_argparse.c
+22-0security/libgcrypt/patches/patch-cipher_aria.c
+16-0security/libgcrypt/patches/patch-config.h.in
+10-5security/libgcrypt/distinfo
+15-0security/libgcrypt/patches/patch-aa
+104-187 files not shown
+146-5113 files

LLVM/project 003b96e — lldb/test tsan-suppressions.txt, lldb/test/API lit.cfg.py

[lldb] Add TSan supression for tests (#231565)

This adds a suppressions file for ThreadSanitizer. The goal is to hide
sanitizer for failures that we can't easily fix.

To actually have real content and test that this works, I put the TSan
error found by TestCancelAttach.py as the first ignored error.

assisted-by: Claude
DeltaFile
+6-1lldb/test/Unit/lit.cfg.py
+6-1lldb/test/Shell/lit.cfg.py
+6-1lldb/test/API/lit.cfg.py
+6-0lldb/test/tsan-suppressions.txt
+24-34 files

LLVM/project 604173d — llvm/lib/Target/SPIRV SPIRVGlobalRegistry.cpp, llvm/test/CodeGen/SPIRV/extensions/SPV_KHR_untyped_pointers untyped-ptr-ptr-ops.ll

[SPIR-V] Avoid duplicate untyped pointer types per storage class (#232184)

Each type is cached under one key, and adding it under a pointee key
dropped its untyped pointer entry

Then the next lookup made a second copy and select mixing the copies
crashed
DeltaFile
+9-0llvm/test/CodeGen/SPIRV/extensions/SPV_KHR_untyped_pointers/untyped-ptr-ptr-ops.ll
+1-0llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
+10-02 files

LLVM/project 884fb10 — llvm/include/llvm/Analysis RegionInfoImpl.h RegionInfo.h, llvm/include/llvm/CodeGen MachineRegionInfo.h

[Analysis] Remove virtual functions in RegionInfoBase (#231958)

MSVC C4661 warns about no suitable definition being provided for an
explicit template instantiation request. In the LLVM dylib build, MSVC
instantiates the extern template base of a dllexported class. This
triggers C4661 for base class templates whose members are only declared,
with their definitions in a separate header.

The above applies to the two derived classes for `RegionInfoBase`,
`RegionInfo` and `MachineRegionInfo`. However, the only virtual method
of importance for `RegionInfoBase` can be moved to the `RegionTraits`
template specializations, removing the need to have class-level
annotations in the derived classes. The other virtual method was the
destructor, which is no longer virtual and kept private, so the base
class can only be destroyed via its friend (derived) classes.

The effort to build LLVM as a dylib is tracked in #109483.
DeltaFile
+25-15llvm/include/llvm/CodeGen/MachineRegionInfo.h
+18-12llvm/lib/CodeGen/MachineRegionInfo.cpp
+13-16llvm/include/llvm/Analysis/RegionInfo.h
+13-9llvm/lib/Analysis/RegionInfo.cpp
+1-1llvm/include/llvm/Analysis/RegionInfoImpl.h
+70-535 files

LLVM/project e45e8f0 — clang/lib/CodeGen CGExpr.cpp, clang/test/CodeGen attr-counted-by-or-null-for-pointers.c attr-sized-by-or-null-for-pointers.c

[Clang][counted_by] Don't re-evaluate the base of a counted_by pointer access for -fsanitize=array-bounds

When indexing a 'counted_by' pointer field with -fsanitize=array-bounds,
EmitCountedByBoundsChecking was handed an invalid address and re-emitted
the field's l-value to locate the count. That re-evaluated the struct
base, duplicating its side-effects:

  struct p { int count; int *buf __counted_by(count); };
  struct p *q;
  int f(int i) { return q++->buf[i]; }   // 'q' incremented twice
  int g(int i) { return get()->buf[i]; } // 'get' called twice

i.e. enabling the sanitizer changed the program's behavior.

When the subscript base is exactly the field load, emit the field's
l-value once, load the pointer from it (as the default case of
EmitPointerWithAlignment does, through EmitLoadOfLValue so that a
'__ptrauth'-qualified field is still authenticated), and pass the
field's address to the bounds check. When there's an intervening cast (e.g.

    [6 lines not shown]
DeltaFile
+136-26clang/test/CodeGen/attr-counted-by-base-exprs.c
+50-13clang/lib/CodeGen/CGExpr.cpp
+12-12clang/test/CodeGen/attr-sized-by-or-null-for-pointers.c
+12-12clang/test/CodeGen/attr-sized-by-for-pointers.c
+24-0clang/test/CodeGen/attr-counted-by-ptrauth.c
+6-6clang/test/CodeGen/attr-counted-by-or-null-for-pointers.c
+240-691 files not shown
+246-757 files

LLVM/project 96610d2 — clang/test/CodeGen attr-counted-by-union-storage.c attr-counted-by-base-exprs.c, clang/test/Sema builtin-counted-by-ref.c

[Clang][counted_by][NFC] Add missing tests for counted_by and __builtin_counted_by_ref

Add Sema coverage for __builtin_counted_by_ref:
  - a bit-field counter on a 'counted_by' pointer (not just a FAM),
  - the '_or_null' and 'sized_by' variants, which return 'void *',
  - qualified, enum, and typedef counter types, which determine the
    returned pointee type,
  - nested, anonymous, by-value, and subscripted bases.

Add CodeGen coverage for the base-expression shapes reaching a counted_by
flexible array member, for both __builtin_dynamic_object_size and
-fsanitize=array-bounds: call and side-effecting bases (which __bdos
must not re-evaluate), pointer chains, conditional bases, negative
constant indices, enum counters, and mixed index widths.

Assisted-by: Claude Opus 5.5
DeltaFile
+306-0clang/test/CodeGen/attr-counted-by-base-exprs.c
+105-0clang/test/Sema/builtin-counted-by-ref.c
+21-0clang/test/CodeGen/attr-counted-by-union-storage.c
+432-03 files

LLVM/project cbece0e — clang/test/Sema builtin-counted-by-ref.c

Rename test functions for clarity and consistency
DeltaFile
+6-6clang/test/Sema/builtin-counted-by-ref.c
+6-61 files

LLVM/project 5811bed — lldb/test/API/functionalities/thread/concurrent_events TestConcurrentTwoWatchpointsOneSignal.py

[lldb] Disable flaky TestConcurrentTwoWatchpointsOneSignal (#231566)
DeltaFile
+3-0lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoWatchpointsOneSignal.py
+3-01 files

LLVM/project 056ff34 — llvm/lib/Transforms/Vectorize VPlanUtils.cpp

[VPlan] Add missed maybe_unused to createSIVSteps (NFC) (#232216)

This was missed in bb12c270d7 ([VPlan] Strip IR trunc around IntOrFp
inductions, #231837).
DeltaFile
+2-2llvm/lib/Transforms/Vectorize/VPlanUtils.cpp
+2-21 files

LLVM/project 80017ba — llvm/docs/TableGen BackGuide.md, llvm/include/llvm/TableGen Record.h

TableGen: Store classes and defs in a StringMap (#231573)

Classes and defs were kept in a std::map ordered by name, which makes
every lookup a series of string comparisons over names that often share
long prefixes. Store them in a StringMap instead, and have getClasses()
and getDefs() return a list sorted by name, built when first needed
after records are added.

Gigainstructions executed by llvm-tblgen --null-backend

```
             before   after
  AMDGPU.td   18.17   16.98   -6.6%
  X86.td       6.15    5.84   -5.1%
  AArch64.td   3.32    3.00   -9.7%
  RISCV.td     8.26    7.44   -9.9%
```

Including the backends, all tablegen runs in a build of all targets and

    [3 lines not shown]
DeltaFile
+36-10llvm/lib/TableGen/Record.cpp
+14-12llvm/include/llvm/TableGen/Record.h
+8-8mlir/lib/Tools/mlir-tblgen/MlirTblgenMain.cpp
+8-8llvm/utils/TableGen/CTagsEmitter.cpp
+5-7mlir/tools/mlir-tblgen/OpGenHelpers.cpp
+3-8llvm/docs/TableGen/BackGuide.md
+74-535 files not shown
+86-6911 files

LLVM/project 1bc9e5c — clang/test/Sema builtin-counted-by-ref.c

Rename test functions for clarity and consistency
DeltaFile
+6-6clang/test/Sema/builtin-counted-by-ref.c
+6-61 files