LLVM/project 697007dclang/lib/CIR/Dialect/Transforms/TargetLowering CIRABIRewriteContext.cpp

Update clang/lib/CIR/Dialect/Transforms/TargetLowering/CIRABIRewriteContext.cpp

Taken verbatim.

Co-authored-by: Erich Keane <ekeane at nvidia.com>
DeltaFile
+1-1clang/lib/CIR/Dialect/Transforms/TargetLowering/CIRABIRewriteContext.cpp
+1-11 files

GhostBSD/build 49d6b75. build.sh, pkg XDrivers.conf

Add XDrivers package repository configuration and build steps
DeltaFile
+5-0pkg/XDrivers.conf
+4-0build.sh
+9-02 files

HardenedBSD/src 23f04e3release/tools vmimage.subr oci-image-runtime.conf

HBSD: Resolve merge conflicts

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
DeltaFile
+1-14release/tools/oci-image-runtime.conf
+0-4release/tools/vmimage.subr
+1-182 files

HardenedBSD/src cb886e6sys/arm/include _inttypes.h, sys/arm64/include _inttypes.h

Merge remote-tracking branch 'rad/freebsd/current/main' into hardened/current/master

Conflicts:
        release/tools/oci-image-runtime.conf (unresolved)
        release/tools/vmimage.subr (unresolved)
DeltaFile
+34-26sys/net/iflib.c
+45-0sys/x86/include/_inttypes.h
+45-0sys/riscv/include/_inttypes.h
+45-0sys/powerpc/include/_inttypes.h
+45-0sys/arm64/include/_inttypes.h
+45-0sys/arm/include/_inttypes.h
+259-2612 files not shown
+353-4518 files

FreeNAS/freenas 18074e7tests/api2 test_container.py test_replication.py

rm bulk tests
DeltaFile
+0-2,131tests/api2/test_300_nfs.py
+0-1,411tests/api2/test_200_ftp.py
+0-818tests/api2/test_zfs_resource_create.py
+0-701tests/api2/test_011_user.py
+0-693tests/api2/test_replication.py
+0-648tests/api2/test_container.py
+0-6,402282 files not shown
+0-38,701288 files

GhostBSD/ports 4989834deskutils/mate-utils Makefile, deskutils/mate-utils/files patch-baobab_src_baobab-utils.c

Merge pull request #129 from ghostbsd/ghostbsd/issues#72

deskutils/mate-utils: fix inflated ZFS capacity in disk usage analyzer
DeltaFile
+81-0deskutils/mate-utils/files/patch-baobab_src_baobab-utils.c
+1-1deskutils/mate-utils/Makefile
+82-12 files

LLVM/project 1644b94clang/lib/CIR/Dialect/Transforms CallConvLoweringPass.cpp, clang/lib/CIR/Dialect/Transforms/TargetLowering CIRABIRewriteContext.cpp

[CIR] Honor the Direct coercion offset in x86_64 callconv lowering

When a record's low eightbyte holds no field, the classifier passes it in one
register read from byte 8 rather than byte 0. CallConvLowering had no way to
represent that, so `convertABIArgInfo` rejected the whole signature as NYI.

`ArgClassification` now carries the offset and `emitCoercionToMemory` reads and
writes the coerced scalar through a `u8` `cir.ptr_stride` at that byte. The
offset-zero path is untouched.

A register-tuple coercion at an offset is refused rather than read from the
wrong bytes, a pair SysV cannot currently produce.

Supersedes #203640, which had the coercion mechanism but nothing calling it.

Assisted-by: Cursor / claude-opus-5
DeltaFile
+123-0clang/test/CIR/Transforms/abi-lowering/x86_64-struct-direct-offset.cir
+80-33clang/lib/CIR/Dialect/Transforms/TargetLowering/CIRABIRewriteContext.cpp
+26-16clang/lib/CIR/Dialect/Transforms/CallConvLoweringPass.cpp
+31-0clang/test/CIR/CodeGen/call-conv-lowering-x86_64-empty.cpp
+15-2mlir/include/mlir/ABI/ABIRewriteContext.h
+0-10clang/test/CIR/Transforms/abi-lowering/x86_64-aggregate-nyi.cir
+275-616 files

OpenBSD/src ACzvkBUsys/net pf.c

   Prevent pf dropping TCP state with crafted reset packet.

   Revision 1.1212 of pf.c weakened the TCP reset check in stateful
   connection tracking to let legitimate resets pass in the backwards
   window.  Such a reset is accepted only if its acknowledgment number
   matches perfectly.  But as a workaround for broken stacks, pf
   replaces an acknowledgment number of 0 in a reset with the tracked
   sequence of the peer.  Then the perfect match always succeeds, and
   an attacker can spoof resets more easily than intended.  Use the
   acknowledgment number from the wire, before the workaround has
   modified it.

   discovered by Minghao Zhang; OK sashan@
VersionDeltaFile
1.1239+4-3sys/net/pf.c
+4-31 files

NetBSD/pkgsrc-wip 5e05d54mesa Makefile distinfo, mesa/patches patch-src_util_os__file.c patch-src_gallium_auxiliary_vl_vl__csc.c

mesa: updated to 25.3.6
DeltaFile
+86-0mesa/patches/patch-src_gallium_auxiliary_vl_vl__csc.c
+6-15mesa/patches/patch-src_util_os__file.c
+4-15mesa/options.mk
+4-4mesa/distinfo
+2-3mesa/Makefile
+102-375 files

LLVM/project e6ecd41llvm/lib/Target/AMDGPU AMDGPULowerIntrinsics.cpp, llvm/lib/Target/AMDGPU/AsmParser AMDGPUAsmParser.cpp

[AMDGPU] Validate barrier ID in S_BARRIER_SIGNAL_ISFIRST

Value user_cluster_barrier_id is not supported.
DeltaFile
+3-36llvm/test/CodeGen/AMDGPU/lower-intrinsics-cluster-barrier.ll
+23-0llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+9-0llvm/lib/Target/AMDGPU/AMDGPULowerIntrinsics.cpp
+9-0llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.barrier.signal.isfirst.invalid_barrier.ll
+5-0llvm/test/MC/AMDGPU/gfx13_err.s
+3-0llvm/test/MC/AMDGPU/gfx12_err.s
+52-366 files

LLVM/project a38e11bllvm/lib/Target/RISCV RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV/rvv convert-from-arbitrary-fp.ll fixed-vector-convert-from-arbitrary-fp.ll

[RISCV] Lower CONVERT_FROM_ARBITRARY_FP of Float8E5M2 with Zvfofp8min
DeltaFile
+486-0llvm/test/CodeGen/RISCV/rvv/fixed-vector-convert-from-arbitrary-fp.ll
+54-0llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+24-0llvm/test/CodeGen/RISCV/rvv/convert-from-arbitrary-fp.ll
+564-03 files

LLVM/project 1d2d008llvm/lib/CodeGen/SelectionDAG TargetLowering.cpp

fixup! Emit error right away upon unsupported integer types
DeltaFile
+3-0llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+3-01 files

LLVM/project e103143llvm/lib/CodeGen/SelectionDAG TargetLowering.cpp, llvm/test/CodeGen/RISCV convert-from-arbitrary-fp.ll

fixup! Address review comments
DeltaFile
+0-137llvm/test/CodeGen/RISCV/rvv/fixed-convert-from-arbitrary-fp.ll
+137-0llvm/test/CodeGen/RISCV/rvv/fixed-vector-convert-from-arbitrary-fp.ll
+7-8llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+3-4llvm/test/CodeGen/RISCV/convert-from-arbitrary-fp.ll
+147-1494 files

LLVM/project 474bd92llvm/lib/CodeGen/SelectionDAG TargetLowering.cpp, llvm/test/CodeGen/RISCV convert-from-arbitrary-fp.ll

[Legalizer] Do not use illegal type when expanding CONVERT_FROM_ARBITRARY_FP
DeltaFile
+137-0llvm/test/CodeGen/RISCV/rvv/fixed-convert-from-arbitrary-fp.ll
+70-0llvm/test/CodeGen/RISCV/convert-from-arbitrary-fp.ll
+42-11llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+249-113 files

NetBSD/pkgsrc eTBNdXadoc CHANGES-2026

   Updated time/py-durationpy; Added lang/libclc
VersionDeltaFile
1.5785+3-1doc/CHANGES-2026
+3-11 files

NetBSD/pkgsrc lgYdMYrlang/libclc distinfo buildlink3.mk, lang/llvm version.mk

   libclc: added version 21.1.8

   libclc is an open source implementation of the library requirements of
   the OpenCL C programming language, as specified by the OpenCL 1.1
   Specification. The following sections of the specification impose
   library requirements:

       6.1: Supported Data Types
       6.2.3: Explicit Conversions
       6.2.4.2: Reinterpreting Types Using as_type() and as_typen()
       6.9: Preprocessor Directives and Macros
       6.11: Built-in Functions
       9.3: Double Precision Floating-Point
       9.4: 64-bit Atomics
       9.5: Writing to 3D image memory objects
       9.6: Half Precision Floating-Point

   libclc is intended to be used with the Clang compiler's OpenCL frontend.


    [4 lines not shown]
VersionDeltaFile
1.1+128-0lang/libclc/PLIST
1.1+33-0lang/libclc/Makefile
1.1+21-0lang/libclc/DESCR
1.1+15-0lang/libclc/buildlink3.mk
1.22+3-2lang/llvm/version.mk
1.1+5-0lang/libclc/distinfo
+205-21 files not shown
+207-37 files

FreeNAS/freenas 5688d95tests/api2 test_s3_accesskey.py

ruff format
DeltaFile
+3-10tests/api2/test_s3_accesskey.py
+3-101 files

LLVM/project def96c4mlir/include/mlir/IR OpImplementation.h, mlir/unittests/IR CMakeLists.txt OpImplementationTest.cpp

[mlir][IR] Initialize empty dialect resource handles (#220585)

A default AsmDialectResourceHandle leaves its dialect pointer
indeterminate. Initialize the pointer to null and test all
default-handle accessors.

Valgrind pre-fix trace:

```
  OpImplementationTest.cpp:19: Failure
  Expected equality of handle.getDialect() and nullptr
  handle.getDialect() was 0x120b508
  1 FAILED TEST
```

Found by Coverity.

Assisted-by: Codex
DeltaFile
+21-0mlir/unittests/IR/OpImplementationTest.cpp
+1-1mlir/include/mlir/IR/OpImplementation.h
+1-0mlir/unittests/IR/CMakeLists.txt
+23-13 files

LLVM/project dbee54amlir/include/mlir/IR AsmState.h, mlir/unittests/IR AttributeTest.cpp

[mlir][IR] Initialize empty AsmResourceBlob mutability (#220586)

The default constructor leaves dataIsMutable indeterminate even though
isMutable may be called on an empty blob. Treat default-constructed
blobs as immutable and cover that state with a unit test.

Valgrind pre-fix trace:

```
  Invalid read of size 8
    at testing::Test::Run()
  Invalid write of size 8
  Invalid free() / delete / delete[] / realloc()
  ERROR SUMMARY: 6 errors from 6 contexts
```

Found by Coverity.

Assisted-by: Codex
DeltaFile
+11-0mlir/unittests/IR/AttributeTest.cpp
+1-1mlir/include/mlir/IR/AsmState.h
+12-12 files

NetBSD/pkgsrc b3wEZFCtime/py-durationpy Makefile distinfo

   py-durationpy: updated to 0.11

   0.11
   Unknown changes
VersionDeltaFile
1.3+4-4time/py-durationpy/distinfo
1.4+2-2time/py-durationpy/Makefile
+6-62 files

LLVM/project 8ca2c61clang/test/OpenMP interchange_codegen.cpp, llvm/test/CodeGen/AMDGPU flat-saddr-atomics.ll flat-saddr-load.ll

Merge branch 'main' into users/ziqingluo/PR-post-185840466
DeltaFile
+17,282-3,458llvm/test/tools/llvm-mca/AArch64/Cortex/C1Premium-sve-instructions.s
+7,983-1,591llvm/test/tools/llvm-mca/AArch64/Cortex/C1Premium-neon-instructions.s
+1,738-2,433clang/test/OpenMP/interchange_codegen.cpp
+3,312-825llvm/test/CodeGen/AMDGPU/flat-saddr-load.ll
+2,162-1,132llvm/test/CodeGen/AMDGPU/flat-saddr-atomics.ll
+1,289-1,267llvm/test/tools/llvm-mca/AArch64/Cortex/C1Premium-basic-instructions.s
+33,766-10,7061,084 files not shown
+84,778-35,9221,090 files

LLVM/project 6a891b1flang-rt/unittests CMakeLists.txt

[flang-rt] Resolve unit test shared library paths (#220693)

This PR resolves a problem with finding the libflang_rt.runtime.so
library when running flang-rt unit tests whose failure looked like:

FAIL: flang-rt-Unit ::
Runtime/CUDA/./FlangCufRuntimeTests/failed_to_discover_tests_from_gtest
(1 of 17)
******************** TEST 'flang-rt-Unit ::

Runtime/CUDA/./FlangCufRuntimeTests/failed_to_discover_tests_from_gtest'
FAILED ********************

********************
FAIL: flang-rt-Unit ::
Runtime/./RuntimeTests/failed_to_discover_tests_from_gtest (2 of 17)
******************** TEST 'flang-rt-Unit ::
Runtime/./RuntimeTests/failed_to_discover_tests_from_gtest' FAILED
********************

    [25 lines not shown]
DeltaFile
+10-0flang-rt/unittests/CMakeLists.txt
+10-01 files

LLVM/project f1b5015llvm/test/Transforms/LoopVectorize branch-weights.ll, llvm/test/Transforms/LoopVectorize/VPlan epilogue-vectorization-printing.ll

[LV] Add tests for epilogue vectorization of folded bypass checks (NFC). (#220703)

Add vplan printing and branch weights tests with various cases where
parts of the epilogue skeleton can be folded.
DeltaFile
+516-0llvm/test/Transforms/LoopVectorize/VPlan/epilogue-vectorization-printing.ll
+126-0llvm/test/Transforms/LoopVectorize/branch-weights.ll
+642-02 files

LLVM/project ad26dd5utils/bazel/llvm-project-overlay/mlir BUILD.bazel

[bazel] Fix mlir bazel build failure. (#220706)

Add bazel dependency for mlir that was introduced in
https://github.com/llvm/llvm-project/pull/220468
DeltaFile
+1-0utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+1-01 files

LLVM/project 334ddbdllvm/include/llvm/TargetParser AMDGPUTargetParser.h, llvm/lib/Target/AMDGPU GCNSubtarget.cpp

[AMDGPU] Add getLocalMemorySize to TargetParser

Add getLocalMemorySize(GPUKind, bool FullSIMDMode) and the SubArchType
overload, returning the LDS a work-group can reach, so it can be
queried from a GPU name alone without an MCSubtargetInfo.

The number of SIMDs a work-group runs on is a per-kernel mode rather
than a property of the GPU, so it stays a parameter. GCNSubtarget
initializes its cached LocalMemorySize from the new entry point. There
is no functional change.

Change-Id: I9c0b281af6163f6d06d30b847c644915f3a654d8
Co-Authored-By: Claude Opus 5 (1M context) <noreply at anthropic.com>
DeltaFile
+26-0llvm/unittests/TargetParser/TargetParserTest.cpp
+18-0llvm/lib/TargetParser/AMDGPUTargetParser.cpp
+7-0llvm/include/llvm/TargetParser/AMDGPUTargetParser.h
+2-1llvm/lib/Target/AMDGPU/GCNSubtarget.cpp
+53-14 files

LLVM/project 66ccb08llvm/lib/Target/AMDGPU AMDGPU.td, llvm/lib/TargetParser AMDGPUTargetParser.cpp

[AMDGPU] Expose LDS block and flat scratch features to TargetParser

Add FeatureHalfAddressablePhysicalLocalMemory and
FeatureArchitectedFlatScratch to AMDGPUFrontendVisibleFeatures so
TargetParser carries them in its per-GPU feature bitset.

Both are listed in FrontendOnlyFeatures, so clang does not serialize
them into the target-feature string: they are capabilities implied by
the subtarget, not user-selectable.

Change-Id: I47a641eb8069a440da99f49708ad8059dd412690
Co-Authored-By: Claude Opus 5 (1M context) <noreply at anthropic.com>
DeltaFile
+29-0llvm/unittests/TargetParser/TargetParserTest.cpp
+13-4llvm/lib/TargetParser/AMDGPUTargetParser.cpp
+1-0llvm/lib/Target/AMDGPU/AMDGPU.td
+43-43 files

LLVM/project d03598dllvm/lib/Transforms/Instrumentation MemorySanitizer.cpp, llvm/test/Instrumentation/MemorySanitizer modf-sincos.ll

[msan] handle modf, sincos and sincospi intrinsics (#220416)

These intrinsics compute two values from a single floating-point (or
vector of floating-point) operand, returning a 2-element struct {T,T}.

Because of the struct return type, they bypass the generic nomem
intrinsic heuristic and fall back to strict operand shadow checks in
visitInstruction. This causes false positives on vector operations with
inactive/masked lanes, and zeroes out the result shadow.

Fix this by propagating the operand shadow and origin to both elements
of the result struct.
DeltaFile
+119-0llvm/test/Instrumentation/MemorySanitizer/modf-sincos.ll
+15-0llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
+134-02 files

LLVM/project d8bc639llvm/lib/Transforms/Utils LoopVersioning.cpp, llvm/test/Transforms/LoopVersioning preserved-analyses.ll

[LoopVersioning] Mark DT, LI and MSSA as perserved. (#220537)

Mark analyses as preserved. Follow-up to
https://github.com/llvm/llvm-project/pull/220290.

PR: https://github.com/llvm/llvm-project/pull/220537
DeltaFile
+35-0llvm/test/Transforms/LoopVersioning/preserved-analyses.ll
+7-1llvm/lib/Transforms/Utils/LoopVersioning.cpp
+42-12 files

LLVM/project 4b5f595clang/docs index.md HardwareAssistedAddressSanitizer.md

[clang][docs] Add basic user documentation for Hardware-assisted AddressSanitizer (HWASan) (#220075)

Create a basic user-facing guide for Hardware-assisted AddressSanitizer
(HWASan / `-fsanitize=hwaddress`) covering:
- Overview of HWASan and detectable bug types
- Supported platforms
- Basic usage example and crash report
- Passing runtime options via `HWASAN_OPTIONS`
- Disabling instrumentation via attribute and feature check
- Link to `HardwareAssistedAddressSanitizerDesign` for details

Co-authored-by: Gemini <noreply at google.com>

---------

Co-authored-by: Vitaly Buka <vitalybuka at google.com>
Co-authored-by: Gemini <noreply at google.com>
DeltaFile
+121-0clang/docs/HardwareAssistedAddressSanitizer.md
+1-0clang/docs/index.md
+122-02 files

FreeBSD/src 9d59ca7sys/net iflib.c

iflib: Do not hold the ifnet lock across registration

iflib_device_register() acquired IFNET_WLOCK to preserve lock order
when ether_ifattach() was called with the context lock held.  The context
lock is now released around ether_ifattach(), making registration-wide
ifnet serialization unnecessary.

Keeping IFNET_WLOCK across driver attachment also allows synchronous
interface event handlers to recurse on it.  The rtnetlink interface-group
dump does so through if_foreach_group() while handling the interface
attachment event.

Remove the outer lock and the corresponding failure-path unlock and
relock transitions.  Continue to drop the context lock around
ether_ifattach() and taskqueue drains, and preserve context-lock coverage
for driver attach and detach.

Validated under WITNESS on 82576 and I226 controllers.  Multiple VF
attach and detach cycles, netmap control operations, and every iflib

    [12 lines not shown]
DeltaFile
+5-18sys/net/iflib.c
+5-181 files