FreeBSD/src c789376share/man/man9 DEVICE_IDENTIFY.9

DEVICE_IDENTIFY.9: Fix function call to detect driver in example code

Fixes:          ccabc7c2e556 ("DEVICE_IDENTIFY.9: Modernize description and use cases")
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
DeltaFile
+1-1share/man/man9/DEVICE_IDENTIFY.9
+1-11 files

FreeNAS/freenas c458448src/middlewared pyproject.toml, src/middlewared/debian control

Replace pysnmp with truenas_pysnmp C extension for SNMP traps

Rewrites snmp_trap.py to use the truenas_pysnmp C extension and replaces
the python3-pysnmp4 dependency with python3-truenas-pysnmp.
DeltaFile
+23-104src/middlewared/middlewared/alert/service/snmp_trap.py
+2-2src/middlewared/debian/control
+1-1src/middlewared/pyproject.toml
+26-1073 files

LLVM/project e06b5e5libc/shared/math erfcf16.h, libc/src/__support/math erfcf16.h

[libc][math] Implement C23 half precision erfc function (#180930)

Add support for the half-precision complementary error function
`erfcf16``, using a Sollya generated polynomial implementation with
proper handling of special cases.

Extend the MPFR utilities with erfc support to allow tests.

closes: #180927
DeltaFile
+145-0libc/src/__support/math/erfcf16.h
+66-0libc/test/src/math/smoke/erfcf16_test.cpp
+43-0libc/test/src/math/erfcf16_test.cpp
+27-0libc/shared/math/erfcf16.h
+22-0utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+21-0libc/src/math/erfcf16.h
+324-019 files not shown
+414-125 files

LLVM/project 41080d1clang/lib/Sema HLSLBuiltinTypeDeclBuilder.cpp

Remove unused var.
DeltaFile
+0-1clang/lib/Sema/HLSLBuiltinTypeDeclBuilder.cpp
+0-11 files

LLVM/project c3bffc8mlir/lib/Dialect/Linalg/Transforms DropUnitDims.cpp, mlir/lib/Transforms/Utils WalkPatternRewriteDriver.cpp

Revert "[MLIR] Fix ErasedOpsListener false positives for newly created ops/blocks" (#189010)

Reverts llvm/llvm-project#188956

Hit "merge" by accident on the wrong tab, juggling too may PRs in
parallel...
DeltaFile
+2-30mlir/lib/Transforms/Utils/WalkPatternRewriteDriver.cpp
+2-4mlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp
+1-2mlir/test/lib/Dialect/Test/TestPatterns.cpp
+5-363 files

LLVM/project b7b9368llvm/lib/Target/SPIRV SPIRVModuleAnalysis.cpp SPIRVSymbolicOperands.td, llvm/test/CodeGen/SPIRV opencl-cxx-version-2021.ll opencl-cxx-version.ll

[SPIR-V] Support for C++ for OpenCL source language (#188791)

- Add CPP_for_OpenCL source language operand
- Handle opencl.cxx.version metadata

Align handling with SPIR-V translator logic and tests presented there
DeltaFile
+19-0llvm/test/CodeGen/SPIRV/opencl-cxx-version-2021.ll
+19-0llvm/test/CodeGen/SPIRV/opencl-cxx-version.ll
+17-0llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
+17-0llvm/test/CodeGen/SPIRV/opencl-cxx-version-incompatible.ll
+1-0llvm/lib/Target/SPIRV/SPIRVSymbolicOperands.td
+73-05 files

LLVM/project 8ea3645llvm/lib/Analysis CFG.cpp

[CFG] Add shortcut if CycleInfo is available (#188928)

isPotentiallyReachable() currently returns "reachable" early if BB
dominates StopBB. If CycleInfo is available, and BB is not part of a
cycle, we can also perform the reverse inference: Return "not reachable"
if StopBB dominates BB.

This both allows aborting the walk earlier, and provides a more precise
result.
DeltaFile
+15-4llvm/lib/Analysis/CFG.cpp
+15-41 files

LLVM/project a5964callvm/test/CodeGen/Hexagon peephole-sxtw-combine.mir tfr-cleanup-double-imm.mir

[Hexagon] Add coverage tests for CodeGen passes (#183951)

Add tests targeting specific Hexagon CodeGen passes with low coverage:

- peephole-sxtw-combine.mir: HexagonPeephole pass exercising SXTW
removal, combine generation, and LSR copy patterns. Improves
HexagonPeephole.cpp line coverage from 63.89% to 99.31%.

- vec-print-wq.ll: HexagonVectorPrint pass with V (single vector) and W
(double vector) register printing via 128b HVX. Improves
HexagonVectorPrint.cpp line coverage from 71.19% to 87.29%.

- tfr-cleanup-double-imm.mir: HexagonTfrCleanup pass exercising 64-bit
immediate rewrite paths. Improves HexagonTfrCleanup.cpp line coverage
from 80.85% to 88.30%.

- cfgopt-newpt-invert.ll: HexagonCFGOptimizer pass exercising branch
inversion with new-value predicate transfers.
DeltaFile
+77-0llvm/test/CodeGen/Hexagon/peephole-sxtw-combine.mir
+52-0llvm/test/CodeGen/Hexagon/tfr-cleanup-double-imm.mir
+50-0llvm/test/CodeGen/Hexagon/cfgopt-newpt-invert.ll
+36-0llvm/test/CodeGen/Hexagon/vec-print-wq.ll
+215-04 files

LLVM/project 2e10b62llvm/lib/Target/Hexagon HexagonRegisterInfo.cpp, llvm/test/CodeGen/Hexagon aligna-prologue-expansion.mir

[Hexagon] Add AP register to liveins when used for frame index access (#188942)

This is a follow-up to commit 3ef59d80c5ce ("[Hexagon] Fix
use-before-def of AP register in prologue CSR spills").

When the AP (alignment pointer) register is used as a base register for
frame index elimination, add it to the basic block's livein set. This
ensures liveness information is accurate for the machine verifier.
The original commit fixed the use-before-def issue by moving PS_aligna
after CSR spills. However, when the prologepilog pass is run in
isolation (as in MIR tests) with expensive checks enabled, the verifier
reports an error because AP is used in blocks where it's not marked as
live-in.
In the full compilation pipeline, the Hexagon Packetizer adds AP as an
implicit operand to instruction bundles, which satisfies the verifier.
However, when running only the prologepilog pass (before packetization),
AP remains an explicit operand and must be in the livein set.
This fix adds AP to liveins when AP is used as the base register,
ensuring correct liveness tracking regardless of whether packetization
has run.
DeltaFile
+10-0llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp
+10-0llvm/test/CodeGen/Hexagon/aligna-prologue-expansion.mir
+20-02 files

LLVM/project 5f09e24clang/lib/AST/ByteCode Disasm.cpp

[clang][bytecode] Make memory output of Program::dump more accurate (#188925)
DeltaFile
+33-2clang/lib/AST/ByteCode/Disasm.cpp
+33-21 files

LLVM/project 1aba434libunwind/src libunwind.cpp, libunwind/test set_non_null_pc_outside_of_function_cfi_bounds.pass.cpp libunwind_01.pass.cpp

[libunwind][PAC] Defang ptrauth's PC in valid CFI range abort (#184041)

It turns out making the CFI check a release mode abort causes many, if
not the majority, of JITs to fail during unwinding as they do not set up
CFI sections for their generated code. As a result any JITs that do
nominally support unwinding (and catching) through their JIT or assembly
frames trip this abort.

rdar://170862047
DeltaFile
+48-0libunwind/test/set_non_null_pc_outside_of_function_cfi_bounds.pass.cpp
+13-17libunwind/src/libunwind.cpp
+8-1libunwind/test/libunwind_01.pass.cpp
+69-183 files

LLVM/project 3bff1a8compiler-rt/lib/xray xray_init.cpp

[XRay] Always register constructor(0) alongside .preinit_array (#188788)

On musl-based systems the dynamic linker does not process
DT_PREINIT_ARRAY, so the .preinit_array entry alone never calls
__xray_init(). Without initialization, the global XRay Flags struct is
zero-initialized and flags()->xray_mode is NULL. When the basic-mode or
FDR-mode static initializers run from .init_array and call
internal_strcmp(flags()->xray_mode, ...), they dereference NULL and
crash.

Fix this by always registering a constructor(0) in addition to the
.preinit_array entry. On glibc where .preinit_array works, __xray_init()
will have already run and the constructor returns immediately (the
function is idempotent). On musl, the constructor ensures __xray_init()
runs before other .init_array entries that depend on XRay flags being
initialized.
DeltaFile
+9-5compiler-rt/lib/xray/xray_init.cpp
+9-51 files

LLVM/project 7119610lldb/source/Plugins/Platform/WebAssembly PlatformWebInspectorWasm.cpp PlatformWebInspectorWasm.h, llvm/docs ReleaseNotes.md

[lldb] Add PlatformWebInspectorWasm (#188751)

Add a new PlatformWebInspectorWasm, which is a Wasm platform that
automatically connects to the WebInspector platform server.

The existing "wasm" platform handles WebAssembly generally and allows
you to configure a runtime to launch under. The "webinspector-wasm"
platform does the inverse, and only supports attaching to an already
running WebAssembly instance in Safari. The workflow here is always
`platform process list` followed by `platform process attach`. This
explains why you can only force create this platform and it's never
automatically selected when loading a Wasm target.
DeltaFile
+177-0lldb/source/Plugins/Platform/WebAssembly/PlatformWebInspectorWasm.cpp
+58-0lldb/source/Plugins/Platform/WebAssembly/PlatformWebInspectorWasm.h
+17-17lldb/source/Plugins/Platform/WebAssembly/PlatformWasm.cpp
+11-2lldb/source/Plugins/Platform/WebAssembly/PlatformWasm.h
+1-0llvm/docs/ReleaseNotes.md
+1-0lldb/source/Plugins/Platform/WebAssembly/CMakeLists.txt
+265-196 files

LLVM/project 6ed1884clang/lib/CodeGen CGObjCMac.cpp, llvm/test/CodeGen/AArch64 neon-bitwise-instructions.ll

Merge branch 'main' into users/s-perron/texture2d-mips
DeltaFile
+601-1,016llvm/test/CodeGen/AMDGPU/memmove-param-combinations.ll
+668-7llvm/test/CodeGen/AArch64/neon-bitwise-instructions.ll
+290-378llvm/test/CodeGen/X86/srem-vector-lkk.ll
+636-0clang/lib/CodeGen/CGObjCMac.cpp
+624-0llvm/test/CodeGen/AMDGPU/ctls.ll
+484-122llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vop3_from_vop2.txt
+3,303-1,5231,374 files not shown
+33,391-15,2201,380 files

LLVM/project 881f636clang/lib/Sema HLSLBuiltinTypeDeclBuilder.cpp

Remove redudant convertplaceholder.
DeltaFile
+1-1clang/lib/Sema/HLSLBuiltinTypeDeclBuilder.cpp
+1-11 files

LLVM/project 0d7c0ddmlir/lib/Dialect/Linalg/Transforms DropUnitDims.cpp, mlir/lib/Transforms/Utils WalkPatternRewriteDriver.cpp

Revert "[MLIR] Fix ErasedOpsListener false positives for newly created ops/bl…"

This reverts commit 06b057d2546ed64018b44df5ebe0e3ecd1c07b26.
DeltaFile
+2-30mlir/lib/Transforms/Utils/WalkPatternRewriteDriver.cpp
+2-4mlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp
+1-2mlir/test/lib/Dialect/Test/TestPatterns.cpp
+5-363 files

LLVM/project c5e514fllvm/lib/Target/AArch64 AArch64SystemOperands.td, llvm/test/MC/AArch64 armv8.7a-xs.s armv9.5a-tlbiw.s

fixup! Move nxs bit into TLBIEntry rather than override
DeltaFile
+57-56llvm/test/MC/AArch64/armv8.7a-xs.s
+21-33llvm/lib/Target/AArch64/AArch64SystemOperands.td
+10-10llvm/test/MC/AArch64/armv9.5a-tlbiw.s
+88-993 files

LLVM/project 00430cellvm/lib/Target/AArch64 AArch64SystemOperands.td

fixup! Refactor TLBI tablegen
DeltaFile
+232-120llvm/lib/Target/AArch64/AArch64SystemOperands.td
+232-1201 files

LLVM/project c87d281llvm/lib/Target/AArch64 AArch64SystemOperands.td

fixup! More optimisations
DeltaFile
+121-133llvm/lib/Target/AArch64/AArch64SystemOperands.td
+121-1331 files

LLVM/project 385facallvm/lib/Target/AArch64 AArch64SystemOperands.td

fixup! Another tablegen optimisation
DeltaFile
+117-184llvm/lib/Target/AArch64/AArch64SystemOperands.td
+117-1841 files

LLVM/project 8c30e79llvm/lib/Target/AArch64 AArch64SystemOperands.td

fixup! More tablegen fixes
DeltaFile
+32-70llvm/lib/Target/AArch64/AArch64SystemOperands.td
+32-701 files

LLVM/project 8d77350llvm/lib/Target/AArch64 AArch64SystemOperands.td

fixup! Change tablegen as suggested
DeltaFile
+52-30llvm/lib/Target/AArch64/AArch64SystemOperands.td
+52-301 files

LLVM/project 1cb2d28llvm/lib/Target/AArch64 AArch64SystemOperands.td, llvm/test/MC/AArch64 armv9a-tlbip.s

[AArch64][llvm] Separate TLBI-only feature gating from TLBIP aliases

Refactor the TLBI system operand definitions so that TLBI and TLBIP
records are emitted through separate helper multiclasses, whilst keeping
the table layout readable.

The feature-scoped wrappers now apply FeatureTLB_RMI, FeatureRME, and
FeatureTLBIW only to TLBI records (it was previously incorrectly also
applied to TLBIP instructions), while TLBIP aliases remain gated only
by FeatureD128, including their nXS forms.

Update testcases accordingly.
DeltaFile
+92-61llvm/lib/Target/AArch64/AArch64SystemOperands.td
+8-9llvm/test/MC/AArch64/armv9a-tlbip.s
+100-702 files

LLVM/project d573e1allvm/lib/Target/AArch64 AArch64SystemOperands.td, llvm/lib/Target/AArch64/AsmParser AArch64AsmParser.cpp

fixup! Minor nits tweaked
DeltaFile
+13-17llvm/lib/Target/AArch64/AArch64SystemOperands.td
+4-4llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+4-4llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
+0-3llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.h
+21-284 files

LLVM/project 53a8673lldb/docs/resources build.rst

[lldb][docs] Mention "Python Install Manager" in Windows build instructions (#188728)

It was reported to us that this new install manager does not, and
apparently will not, have an option to install a debug Python. Which we
must have to be able to build lldb in debug mode on Windows.

(because the debug C runtime has a different ABI so everything in the
build must use only that version)

https://discourse.llvm.org/t/pythonx-d-lib-build-requirement/90285/1

Developers will have to use the "Windows installer", or build thier own,
so I've linked to Python's documentation for that.
DeltaFile
+14-4lldb/docs/resources/build.rst
+14-41 files

LLVM/project a691a45libcxx/utils/ci/docker docker-compose.yml

[libc++] Bump base image version in Docker compose (#188848)

This adds python-venv to the Docker image.
DeltaFile
+2-2libcxx/utils/ci/docker/docker-compose.yml
+2-21 files

LLVM/project 01ef5bdllvm/lib/Target/AArch64 AArch64SystemOperands.td

[AArch64][llvm] Rewrite the TLBI multiclass to be much clearer (NFC)

The `tlbi` multiclass is really doing four jobs at once: base TLBI,
synthesized nXS, optional TLBIP, and synthesized TLBIP nXS. Also,
`needsreg` and `optreg` are really just a 3-state operand policy in
disguise. Likewise, the PLBI multiclass has this same issue.

Change `needsreg` and `optreg` into a combined fake enum, so it's
clearer whether the instruction takes no register operand, a required
register operand or an optional register operand.

This improves on my original change 66e8270e8.
DeltaFile
+127-121llvm/lib/Target/AArch64/AArch64SystemOperands.td
+127-1211 files

LLVM/project f8d2f30llvm/lib/Target/AArch64 AArch64SystemOperands.td, llvm/lib/Target/AArch64/AsmParser AArch64AsmParser.cpp

fixup! Push these changes further into the backend
DeltaFile
+25-14llvm/lib/Target/AArch64/AArch64SystemOperands.td
+11-6llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.h
+6-9llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+4-4llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
+46-334 files

FreeBSD/ports 2c5d300devel/jenkins distinfo Makefile

devel/jenkins: Update to 2.556

Sponsored by:   The FreeBSD Foundation
DeltaFile
+3-3devel/jenkins/distinfo
+1-1devel/jenkins/Makefile
+4-42 files

LLVM/project 006b1dcclang/test/CodeGenHLSL/resources Texture2D-Mips.hlsl

Remove TODO that was already done.
DeltaFile
+0-2clang/test/CodeGenHLSL/resources/Texture2D-Mips.hlsl
+0-21 files