LLVM/project 23e4914.github CODEOWNERS

[NFC] Add default code reviewers for some AMDGPU-related files (#185942)
DeltaFile
+11-0.github/CODEOWNERS
+11-01 files

FreeBSD/doc 407a242website/data/zh-tw/news news.toml

traditional Chinese Translation of the latest news items (January and February 2026)
DeltaFile
+43-1website/data/zh-tw/news/news.toml
+43-11 files

HardenedBSD/src c1e3f96sys/compat/freebsd32 freebsd32_misc.c, sys/compat/linux linux_misc.c

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+1-1sys/compat/freebsd32/freebsd32_misc.c
+1-0sys/compat/linux/linux_misc.c
+2-12 files

HardenedBSD/src 465b568sys/compat/freebsd32 freebsd32_misc.c, sys/compat/linux linux_misc.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+1-1sys/compat/freebsd32/freebsd32_misc.c
+1-0sys/compat/linux/linux_misc.c
+2-12 files

HardenedBSD/ports 4a28a7aaudio/subtui distinfo, devel/rubygem-locale distinfo

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+5-5audio/subtui/distinfo
+7-0www/lexbor/pkg-plist
+3-3www/lexbor/distinfo
+3-3devel/rubygem-locale/distinfo
+2-2textproc/elasticsearch7/Makefile
+1-2textproc/kibana8/Makefile
+21-153 files not shown
+24-189 files

LLVM/project 0bebee6libc/shared/math fmabf16.h, libc/src/__support/math fmabf16.h

[libc][math][c++23] Add Fmabf16 math function (#182836)

closes #180171 
part of #177259 

Here are some extra changes apart from the usual which were needed
1. `libc/src/__support/FPUtil/generic/add_sub.h` → +0 -0 error
2. `libc/src/__support/FPUtil/generic/FMA.h` → implemented to handle
fmabf16(Normal,Normal,+/-INF)

```jsx
/home/runner/work/llvm-project/llvm-project/libc/test/src/math/fmabf16_test.cpp:62: FAILURE
Failed to match __llvm_libc_23_0_0_git::fmabf16(x, y, z) against LIBC_NAMESPACE::testing::mpfr::get_mpfr_matcher<mpfr::Operation::Fma>( input, __llvm_libc_23_0_0_git::fmabf16(x, y, z), 0.5, mpfr::RoundingMode::Nearest).
Input decimal: x: 338953138925153547590470800371487866880.00000000000000000000000000000000000000000000000000 y: 338953138925153547590470800371487866880.00000000000000000000000000000000000000000000000000 z: -inf
 First input bits: 0x7F7F = (S: 0, E: 0x00FE, M: 0x007F)
Second input bits: 0x7F7F = (S: 0, E: 0x00FE, M: 0x007F)
 Third input bits: (-Infinity)
Libc result: nan
MPFR result: -inf

    [16 lines not shown]
DeltaFile
+77-0libc/test/src/math/exhaustive/fmabf16_test.cpp
+66-0libc/test/src/math/fmabf16_test.cpp
+27-0libc/src/__support/math/fmabf16.h
+23-0libc/shared/math/fmabf16.h
+21-0libc/src/math/fmabf16.h
+19-0libc/test/src/math/exhaustive/CMakeLists.txt
+233-026 files not shown
+361-232 files

FreeBSD/doc 95051ccwebsite/data/zh-tw/news news.toml

traditional Chinese Translation of the latest news items (November and December 2025)
DeltaFile
+52-0website/data/zh-tw/news/news.toml
+52-01 files

NetBSD/src hkSJueYsys/dev/tc sticreg.h

   s/intererupts/interrupts/ in comment.
VersionDeltaFile
1.11+2-2sys/dev/tc/sticreg.h
+2-21 files

LLVM/project 9b61ff2clang/test/OpenMP target_teams_distribute_parallel_for_simd_schedule_codegen.cpp teams_distribute_parallel_for_simd_schedule_codegen.cpp

Revert "[OpenMP] Move OpenMP implicit argument to the end and reformat" (#186309)

Reverts llvm/llvm-project#185989
DeltaFile
+4,814-5,294clang/test/OpenMP/target_teams_distribute_parallel_for_simd_schedule_codegen.cpp
+4,758-5,238clang/test/OpenMP/teams_distribute_parallel_for_simd_schedule_codegen.cpp
+4,098-4,350clang/test/OpenMP/distribute_parallel_for_simd_codegen.cpp
+3,524-4,004clang/test/OpenMP/teams_distribute_parallel_for_schedule_codegen.cpp
+3,520-4,000clang/test/OpenMP/target_teams_distribute_parallel_for_schedule_codegen.cpp
+3,174-3,590clang/test/OpenMP/target_parallel_for_simd_codegen.cpp
+23,888-26,476350 files not shown
+112,671-126,870356 files

HardenedBSD/ports 558f402www/lexbor pkg-plist distinfo

www/lexbor: Update 2.6.0 => 2.7.0

Approved by:       db@, yuri@ (Mentors, implicit)
DeltaFile
+7-0www/lexbor/pkg-plist
+3-3www/lexbor/distinfo
+1-1www/lexbor/Makefile
+11-43 files

FreeBSD/ports 558f402www/lexbor pkg-plist distinfo

www/lexbor: Update 2.6.0 => 2.7.0

Approved by:       db@, yuri@ (Mentors, implicit)
DeltaFile
+7-0www/lexbor/pkg-plist
+3-3www/lexbor/distinfo
+1-1www/lexbor/Makefile
+11-43 files

LLVM/project a8c6ccelibc/config/linux/aarch64 entrypoints.txt, libc/config/linux/x86_64 entrypoints.txt

[libc] Add posix_memalign as external entrypoint on Linux x86/ARM. (#185310)

`posix_memalign` is provided by Scudo allocator and is a part of POSIX
standard, so we can safely declare it in the `<stdlib.h>` header on
Linux systems.
DeltaFile
+8-0libc/src/stdlib/CMakeLists.txt
+1-0libc/config/linux/aarch64/entrypoints.txt
+1-0libc/config/linux/x86_64/entrypoints.txt
+10-03 files

NetBSD/pkgsrc-wip 3484323py-beartype PLIST Makefile, py-camel-converter Makefile

py-ksef2: update to 0.9.0

v0.9.0 (2026-03-07)
Feat
    logging: add package structlog helpers
    add batch upload workflow
    add client lifecycle and transport config
    expand client layer with dedicated modules for all API domains
    reorganize infra mappers into domain-specific modules
    refactor domain models, remove deprecated module
    refactor core infrastructure with middleware support
    refactored certifacets client, mappers and models layers
    refactor the endpoints layer along with comprehensive unit tests, 100% coverage
    move Peppol from services to clients, improve API, add method with internal pagination

Fix
    mappers: handle unsupported authentication method codes
    permissions: add entity grants query endpoint
    logging: remove duplicate logger imports

    [16 lines not shown]
DeltaFile
+1,266-0py-beartype/PLIST
+207-114py-ksef2/PLIST
+120-0py-polyfactory/PLIST
+22-0py-polyfactory/Makefile
+19-0py-beartype/Makefile
+19-0py-camel-converter/Makefile
+1,653-11410 files not shown
+1,708-11816 files

OpenBSD/ports R1oNA89security/wycheproof distinfo Makefile, security/wycheproof/pkg PLIST

   Update to wycheproof 20260311
VersionDeltaFile
1.3+3-1security/wycheproof/pkg/PLIST
1.5+2-2security/wycheproof/distinfo
1.5+2-2security/wycheproof/Makefile
+7-53 files

LLVM/project 863e058clang/include/clang/CIR/Dialect/IR CIRDialect.td, clang/lib/CIR/CodeGen CIRGenAMDGPU.cpp CIRGenModule.cpp

[CIR][AMDGPU] Add module flags for AMDGPU target (#186081)

Upstreaming clangIR PR: https://github.com/llvm/clangir/pull/2100

This PR adds support to emit AMDGPU-specific module flags
`amdhsa_code_object_version` and `amdgpu_printf_kind` to match OGCG
behavior.

In `CIRGenModule`, the flags are stored as CIR module attributes:

`cir.amdhsa_code_object_version` (integer)
`cir.amdgpu_printf_kind` (string: "hostcall" or "buffered")
During lowering to LLVM IR (in LowerToLLVMIR.cpp), these attributes are
converted to LLVM module flags.
DeltaFile
+41-0clang/lib/CIR/CodeGen/CIRGenAMDGPU.cpp
+30-0clang/test/CIR/CodeGenHIP/amdgpu-module-flags.hip
+22-1clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVMIR.cpp
+3-0clang/include/clang/CIR/Dialect/IR/CIRDialect.td
+3-0clang/lib/CIR/CodeGen/CIRGenModule.cpp
+3-0clang/lib/CIR/CodeGen/CIRGenModule.h
+102-11 files not shown
+103-17 files

LLVM/project 6bf197dmlir/lib/Conversion/XeVMToLLVM XeVMToLLVM.cpp, mlir/lib/Target/LLVMIR/Dialect/XeVM XeVMToLLVMIRTranslation.cpp

Merge branch 'main' into revert-185989-UpdateImplicitArgs
DeltaFile
+247-16mlir/lib/Conversion/XeVMToLLVM/XeVMToLLVM.cpp
+84-44mlir/test/Conversion/XeVMToLLVM/xevm-to-llvm.mlir
+17-42openmp/docs/design/Runtimes.rst
+10-36mlir/test/Target/LLVMIR/xevm.mlir
+1-37mlir/lib/Target/LLVMIR/Dialect/XeVM/XeVMToLLVMIRTranslation.cpp
+0-31offload/test/api/omp_dynamic_shared_memory.c
+359-2067 files not shown
+371-24413 files

LLVM/project 0770c83mlir/lib/Conversion/XeVMToLLVM XeVMToLLVM.cpp, mlir/lib/Target/LLVMIR/Dialect/XeVM XeVMToLLVMIRTranslation.cpp

[XeVM] Add translation for XeVM cache-control attributes. (#181856)

Use `llvm.intr.ptr.annotation` to attach cache-control metadata to a
pointer. Each cache-control attribute produces its own annotation call;
multiple attributes are chained so every annotation sits on the same
pointer.

This approach protects the metadata across optimizations.
DeltaFile
+247-16mlir/lib/Conversion/XeVMToLLVM/XeVMToLLVM.cpp
+84-44mlir/test/Conversion/XeVMToLLVM/xevm-to-llvm.mlir
+10-36mlir/test/Target/LLVMIR/xevm.mlir
+1-37mlir/lib/Target/LLVMIR/Dialect/XeVM/XeVMToLLVMIRTranslation.cpp
+342-1334 files

NetBSD/src klvChJ2usr.bin/make main.c var.c, usr.bin/make/unit-tests varname-dot-make-save_dollars.mk opt-debug-graph2.exp

   make: ensure .MAKE.SAVE_DOLLARS is set.

   This makes it possible for macros to be set so as to work correctly
   whether .MAKE.SAVE_DOLLARS is "yes" (NetBSD) or "no" (bmake).
VersionDeltaFile
1.8+6-6usr.bin/make/unit-tests/varname-dot-make-save_dollars.mk
1.668+7-2usr.bin/make/main.c
1.1179+3-4usr.bin/make/var.c
1.365+3-1usr.bin/make/make.h
1.12+1-0usr.bin/make/unit-tests/opt-debug-graph2.exp
1.12+1-0usr.bin/make/unit-tests/opt-debug-graph3.exp
+21-133 files not shown
+24-139 files

LLVM/project ac71b18offload/libomptarget OffloadRTL.cpp, offload/plugins-nextgen/amdgpu/src rtl.cpp

[offload] Remove LIBOMPTARGET_SHARED_MEMORY_SIZE envar (#186231)

This commit removes the `LIBOMPTARGET_SHARED_MEMORY_SIZE` envar and
outputs a runtime warning if it is defined. Access to dynamic shared memory
should be obtained through the `dyn_groupprivate` clause (OpenMP 6.1) or
the launch arguments in liboffload kernel launch.
DeltaFile
+17-42openmp/docs/design/Runtimes.rst
+0-31offload/test/api/omp_dynamic_shared_memory.c
+0-26offload/test/api/omp_dynamic_shared_memory_amdgpu.c
+11-0offload/libomptarget/OffloadRTL.cpp
+0-4offload/plugins-nextgen/cuda/src/rtl.cpp
+0-4offload/plugins-nextgen/amdgpu/src/rtl.cpp
+28-1073 files not shown
+29-1119 files

LLVM/project 9226288clang/test/OpenMP target_teams_distribute_parallel_for_simd_schedule_codegen.cpp teams_distribute_parallel_for_simd_schedule_codegen.cpp

Revert "[OpenMP] Move OpenMP implicit argument to the end and reformat (#185989)"

This reverts commit 4376fbd7931048837d34c91b79f01cd1246637a5.
DeltaFile
+4,814-5,294clang/test/OpenMP/target_teams_distribute_parallel_for_simd_schedule_codegen.cpp
+4,758-5,238clang/test/OpenMP/teams_distribute_parallel_for_simd_schedule_codegen.cpp
+4,098-4,350clang/test/OpenMP/distribute_parallel_for_simd_codegen.cpp
+3,524-4,004clang/test/OpenMP/teams_distribute_parallel_for_schedule_codegen.cpp
+3,520-4,000clang/test/OpenMP/target_teams_distribute_parallel_for_schedule_codegen.cpp
+3,174-3,590clang/test/OpenMP/target_parallel_for_simd_codegen.cpp
+23,888-26,476350 files not shown
+112,671-126,870356 files

LLVM/project e51e9afmlir/lib/Dialect/XeGPU/Transforms XeGPUSgToWiDistributeExperimental.cpp, mlir/test/Dialect/XeGPU sg-to-wi-experimental-unit.mlir

[MLIR][XeGPU] Add distribution pattern for convertLayoutOp (#184826)
DeltaFile
+22-2mlir/lib/Dialect/XeGPU/Transforms/XeGPUSgToWiDistributeExperimental.cpp
+13-0mlir/test/Dialect/XeGPU/sg-to-wi-experimental-unit.mlir
+35-22 files

LLVM/project 13e94eaclang/lib/CodeGen CodeGenFunction.cpp

remove unused var
DeltaFile
+0-1clang/lib/CodeGen/CodeGenFunction.cpp
+0-11 files

LLVM/project 1cf130dmlir/test/Dialect/Builtin/Bytecode builtin_fixed.mlir

Exclude known failure case (#186305)

External resources does not produce same result on big-endian. Keeping
this test for regressions of the encoding scoped keeps it simple while
it doesn't affect the usage there. So just mark as XFAIL.
DeltaFile
+3-0mlir/test/Dialect/Builtin/Bytecode/builtin_fixed.mlir
+3-01 files

LLVM/project 40b2079clang/test/CodeGen attr-target-clones-ppc.c

adjust test to reflect the new IR we generate after rebasing on b3d99ac2cda4
DeltaFile
+4-4clang/test/CodeGen/attr-target-clones-ppc.c
+4-41 files

LLVM/project 7b677a8mlir/test/Dialect/Builtin/Bytecode builtin_fixed.mlir

Exclude known failure case

External resources does not produce same result on big-endian. Keeping this test for regressions of the encoding scoped keeps it simple while it doesn't affect the usage there. So just mark as XFAIL.
DeltaFile
+3-0mlir/test/Dialect/Builtin/Bytecode/builtin_fixed.mlir
+3-01 files

LLVM/project 94ba117mlir/lib/Dialect/XeGPU/Transforms XeGPUSubgroupDistribute.cpp, mlir/lib/Dialect/XeGPU/Utils XeGPUUtils.cpp

[MLIR][XeGPU] Support leading unit dim for reduction in sg to wi pass (#185110)
DeltaFile
+74-0mlir/test/Dialect/XeGPU/subgroup-distribute-unit.mlir
+30-16mlir/lib/Dialect/XeGPU/Transforms/XeGPUSubgroupDistribute.cpp
+31-15mlir/lib/Dialect/XeGPU/Utils/XeGPUUtils.cpp
+135-313 files

LLVM/project 4540415llvm/lib/Target/RISCV RISCVTargetTransformInfo.cpp, llvm/test/Analysis/CostModel/RISCV rvp-shuffle-reverse.ll

[RISCV] Fix crash in getShuffleCost for P-extension without V extension (#186149)

RISCVTTIImpl::getShuffleCost() crashes when querying the cost of a
reverse shufflevector on a target with the P-extension but without V/Zve
extensions. The SK_Reverse case calls
getContainerForFixedLengthVector(), which asserts hasVInstructions().

The P-extension uses fixed-width packed SIMD in GPRs, not RVV registers,
so V extension is typically not enabled.

Add an early return for P-extension fixed vectors in getShuffleCost,
consistent with the existing guards in getScalarizationOverhead,
getCastInstrCost, and getVectorInstrCost.
DeltaFile
+70-0llvm/test/Analysis/CostModel/RISCV/rvp-shuffle-reverse.ll
+7-0llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
+77-02 files

LLVM/project bcdf3c9llvm/lib/Target/RISCV RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV rvp-narrowing-shift-trunc.ll

[RISCV] Fix crash in combinePExtTruncate for truncate(srl) without MUL/SUB (#186141)

combinePExtTruncate is called from performTRUNCATECombine when the
P-extension is enabled. It attempts to match patterns like
truncate(srl(mul/sub(...), shamt)) and combine them into P-extension
narrowing shift instructions (e.g. PNSRLI, PNSRAI).

However, after extracting the shift input operand `Op` from the SRL
node, the function unconditionally accessed Op.getOperand(0) and
Op.getOperand(1) without first verifying that Op has at least two
operands. For example, when combining:

```
  truncate(v2i16
    srl(v2i32
      bitcast(v2i32 i64),   <-- Op = bitcast, a unary op with 1 operand
      BUILD_VECTOR <8, 8>))
```


    [7 lines not shown]
DeltaFile
+80-0llvm/test/CodeGen/RISCV/rvp-narrowing-shift-trunc.ll
+4-0llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+84-02 files

LLVM/project c6395bbmlir/lib/Dialect/XeGPU/Transforms XeGPULayoutImpl.cpp XeGPUPropagateLayout.cpp, mlir/test/Dialect/XeGPU propagate-layout.mlir propagate-layout-inst-data.mlir

[MLIR][XeGPU] Enhance Layout Propagation for broadcasting both leading dimensions and  inner unit dimensions (#185583)

This PR enhances the layout propagation rules for broadcast operations.

The source layout is derived from the result layout based on the
broadcast pattern:
1. Broadcast on leading dimensions
  The source layout is the slice layout of the result layout.
2. Broadcast on inner unit dimensions
The source layout matches the result layout, with sg_data and lane_data
set to 1.
3. Broadcast on both leading dimensions and inner unit dimensions
  The source layout is derived by combining the above two rules.
DeltaFile
+17-12mlir/lib/Dialect/XeGPU/Transforms/XeGPULayoutImpl.cpp
+27-0mlir/test/Dialect/XeGPU/propagate-layout.mlir
+21-0mlir/test/Dialect/XeGPU/propagate-layout-inst-data.mlir
+21-0mlir/test/Dialect/XeGPU/propagate-layout-subgroup.mlir
+11-4mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp
+7-7mlir/test/Dialect/XeGPU/xegpu-wg-to-sg-unify-ops.mlir
+104-233 files not shown
+115-369 files

LLVM/project 2aaef84llvm/include module.modulemap

[llvm] Fix modules build after 2e614f353871a9a0738c3b49d35d5ed4e480633b (#186302)
DeltaFile
+1-0llvm/include/module.modulemap
+1-01 files