LLVM/project d340a68clang/lib/AST MicrosoftMangle.cpp, clang/test/CodeGenCXX mangle-ms.cpp cfi-icall.cpp

Produce back-references for anonymous namespaces (#188843)

The Microsoft mangle implementation does not produce back-references for
anonymous namespaces, which results in nonsensical output from both
`undname` and `llvm-undname`. Consider the following example:

```
namespace {
    struct X {};
    X foo(X, X);
}

int main() {
    foo({}, {});
}
```

Clang 22.1.0
```

    [30 lines not shown]
DeltaFile
+13-1clang/test/CodeGenCXX/mangle-ms.cpp
+3-1clang/lib/AST/MicrosoftMangle.cpp
+1-1clang/test/CodeGenCXX/cfi-icall.cpp
+17-33 files

LLVM/project 7603603clang/lib/AST/ByteCode Interp.h, clang/test/Frontend fixed_point_sub_const.c

[clang][bytecode] Fix an assertion failure with fixed-point types (#189033)

Negation can also fail for fixed-point values.
DeltaFile
+3-0clang/test/Frontend/fixed_point_sub_const.c
+1-1clang/lib/AST/ByteCode/Interp.h
+4-12 files

LLVM/project 1a08f41lldb/packages/Python/lldbsuite/test decorators.py

[lldb] Disable arm64e tests under ASan (#189052)

Technically ASan is supported, but we need an arm64e sanitizer runtime.
It's still enabled when the whole test suite runs as arm64e, assuming
that you need arm64e runtimes regardless.

This will fix
https://ci.swift.org/view/all/job/llvm.org/job/lldb-cmake-sanitized-os-verification/

rdar://173313715
DeltaFile
+7-0lldb/packages/Python/lldbsuite/test/decorators.py
+7-01 files

LLVM/project 5c1ddabclang/lib/Driver Driver.cpp, clang/test/Driver pseudo-probe.c

[clang][Darwin] Externalize pseudoprobe and debug info (#186873)
DeltaFile
+22-0clang/test/Driver/pseudo-probe.c
+13-5clang/lib/Driver/Driver.cpp
+35-52 files

LLVM/project fa7ce27clang/docs OpenMPSupport.rst

[Clang][OpenMP][NFC] Fix status color mismatches in OpenMPSupport.rst (#189050)

Correct the colors used in the OpenMP support tables so they
consistently match their status text:

- :good: (green) is for 'done' only
- :part: (yellow) is for in-progress states ('partial', 'worked on', 'in
progress', 'prototyped', etc.)
- :none: (red) is for 'unclaimed' only

Assisted with copilot
DeltaFile
+10-10clang/docs/OpenMPSupport.rst
+10-101 files

LLVM/project 166f996libc/include/sys socket.yaml, utils/bazel/llvm-project-overlay/libc BUILD.bazel libc_build_rules.bzl

[libc][bazel] Add generation for public headers (#184889)

Previously there was a single rule for stdbit, this PR adds generated
header targets for the rest of the linux headers. It also adds a
cc_library
for all of the public headers which also includes the types and macros
headers.
DeltaFile
+275-12utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+14-2utils/bazel/llvm-project-overlay/libc/libc_build_rules.bzl
+1-1libc/include/sys/socket.yaml
+290-153 files

FreeBSD/ports 559988ddevel/wasi-compiler-rt22 Makefile, devel/wasi-libcxx22 Makefile

devel/wasi-{compiler-rt,libcxx}22: sync to 22.1.2
DeltaFile
+1-2devel/wasi-compiler-rt22/Makefile
+1-2devel/wasi-libcxx22/Makefile
+2-42 files

LLVM/project 5688acallvm/lib/Target/AMDGPU AMDGPUCodeGenPrepare.cpp

AMDGPU: Simplify synthesis of nextdown(1.0) constant (#189039)
DeltaFile
+3-5llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
+3-51 files

LLVM/project 9a0b003

[MLIR][XeVM] Wrap in-place op modifications in modifyOpInPlace in LLVMLoadStoreToOCLPattern (#188952)

LLVMLoadStoreToOCLPattern::matchAndRewrite was calling op->removeAttr()
and op->setOperand() directly without going through the rewriter API.
This caused MLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS to report "expected
pattern to replace the root operation or modify it in place".

Fix: wrap the direct mutations in rewriter.modifyOpInPlace().

Assisted-by: Claude Code
Fix a failure present with MLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS=ON.
DeltaFile
+0-00 files

LLVM/project 40d5b19mlir/test/IR parser.mlir

[mlir][IR] Add test for complex<i1> dense element roundtrip (#189047)

Fixes #140302

Assisted-by: Claude Code
DeltaFile
+7-0mlir/test/IR/parser.mlir
+7-01 files

FreeBSD/ports 483a6fadevel/llvm22 distinfo Makefile

devel/llvm22: 22.1.2 release

See the release announcement for more details:
    https://discourse.llvm.org/t/llvm-22-1-2-released/90308

Sponsored by:   DARPA, AFRL
DeltaFile
+3-3devel/llvm22/distinfo
+1-1devel/llvm22/Makefile
+4-42 files

FreeBSD/ports ed313eaemulators/qemu-cheri distinfo Makefile

devel/qemu-cheri: update to a new snapshot

Sponsored by:   Innovate UK
DeltaFile
+11-11emulators/qemu-cheri/distinfo
+6-7emulators/qemu-cheri/Makefile
+2-2emulators/qemu-cheri/Makefile.snapshot
+19-203 files

FreeBSD/ports 9bef81edevel/llvm22 distinfo Makefile

devel/llvm22: 22.1.1 release

Release announcement:
    https://discourse.llvm.org/t/llvm-22-1-1-released/90150

Sponsored by:   DARPA, AFRL
DeltaFile
+3-3devel/llvm22/distinfo
+1-1devel/llvm22/Makefile
+4-42 files

LLVM/project 0f63c0allvm/lib/CodeGen/AsmPrinter AccelTable.cpp

[AccelTable] Pre-compute entry pool offsets for DW_IDX_parent. NFC (#188915)

After PR #150846 changed MCFragment to use fixed 16KB blocks, large
sections like .debug_names produce thousands of fragments. The
DW_IDX_parent emission called emitLabelDifference(ParentSymbol,
EntryPool, 4) per entry, which fell through to
attemptToFoldSymbolOffsetDifference's O(n) fragment walk when symbols
were in different fragments. This caused O(entries * fragments)
quadratic behavior, regressing dsymutil on large binaries like clang.

Fix by pre-computing byte offsets from EntryPool for each entry in a
first pass, then emitting emitInt32(offset) directly for DW_IDX_parent
instead of symbol differences. This also eliminates per-entry MCSymbol
allocation that was only needed for parent references.

Fix #188376
DeltaFile
+50-23llvm/lib/CodeGen/AsmPrinter/AccelTable.cpp
+50-231 files

LLVM/project 79fdef2mlir/docs/DefiningDialects Operations.md, mlir/test/IR properties.mlir

[mlir][ods] Document and test DefaultValuedProp elision in prop-dict format (#189045)

Issue #152743 reports that DefaultValuedProp is printed even when the
property value equals the default, unlike DefaultValuedAttr which is not
printed in that case.

The fix for this was already present in the codebase since commit
8955e285e1ac ("[mlir] Add property combinators, initial ODS support"),
which added elision of default-valued properties in the
genPropDictPrinter
function in OpFormatGen.cpp.

This commit adds:
- Documentation in Operations.md clarifying that DefaultValuedProp is
  also elided from prop-dict output when the value equals the default,
  consistent with the existing documentation for DefaultValuedAttr.
- An explicit test in properties.mlir verifying that DefaultValuedProp
  with value equal to default is elided from prop-dict output, and that
  DefaultValuedProp with a non-default value is still printed.

    [3 lines not shown]
DeltaFile
+24-0mlir/test/IR/properties.mlir
+4-0mlir/docs/DefiningDialects/Operations.md
+28-02 files

LLVM/project 5d29300mlir/lib/Transforms/Utils LoopInvariantCodeMotionUtils.cpp, mlir/test/Dialect/Transform test-loop-transforms.mlir

[MLIR][Transforms] Fix two bugs in loop-invariant-subset-hoisting (#188761)

Fix two issues in `MatchingSubsets::populateSubsetOpsAtIterArg`:

1. The `collectHoistableOps` parameter was declared but never used when
inserting subset ops via `insert(subsetOp)`. As a result, when recursing
into nested loops with `collectHoistableOps=false`, the nested loop's
subset ops were incorrectly added to the hoistable extraction/insertion
pairs of the parent loop. This caused spurious failures in the
`allDisjoint` check, preventing valid hoisting when nested loop ops
overlapped with outer loop ops. Fix by passing the parameter:
`insert(subsetOp, collectHoistableOps)`.

2. In the nested loop handling branch, there was no guard to detect when
a value has multiple nested loop uses (i.e., is used as an init arg in
more than one nested loop). Without the guard, `nextValue` would be
silently overwritten, leading to an incorrect use-def chain traversal.
Add `if (nextValue) return failure()` before setting `nextValue` for the
nested loop case, mirroring the existing guard for insertion ops.

    [3 lines not shown]
DeltaFile
+57-0mlir/test/Dialect/Transform/test-loop-transforms.mlir
+47-0mlir/test/Transforms/loop-invariant-subset-hoisting.mlir
+5-1mlir/lib/Transforms/Utils/LoopInvariantCodeMotionUtils.cpp
+109-13 files

LLVM/project e9669fdmlir/lib/Dialect/EmitC/IR EmitC.cpp, mlir/test/Transforms sccp.mlir

[MLIR][EmitC] Fix crash in SwitchOp::getEntrySuccessorRegions on unsigned integer type (#188546)

SwitchOp::getEntrySuccessorRegions and getRegionInvocationBounds called
IntegerAttr::getInt() to retrieve the constant switch argument, but
getInt() asserts that the attribute type must be a signless integer or
index. For unsigned integer types (e.g. ui32), this assertion fired and
crashed the process.

Fix by selecting the appropriate accessor based on the attribute type:
getInt() for signless/index, getSInt() for signed, and getUInt() (cast
to int64_t) for unsigned integer types. Unknown types fall back to the
conservative "all regions possible" path.

The same fix is applied to getRegionInvocationBounds, which had an
identical call to getInt().

Fixes #187973

Assisted-by: Claude Code
DeltaFile
+29-2mlir/lib/Dialect/EmitC/IR/EmitC.cpp
+21-0mlir/test/Transforms/sccp.mlir
+50-22 files

NetBSD/pkgsrc-wip 349646dlibclc PLIST distinfo

libclc: catch up with lang/llvm update
DeltaFile
+2-12libclc/PLIST
+3-9libclc/distinfo
+3-0libclc/Makefile
+8-213 files

LLVM/project 23eec12mlir/include/mlir/Transforms Passes.td, mlir/lib/Transforms RemoveDeadValues.cpp

[MLIR] Fix outdated restriction comment in RemoveDeadValuesPass (#189041)

The RemoveDeadValuesPass previously emitted an error and skipped
optimization when the IR contained non-function symbol ops, non-call
symbol user ops, or branch ops. This restriction was later removed, but
the comments in RemoveDeadValues.cpp and Passes.td still described the
pass as operating "iff the IR doesn't have any non-function symbol ops,
non-call symbol user ops and branch ops."

Remove the stale restriction text from both the .cpp file comment and
the Passes.td description. Also add a test that verifies dead function
arguments are correctly removed inside a module that defines a symbol
(has a sym_name attribute), which was the original failure case reported
in issue #98700.

Fixes #98700

Assisted-by: Claude Code
DeltaFile
+21-0mlir/test/Transforms/remove-dead-values.mlir
+1-6mlir/include/mlir/Transforms/Passes.td
+1-6mlir/lib/Transforms/RemoveDeadValues.cpp
+23-123 files

LLVM/project 3363a0emlir/lib/Dialect/Shard/IR ShardOps.cpp

[MLIR][Shard] Fix NormalizeSharding and FoldDuplicateShardOp direct mutations (#188981)

Calling attribute setters and MutableOperandRange::assign() without
going through the PatternRewriter, bypassing the rewriter's
change-tracking triggered "operation finger print changed" after the
pattern returned success under
MLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS.

Assisted-by: Claude Code
DeltaFile
+14-8mlir/lib/Dialect/Shard/IR/ShardOps.cpp
+14-81 files

LLVM/project 3c9938dmlir/lib/Conversion/XeVMToLLVM XeVMToLLVM.cpp

[MLIR][XeVM] Wrap in-place op modifications in modifyOpInPlace in LLVMLoadStoreToOCLPattern (#188952)

LLVMLoadStoreToOCLPattern::matchAndRewrite was calling op->removeAttr()
and op->setOperand() directly without going through the rewriter API.
This caused MLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS to report "expected
pattern to replace the root operation or modify it in place".

Fix: wrap the direct mutations in rewriter.modifyOpInPlace().

Assisted-by: Claude Code
Fix a failure present with MLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS=ON.
DeltaFile
+5-3mlir/lib/Conversion/XeVMToLLVM/XeVMToLLVM.cpp
+5-31 files

FreeBSD/ports ee8c419ports-mgmt/pkg-devel distinfo Makefile

ports-mgmt/pkg-devel: 2.6.99.6

Changes:
- query: fix empty line output for purely multiline formats breaking poudriere
- pkg-backup: make the compression configurable
- sign_pkg.sh: use the .pkg extension
DeltaFile
+3-3ports-mgmt/pkg-devel/distinfo
+2-2ports-mgmt/pkg-devel/Makefile
+5-52 files

LLVM/project e9f51a3mlir/test/Dialect/SCF canonicalize.mlir

[MLIR][SCF] Add regression tests for ConditionPropagation in nested ifs (#189036)

Add explicit tests for condition propagation in scf.if then and else
branches, including the void-return case. These tests serve as
regression
tests for the bug reported in #159165 where the
SCFIfConditionPropagationPass
(since reverted) had a visited-set that was never populated, causing the
pass
to not propagate conditions into nested scf.if statements.

The current ConditionPropagation canonicalization pattern in SCF.cpp
correctly handles both nested ifs and direct condition uses within
branches
using the getParentType() ancestor check.

Fixes #159165

Assisted-by: Claude Code
DeltaFile
+38-0mlir/test/Dialect/SCF/canonicalize.mlir
+38-01 files

Illumos/gate 606e536usr/src/uts/i86pc/os fakebop.c

17902 unix: get firmware addresses from bootloader env
Reviewed by: Jason King <jason.brian.king+illumos at gmail.com>
Reviewed by: Dan McDonald <danmcd at edgecast.io>
Approved by: Gordon Ross <gordon.w.ross at gmail.com>
DeltaFile
+36-9usr/src/uts/i86pc/os/fakebop.c
+36-91 files

NetBSD/src AixkVqAsys/arch/x68k/x68k kgdb_glue.c kgdb_stub.c

   Remove unused kgdb files.  (These were refactored into MI/MD components
   many many years ago.)
VersionDeltaFile
1.11+3-3sys/arch/x68k/x68k/kgdb_glue.c
1.22+3-3sys/arch/x68k/x68k/kgdb_stub.c
1.4+1-1sys/arch/x68k/x68k/kgdb_proto.h
+7-73 files

LLVM/project 8a788d5.github/workflows release-llvm-testing-tools.yml

fix

Created using spr 1.3.7
DeltaFile
+1-1.github/workflows/release-llvm-testing-tools.yml
+1-11 files

LLVM/project ea8b160mlir/lib/Conversion/GPUCommon GPUToLLVMConversion.cpp, mlir/test/Conversion/GPUCommon lower-launch-func-to-gpu-runtime-calls.mlir

[GPUToLLVM] Support multiple async dependencies in gpu.launch_func lowering (#188987)

LegalizeLaunchFuncOpPattern previously rejected gpu.launch_func ops with
more than one async dependency. This change removes that limitation by
synchronizing additional dependencies onto the primary stream using
CUDA/HIP events, following the same approach already used in
ConvertWaitAsyncOpToGpuRuntimeCallPattern for gpu.wait async.

For each additional async dependency beyond the first:
- If it is a stream (produced by mgpuStreamCreate), create an event,
record it on that stream, wait for it on the primary stream, then
destroy the event.
- If it is already an event, wait for it directly on the primary stream
and destroy it.

Fixes #156984

Assisted-by: Claude Code
DeltaFile
+34-1mlir/test/Conversion/GPUCommon/lower-launch-func-to-gpu-runtime-calls.mlir
+28-5mlir/lib/Conversion/GPUCommon/GPUToLLVMConversion.cpp
+62-62 files

LLVM/project 893b11fllvm/lib/Target/AMDGPU AMDGPUCodeGenPrepare.cpp

AMDGPU: Simplify synthesis of nextdown(1.0) constant
DeltaFile
+3-5llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
+3-51 files

pfSense/pfsense 228b2a0src/usr/local/www diag_arp.php

Encode hostnames in ARP table. Fixes #16763

While here, add and enhance encoding of other parameters for safety.
DeltaFile
+10-10src/usr/local/www/diag_arp.php
+10-101 files

pfSense/pfsense 9be3656src/usr/local/www status_openvpn.php status_dhcpv6_leases.php, src/usr/local/www/widgets/widgets openvpn.widget.php

Safety belt encoding

Add and enhance encoding on a few pages of interest. There is currently
no known viable way to leverage these, but it's better to be safe.
DeltaFile
+41-41src/usr/local/www/status_openvpn.php
+28-28src/usr/local/www/widgets/widgets/openvpn.widget.php
+13-13src/usr/local/www/status_dhcpv6_leases.php
+6-6src/usr/local/www/status_dhcp_leases.php
+4-4src/usr/local/www/services_dhcp.php
+92-925 files