LLVM/project 3a1e8fcllvm CMakeLists.txt, llvm/include/llvm/ADT APFloat.h

Revert "[APFloat] Add exp functions for single and double using exp/expf impl…"

This reverts commit 2b2a63819f9f26d661bad5c269a03077d22ff6b4.
DeltaFile
+0-58llvm/unittests/ADT/APFloatTest.cpp
+0-31llvm/lib/Support/APFloat.cpp
+0-5llvm/lib/Support/CMakeLists.txt
+0-4llvm/include/llvm/ADT/APFloat.h
+0-4llvm/CMakeLists.txt
+1-1llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
+1-1036 files

LLVM/project 6b3ede2clang/lib/Driver/ToolChains/Arch AArch64.cpp, clang/test/Driver aarch64-march.c

[AArch64][clang] Improve -march= error message with many feature flags

When calling `clang` with a large number of feature flags, the entire
argument is printed as an error message if one of the feature flags is
invalid.

For example, before this change, an error message such as this is printed:
```
  clang: error: unsupported argument 'clang -march=armv9.6a+sme2+sme2p1+sve2
  +sve2p1+profile+crypto+aes+sha2+sha3+sm4+memtag+ssbs+bf16+i8mm+dotprod+ls64
  +rcpc3+brbe+gcs+faminmax+fp8+fp8fma+fp8dot4+fp8dot2+sme-f8f32+the+lut+lsui
  +pops+occmo+rme-gpc3+d128+invalidfeature'
```
and a user doesn't know which of the `+feature` flags is actually invalid.

After this change, the following error message is printed:
```
  clang: error: unsupported argument '+invalidfeature' to option '-march='
```
clearly printing out the invalid feature flag.
DeltaFile
+27-12clang/lib/Driver/ToolChains/Arch/AArch64.cpp
+7-0clang/test/Driver/aarch64-march.c
+34-122 files

LLVM/project 0d1cb94flang/lib/Frontend CompilerInvocation.cpp

Fix build errors after merge
DeltaFile
+0-19flang/lib/Frontend/CompilerInvocation.cpp
+0-191 files

LLVM/project f3303e9mlir/docs Tokens.md, mlir/docs/Traits _index.md

[mlir][IR] Require token producer and consumer traits

Add marker traits for operations that intentionally produce or consume the
builtin token type. The verifier now rejects token results without
TokenProducerTrait, token operands without TokenConsumerTrait, token entry
block arguments whose parent op does not produce tokens, and token block
arguments outside entry blocks.

Extend the Test dialect token ops to cover valid opt-in cases and each
verifier rejection path.

Assisted-by: Codex
DeltaFile
+100-2mlir/test/IR/token-type.mlir
+93-3mlir/lib/IR/Verifier.cpp
+28-3mlir/test/lib/Dialect/Test/TestOps.td
+14-7mlir/docs/Tokens.md
+14-0mlir/docs/Traits/_index.md
+12-0mlir/include/mlir/IR/OpDefinition.h
+261-152 files not shown
+268-168 files

FreeBSD/ports 844195alang/rust-nightly distinfo Makefile

lang/rust-nightly: update 1.97.0.20260426 → 1.97.0.20260511

Approved by:    rust (implicit)
DeltaFile
+3-3lang/rust-nightly/distinfo
+1-1lang/rust-nightly/Makefile
+4-42 files

FreeBSD/ports 6a8b0f0textproc/difftastic distinfo Makefile

textproc/difftastic: update 0.68.0 → 0.69.0
DeltaFile
+29-23textproc/difftastic/distinfo
+14-12textproc/difftastic/Makefile
+43-352 files

FreeBSD/ports 9595ba0www/py-postorius Makefile distinfo

www/py-postorius: Fix XSS vulnerability

- Bump PORTREVISION for package change

PR:             295225
Reported by:    Einar Bjarni Halldorsson <einar at isnic.is>
Obtained from:  https://gitlab.com/mailman/postorius/-/commit/c4706abd05ba6bcf472fc674b160d3a9d6a4868b

(cherry picked from commit 4444e522e0a4781c2e6d2d8270d495371545ea00)
DeltaFile
+4-1www/py-postorius/Makefile
+3-1www/py-postorius/distinfo
+7-22 files

FreeBSD/ports 662ae05www/py-postorius pkg-plist Makefile

www/py-postorius: Add EXAMPLES option

- Bump PORTREVISION for package change

PR:             294555
Requested by:   leres

(cherry picked from commit c0bfae42eae007d0b945a7cf8a9ae618e0248764)
DeltaFile
+9-0www/py-postorius/pkg-plist
+6-0www/py-postorius/Makefile
+15-02 files

LLVM/project 57e6089lldb/test/API/commands/frame/var-dil/expr/Casts main.cpp

[lldb][test] Add missing include in TestFrameVarDILCast test program (#197432)

Fixes aaad6a201f0f13762c45727faacf5347be577a23 / #191908.
DeltaFile
+1-0lldb/test/API/commands/frame/var-dil/expr/Casts/main.cpp
+1-01 files

LLVM/project c278d19llvm/lib/Transforms/Scalar LoopFuse.cpp

[LoopFusion] Simplifying checks for loop eligibility (#197357)

A header is guaranteed to exist, so the check for it is redundant. Also,
combined all statistics related to invalid loop structure into a single
statistic for clarity.
DeltaFile
+4-20llvm/lib/Transforms/Scalar/LoopFuse.cpp
+4-201 files

LLVM/project ec40c8dlibc/src/__support/GPU allocator.cpp

[libc] Only back off GPU allocation under high contention (#197170)

Summary:
Right now this sleeps if any threads failed, this is inefficient. We
want the sleep to stop livelock, though that is less common since the FW
progress bit was set by default. But we should only do this when the
bitfield is full to minimize sleeping when there's plenty of space
available.
DeltaFile
+4-3libc/src/__support/GPU/allocator.cpp
+4-31 files

LLVM/project a8c3624llvm/lib/Transforms/Vectorize VPlanRecipes.cpp, llvm/test/Transforms/LoopVectorize/AArch64 induction-costs-sve.ll

[LV] Complete VPWidenCastRecipe cost model (#196918)

Now the legacy/vplan cost model assert has gone we can finish off the
cost model for VPWidenCastRecipe to account for recipes with no
underlying value.
DeltaFile
+16-16llvm/test/Transforms/LoopVectorize/AArch64/induction-costs-sve.ll
+22-10llvm/test/Transforms/LoopVectorize/X86/cost-model.ll
+3-3llvm/test/Transforms/LoopVectorize/ARM/tail-folding-reduces-vf.ll
+0-5llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+1-1llvm/test/Transforms/LoopVectorize/X86/reduction-small-size.ll
+42-355 files

LLVM/project 2c51afbllvm/test/CodeGen/X86 vector-reduce-ctpop.ll, llvm/test/MC/AMDGPU gfx13_asm_vop3.s gfx13_asm_vop3-fake16.s

Rebase, address comments

Created using spr 1.3.7
DeltaFile
+8,195-0llvm/test/MC/AMDGPU/gfx13_asm_vop3.s
+8,182-0llvm/test/MC/AMDGPU/gfx13_asm_vop3-fake16.s
+6,862-0llvm/test/tools/llvm-mca/AArch64/Cortex/C1Nano-sve-instructions.s
+4,686-918llvm/test/CodeGen/X86/vector-reduce-ctpop.ll
+5,587-0llvm/test/MC/AMDGPU/gfx13_asm_vop3_dpp16.s
+5,574-0llvm/test/MC/AMDGPU/gfx13_asm_vop3_dpp16-fake16.s
+39,086-9182,101 files not shown
+137,665-41,5712,107 files

LLVM/project 922a801llvm/test/CodeGen/X86 vector-reduce-ctpop.ll, llvm/test/MC/AMDGPU gfx13_asm_vop3.s gfx13_asm_vop3-fake16.s

Merge branch 'main' into users/kparzysz/control-driver-warnings
DeltaFile
+8,195-0llvm/test/MC/AMDGPU/gfx13_asm_vop3.s
+8,182-0llvm/test/MC/AMDGPU/gfx13_asm_vop3-fake16.s
+6,862-0llvm/test/tools/llvm-mca/AArch64/Cortex/C1Nano-sve-instructions.s
+4,686-918llvm/test/CodeGen/X86/vector-reduce-ctpop.ll
+5,587-0llvm/test/MC/AMDGPU/gfx13_asm_vop3_dpp16.s
+5,574-0llvm/test/MC/AMDGPU/gfx13_asm_vop3_dpp16-fake16.s
+39,086-9182,392 files not shown
+150,955-52,2792,398 files

LLVM/project 86106ccllvm/lib/Target/DirectX/DXILWriter DXILBitcodeWriter.cpp, llvm/lib/Target/DirectX/DirectXIRPasses DXILDebugInfo.cpp

[DirectX] Make DISubprogram writing LLVM 3.7-compatible (#194418)

Reverse the links between DICompileUnit and DISubprogram
DeltaFile
+36-7llvm/test/tools/dxil-dis/di-subprogram.ll
+31-0llvm/lib/Target/DirectX/DirectXIRPasses/DXILDebugInfo.cpp
+10-10llvm/test/tools/dxil-dis/debug-info.ll
+2-2llvm/lib/Target/DirectX/DXILWriter/DXILBitcodeWriter.cpp
+79-194 files

LLVM/project 918e93bmlir/include/mlir/IR MLIRContext.h, mlir/lib/IR MLIRContext.cpp

[MLIR] Add getter for the action handler of MLIR context (#197230)

Current implementation of MLIRContext's action handling, requires the
user to hold the stored memory for any observer or breakpoint manager
added to the execution context. Using a getter for the registered action
handler, permits the user to store the observers and breakpoints into
MLIRContext and modify their state later, by retrieving the action
handler and invoking the functor's target. Mainly for attaching new
observers later in the compilation pipeline, after the execution context
got registered.
DeltaFile
+4-0mlir/lib/IR/MLIRContext.cpp
+4-0mlir/include/mlir/IR/MLIRContext.h
+8-02 files

NetBSD/src nYQ991Ausr.bin/nc nc.1

   PR misc/60253 (conditionally) remove CRYPTO using example

   This completes the previous (2026-03-03) change, by removing an
   example from the EXAMPLES section, which would only work if nc
   was built with the CRYPTO option.

   Like the previous, changing the definition of the number register C
   in the man page source from 0 to 1 will reinstate the example, along
   with all of the CRYPTO options, but makes no sense unless someone
   does the required work to be able to build nc with CRYPTO defined.

   No pullups required, the previous changes weren't pulled up either.
VersionDeltaFile
1.7+3-1usr.bin/nc/nc.1
+3-11 files

LLVM/project 61c241ellvm/lib/Target/AArch64 AArch64InstrInfo.cpp, llvm/unittests/Target/AArch64 InstSizes.cpp

[AArch64] Report accurate sizes for MOVaddr and MOVimm pseudos
DeltaFile
+89-0llvm/unittests/Target/AArch64/InstSizes.cpp
+25-0llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
+114-02 files

LLVM/project 9f49b77llvm/lib/Target/AArch64 AArch64ExpandPseudoInsts.cpp AArch64ExpandImm.cpp

[NFC][AArch64] Extract MOVaddr* expansion model into common header (#183503)

This makes the expansion logic reusable by getInstSizeInBytes in a
follow-up patch.
DeltaFile
+71-53llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
+15-0llvm/lib/Target/AArch64/AArch64ExpandImm.cpp
+8-1llvm/lib/Target/AArch64/AArch64ExpandImm.h
+94-543 files

FreeBSD/src 23005edsys/dev/acpica acpi_spmc.c

acpi_spmc(4): Update copyright

Sponsored by:   The FreeBSD Foundation
DeltaFile
+4-0sys/dev/acpica/acpi_spmc.c
+4-01 files

FreeBSD/src 91d3fb3sys/dev/acpica acpi_spmc.c

acpi_spmc(4): If verbose, print called functions

...as a debugging aid, in order to be able to check that some functions
are effectively called and to identify them quickly if they cause
a hang.

Reviewed by:    obiwac
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D56883
DeltaFile
+10-2sys/dev/acpica/acpi_spmc.c
+10-21 files

FreeBSD/src 69a303asys/dev/acpica acpi_spmc.c

acpi_spmc(4): Auto-detect DSM revisions by default

Which revisions to use for the Intel and AMD DSMs is unclear.  For the
Intel one, the written specification indicates only 0, but Linux uses
1 (possibly an oversight).  For the AMD one, for which there is no
specification, Linux uses 0, but at least on the Framework 13 AMD 7040
series, the "enumerate functions" function only returns a mask that
covers all the functions we expect when called with revision 2.

Introduce an auto-detection strategy where each revision starting from
0 is tried in turn up to some limit (included; default: 15).  As soon as
a revision implements all expected functions, we stop the loop and use
that one, in effect selecting the minimum revision that implements all
we need, which should avoid potential backwards-compatibility problems.
If no revision implements all expected functions, the highest available
revision in the checked range is selected, but higher revisions that do
not bring new functions are discarded (see the explanatory comment in
acpi_spmc_probe_dsm()).


    [21 lines not shown]
DeltaFile
+176-75sys/dev/acpica/acpi_spmc.c
+176-751 files

FreeBSD/src b82e41dsys/dev/acpica acpi_spmc.c

acpi_spmc(4): Trivial simplification in detach function

Reviewed by:    obiwac
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D56881
DeltaFile
+1-2sys/dev/acpica/acpi_spmc.c
+1-21 files

FreeBSD/src b092ee5sys/dev/acpica acpi_spmc.c

acpi_spmc(4): softc: Move supported functions into a DSM info structure

This is in preparation to adding the revision as a probed information.

Reviewed by:    obiwac
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D56880
DeltaFile
+10-5sys/dev/acpica/acpi_spmc.c
+10-51 files

FreeBSD/src 65ecfb4sys/dev/acpica acpi_spmc.c

acpi_spmc(4): Only run DSM functions reported present

Examination of the DSDT in a Framework laptop generally hints at
firmware designers sometimes providing ACPI methods for convenience
(e.g., same firmware for multiple models) but not using them (or not
expecting them to be used) depending on tweaks or the actual hardware
platform.

On an Intel Framework laptop, we specifically observe the presence of
a Microsoft DSM that just reports availability of the SLEEP_ENTRY and
SLEEP_EXIT (7 and 8) functions although the Microsoft specification
requires other functions, whose purpose is similar to corresponding
Intel DSM's ones (such as DISPLAY_OFF).  However, we currently always
call the latter even on the Microsoft DSM.  On that laptop, fortunately,
the way the code is structured in the _DSM method leads to nothing being
executed on this call.

Given the similarity of intent between most functions from the Microsoft
DSM on one side and those of ADM and Intel on the other, it is

    [24 lines not shown]
DeltaFile
+37-52sys/dev/acpica/acpi_spmc.c
+37-521 files

FreeBSD/src ba4f05bsys/dev/acpica acpi_spmc.c

acpi_spmc(4): Factor out testing for present DSMs/functions

Since we are now keeping in the softc the information about which DSM
functions are available (in supported_functions[]), the 'dsms' field
there is somewhat redundant.

Make it completely redundant by keeping the bit representing the
enumeration function itself in each element of supported_functions[],
and then remove the field.

As a result, convert has_dsm() to rely on supports_function().

Adapt acpi_spmc_dsm_check_functions() so that it does not take into
account the enumeration function bit.

While here, use the self-explanatory stance
IDX_TO_BIT(DSM_ENUM_FUNCTIONS) instead of a hardcoded 1.

Reviewed by:    obiwac

    [2 lines not shown]
DeltaFile
+16-8sys/dev/acpica/acpi_spmc.c
+16-81 files

FreeBSD/src d765d20sys/dev/acpica acpi_spmc.c

acpi_spmc(4): acpi_spmc_run_dsm(): Rename, rename parameters, constify

This function actually runs a function of a given DSM.  Remove the
'_dsm' suffix to remove the inaccuracy and make things simpler.

Reviewed by:    obiwac
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D56877
DeltaFile
+25-21sys/dev/acpica/acpi_spmc.c
+25-211 files

FreeBSD/src 6da01f0sys/dev/acpica acpi_spmc.c

acpi_spmc(4): Be less verbose by default

Do not print by default details of failures that are unlikely to help
a normal user and to have a crucial influence on whether suspension
works correctly.  Do so only on a verbose boot or if requested
explicitly by the user via 'debug.acpi.spmc.verbose'.

In particular:
- On an Intel Framework laptop, the Microsoft DSM only reports the
  SLEEP_ENTRY and SLEEP_EXIT functions.  That makes some sense since,
  according to its specification, all functions of a Microsoft DSM
  except these two are in fact redundant with Intel DSM's ones (also,
  that of AMD DSM's ones).  Those functions being missing are only
  a potential problem if there is no other DSM than Microsoft's (yet to
  be observed in the field).
- The details of malformed/unapplicable constraints or ones with a newer
  format the driver does not know about are not readily actionable
  pieces of information, but rather debug/developer-oriented ones.  When
  verbosity is not requested, only print the details of the first such

    [10 lines not shown]
DeltaFile
+14-7sys/dev/acpica/acpi_spmc.c
+14-71 files

FreeBSD/src 37c59fdsys/dev/acpica acpi_spmc.c

acpi_spmc(4): Add a sysctl knob to request verbosity

The driver will be more verbose on this knob being non-zero or
'bootverbose' being set.  The corresponding variable is typed as an
integer to leave room for expansion.  To be used in subsequent commits.

Reviewed by:    obiwac
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D56875
DeltaFile
+6-0sys/dev/acpica/acpi_spmc.c
+6-01 files

FreeBSD/src f56201csys/dev/acpica acpi_spmc.c

acpi_spmc(4): acpi_spmc_probe_dsm(): Remove passing superfluous handle

The handle is already held by the softc, which is also passed.

No functional change (intended).

Reviewed by:    imp, obiwac
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D56818
DeltaFile
+5-5sys/dev/acpica/acpi_spmc.c
+5-51 files