LLVM/project 966ffeamlir/lib/Dialect/Transform/IR Utils.cpp, mlir/test/Dialect/Transform normal-forms.mlir

[mlir] reduce excessive verification in transform

`mergeSymbolsInto` called by the transform interpreter for named
sequence management was calling a full verifier after renaming symbols.
The renaming could have potentially broken symbol table-related
invariants, but not really anything else. Only verify the symbol
table-related invariants intead.
DeltaFile
+8-4mlir/lib/Dialect/Transform/IR/Utils.cpp
+4-5mlir/test/Dialect/Transform/normal-forms.mlir
+12-92 files

LLVM/project 0863312flang/test/Lower loops2.f90 logical-operations.f90

[flang][NFC] Converted five tests from old lowering to new lowering (part 46) (#192439)

Tests converted from test/Lower: logical-operations.f90, loops2.f90,
loops3.f90, memory-alloc.f90, zero-size.f90
DeltaFile
+57-82flang/test/Lower/loops2.f90
+37-34flang/test/Lower/logical-operations.f90
+14-5flang/test/Lower/loops3.f90
+8-8flang/test/Lower/zero-size.f90
+7-5flang/test/Lower/memory-alloc.f90
+123-1345 files

LLVM/project 5e82958llvm/lib/Target/AArch64/MCTargetDesc AArch64InstPrinter.cpp

fixup! Address PR comment about shortened `sysp` with xzr/xzr
DeltaFile
+17-16llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
+17-161 files

LLVM/project 456bf22clang/lib/Sema SemaARM.cpp, clang/test/CodeGen/AArch64 pcdphint-atomic-store.c

Remove __arm_atomic_store_with_stshh from llvm (#192419)

This patch is revert of #181386 with some manual changes applied due to
revert conflicts.

Current implementation of __arm_atomic_store_with_stshh is incorrect as
it doesn't enforce the memory ordering constraints as can be seen
[here](https://godbolt.org/z/n5YnbaT8E). Different solution will need to
be implemented, but removing for now so users don't pick this up.
DeltaFile
+0-243llvm/test/CodeGen/AArch64/pcdphint-atomic-store.ll
+0-100clang/lib/Sema/SemaARM.cpp
+0-74clang/test/Sema/AArch64/pcdphint-atomic-store.c
+0-71clang/test/CodeGen/AArch64/pcdphint-atomic-store.c
+0-70llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
+0-47llvm/test/Verifier/AArch64/intrinsic-immarg.ll
+0-60510 files not shown
+0-71416 files

ELF Tool Chain/elftoolchain 4370trunk/ar ar.1

ar.1: Address mandoc -Tlint warnings.
DeltaFile
+12-12trunk/ar/ar.1
+12-121 files

LLVM/project 2ebfe91llvm/lib/Target/AMDGPU AMDGPUMCResourceInfo.cpp AMDGPUResourceUsageAnalysis.cpp, llvm/test/CodeGen/AMDGPU object-linking-local-resources.ll lds-link-time-codegen-indirect.ll

[AMDGPU] Report only local per-function resource usage when object linking is enabled

With object linking the linker aggregates resource usage across TUs via
`.amdgpu.info`, so compile-time pessimism and call-graph propagation duplicate
the linker's work or pollute its inputs.

In this mode, skip the per-callsite conservative bumps in
`AMDGPUResourceUsageAnalysis` and assign each resource symbol in
`AMDGPUMCResourceInfo` a concrete local constant instead of building call-graph
max/or expressions.
DeltaFile
+104-0llvm/test/CodeGen/AMDGPU/object-linking-local-resources.ll
+26-8llvm/lib/Target/AMDGPU/AMDGPUMCResourceInfo.cpp
+10-1llvm/lib/Target/AMDGPU/AMDGPUResourceUsageAnalysis.cpp
+4-0llvm/lib/Target/AMDGPU/AMDGPUMCResourceInfo.h
+1-1llvm/test/CodeGen/AMDGPU/lds-link-time-codegen-indirect.ll
+145-105 files

LLVM/project 70f9ad8llvm/docs AMDGPUUsage.rst, llvm/lib/Target/AMDGPU AMDGPUAsmPrinter.cpp

[AMDGPU] Add `.amdgpu.info` section for per-function metadata

AMDGPU object linking requires the linker to propagate resource usage
(registers, stack, LDS) across translation units. To support this, the compiler
must emit per-function metadata and call graph edges in the relocatable object
so the linker can compute whole-program resource requirements.

This PR introduces a `.amdgpu.info` ELF section using a tagged, length-prefixed
binary format: each entry is encoded as:

```
[kind: u8] [len: u8] [payload: <len> bytes]
```

A function scope is opened by an `INFO_FUNC` entry (containing a symbol
reference), followed by per-function attributes (register counts, flags, private
segment size) and relational edges (direct calls, LDS uses, indirect call
signatures). String data such as function type signatures is stored in a
companion `.amdgpu.strtab` section.

    [4 lines not shown]
DeltaFile
+198-0llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
+159-2llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
+116-0llvm/test/MC/AMDGPU/amdgpu-info-roundtrip.s
+111-0llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+110-0llvm/docs/AMDGPUUsage.rst
+83-0llvm/test/CodeGen/AMDGPU/lds-link-time-codegen-typeid.ll
+777-211 files not shown
+1,190-1417 files

OPNSense/core 36158f6src/opnsense/www/js/widgets Services.js

dashboard: ui improvements of the Services widget (#9608)
DeltaFile
+54-29src/opnsense/www/js/widgets/Services.js
+54-291 files

FreeBSD/src ab1d659stand/efi/loader/arch/arm exec.c, stand/efi/loader/arch/arm64 exec.c

loader.efi: Defer efi_translate(e_entry) until after bi_load

bi_load itself loads various things into the staging area which can
cause it to grow, which may result in the staging area moving, including
the kernel. Therefore the address we get for the kernel entry point
prior to bi_load may not be correct afterwards when we actually call it,
and so we must defer the translation.

On arm and riscv (but not arm64, which predates both of them in
loader.efi and did not gain a copy of arm's added printf when arm
support was added) we also printf this entry point to the console, which
we can no longer do since bi_load calls ExitBootServices, so remove this
printf that, in practice, seems to not be so useful, given nobody ever
felt the need to add it to arm64. If anyone really feels this is an
important printf to have then bi_load will need to be split so we can
call printf after all the loading and potential reallocation of the
staging area, but before ExitBootServices is called.

We may also want to make this code more uniform and shared between the

    [10 lines not shown]
DeltaFile
+2-3stand/efi/loader/arch/arm/exec.c
+2-3stand/efi/loader/arch/riscv/exec.c
+2-1stand/efi/loader/arch/arm64/exec.c
+6-73 files

LLVM/project ed9da27mlir/include/mlir/Dialect/Transform/IR TransformOps.td, mlir/include/mlir/Dialect/Transform/Interfaces TransformInterfaces.td

[mlir] add normal form checked transform interface (#192647)

This interface can be implemented by operations that guarantee certain
normal forms for themselves and their regions. The operations provide
the list of normal forms they guarantee. This interface interacts with
the typed transform handles removing the need for them to check normal
forms that are guaranteed (and preserved by transforms).

Provide a simple `transform.payload` operation to carry a list of normal
forms and implement the interface.

This exposes the fact that the transform interpreter may be running the
verifier too much, but this is a pre-existing beavior that is orthogonal
to this patch.

Assisted-by: Claude Opus 4.7 / Cursor
DeltaFile
+85-1mlir/test/Dialect/Transform/normal-forms.mlir
+16-25mlir/lib/Dialect/Transform/IR/TransformTypes.cpp
+39-0mlir/lib/Dialect/Transform/Interfaces/TransformInterfaces.cpp
+29-0mlir/include/mlir/Dialect/Transform/Interfaces/TransformInterfaces.td
+17-0mlir/include/mlir/Dialect/Transform/IR/TransformOps.td
+16-0mlir/test/lib/Dialect/Transform/TestTransformDialectExtension.cpp
+202-264 files not shown
+244-2810 files

NetBSD/pkgsrc-wip 3c04956tangled distinfo go-modules.mk, tangled-git distinfo go-modules.mk

tangled: replace tangled-git with package for latest tag
DeltaFile
+2,228-0tangled/distinfo
+0-2,225tangled-git/distinfo
+0-743tangled-git/go-modules.mk
+743-0tangled/go-modules.mk
+20-0tangled/Makefile
+0-19tangled-git/Makefile
+2,991-2,9875 files not shown
+3,001-2,99611 files

FreeBSD/ports 86d6aecwww/pacparser distinfo Makefile

www/pacparser: Update to 1.5.1
DeltaFile
+3-3www/pacparser/distinfo
+1-1www/pacparser/Makefile
+4-42 files

LLVM/project 00177efclang/include/clang/Options Options.td, clang/test/Driver cl-options.c

[clang] Exposse -fdiagnostics-print-source-range-info to clang-cl (#192500)
DeltaFile
+1-1clang/include/clang/Options/Options.td
+1-0clang/test/Driver/cl-options.c
+2-12 files

FreeBSD/ports f2fa1e7mail/s-nail Makefile

mail/s-nail: Take maintainership

PR:             294589
Approved by:    osa (mentor)
DeltaFile
+3-4mail/s-nail/Makefile
+3-41 files

LLVM/project e5bb804llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/readability BUILD.gn

[gn build] Port 96266b71214a (#192663)
DeltaFile
+1-0llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/readability/BUILD.gn
+1-01 files

FreeBSD/src 8e08080libexec/rc rc.conf

rc.conf: Fix typo in comment

The correct path is /etc/defaults/rc.conf (defaults in plural).

Reviewed by:    netchild
Fixes:          cc4eb1ea1040 ("Add support for a /etc/defaults/vendor.conf override file")
MFC after:      3 days
Differential Revision:  https://reviews.freebsd.org/D56456
DeltaFile
+1-1libexec/rc/rc.conf
+1-11 files

ELF Tool Chain/elftoolchain 4369trunk/nm nm.1

nm.1: Address warnings from mandoc -Tlint.
DeltaFile
+1-2trunk/nm/nm.1
+1-21 files

pkgng/pkgng b636155tests/frontend lua.sh shellscript.sh

fix tests now they print_msg and PKG_MSGFD are silent with -q
DeltaFile
+19-16tests/frontend/lua.sh
+11-4tests/frontend/shellscript.sh
+30-202 files

ELF Tool Chain/elftoolchain 4368trunk/isa isa.1

isa.1: Fix mandoc -Tlint warnings.
DeltaFile
+13-11trunk/isa/isa.1
+13-111 files

LLVM/project e7e01e1mlir/lib/Tools/mlir-opt MlirOptMain.cpp, mlir/test/Dialect/Transform normal-forms.mlir

[mlir] MlirOptMain: avoid double verification

MlirOptMain would run verification twice at the end of the processing:
  1. after the last pass in the pipeline;
  2. prior to printing.
Since there is no logic that could mutate, and thus potentially
invalidate, the IR between the two, the second verification is
redundant. Skip it when possible.
DeltaFile
+7-2mlir/lib/Tools/mlir-opt/MlirOptMain.cpp
+1-3mlir/test/Dialect/Transform/normal-forms.mlir
+8-52 files

LLVM/project 39384b9mlir/include/mlir/Dialect/Arith/Transforms Passes.td Passes.h, mlir/lib/Dialect/Arith/Transforms ExpandOps.cpp

[mlir][arith] Add support for `arith.flush_denormals` emulation
DeltaFile
+135-0mlir/lib/Dialect/Arith/Transforms/ExpandOps.cpp
+107-0mlir/test/Dialect/Arith/expand-flush-denormals.mlir
+15-0mlir/include/mlir/Dialect/Arith/Transforms/Passes.td
+5-0mlir/include/mlir/Dialect/Arith/Transforms/Passes.h
+262-04 files

LLVM/project b869571llvm/lib/Target/AArch64/AsmParser AArch64AsmParser.cpp, llvm/test/MC/AArch64 armv9-sysp-diagnostics.s

fixup! Improve error parsing
DeltaFile
+46-25llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+12-12llvm/test/MC/AArch64/armv9-sysp-diagnostics.s
+58-372 files

LLVM/project d4568dellvm/lib/Target/AArch64 AArch64RegisterInfo.td, llvm/lib/Target/AArch64/AsmParser AArch64AsmParser.cpp

fixup! Implement Marian's suggestion to implement as XSeqPairsClass + [XZR, XZR]
DeltaFile
+54-82llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+35-73llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
+12-9llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp
+8-1llvm/lib/Target/AArch64/AArch64RegisterInfo.td
+0-7llvm/test/MC/AArch64/armv9a-sysp.s
+1-3llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.h
+110-1756 files

LLVM/project 4ac4eabllvm/lib/Target/AArch64/MCTargetDesc AArch64InstPrinter.cpp, llvm/test/MC/AArch64 armv9a-sysp.s

fixup! Add no-alias tests
DeltaFile
+4-3llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
+7-0llvm/test/MC/AArch64/armv9a-sysp.s
+11-32 files

LLVM/project 3df1c04llvm/lib/Target/AArch64 AArch64InstrFormats.td, llvm/lib/Target/AArch64/AsmParser AArch64AsmParser.cpp

fixup! Address PR comments
DeltaFile
+5-9llvm/lib/Target/AArch64/AArch64InstrFormats.td
+2-3llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+1-2llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp
+1-1llvm/test/MC/AArch64/armv9-sysp-diagnostics.s
+9-154 files

LLVM/project bbe1852llvm/lib/Target/AArch64 AArch64InstrFormats.td

fixup! Fixes after rebasing following Marian's change
DeltaFile
+3-3llvm/lib/Target/AArch64/AArch64InstrFormats.td
+3-31 files

LLVM/project 1575b6bllvm/lib/Target/AArch64 AArch64InstrInfo.td, llvm/lib/Target/AArch64/AsmParser AArch64AsmParser.cpp

fixup! Remove SYSPxt_XZR and update code to reflect this
DeltaFile
+27-34llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+41-14llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
+8-26llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp
+2-30llvm/lib/Target/AArch64/AArch64InstrInfo.td
+0-20llvm/test/MC/AArch64/armv9-sysp-invalid.s
+13-3llvm/test/MC/AArch64/armv9-sysp-diagnostics.s
+91-1274 files not shown
+105-13710 files

LLVM/project 30bd608llvm/lib/Target/AArch64 AArch64InstrFormats.td, llvm/lib/Target/AArch64/AsmParser AArch64AsmParser.cpp

fixup! Templatise bounds checking and improve tests
DeltaFile
+15-4llvm/test/MC/AArch64/armv9-sysp-diagnostics.s
+18-0llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+12-5llvm/lib/Target/AArch64/AArch64InstrFormats.td
+0-8llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
+45-174 files

LLVM/project ba23c4cllvm/lib/Target/AArch64 AArch64InstrFormats.td AArch64InstrInfo.td, llvm/lib/Target/AArch64/Disassembler AArch64Disassembler.cpp

[AArch64][llvm] Tighten SYSP; don't disassemble invalid encodings

Tighten SYSP aliases, so that invalid encodings are disassembled
to `<unknown>`. This is because:

```
  Cn is a 4-bit unsigned immediate, in the range 8 to 9
  Cm is a 4-bit unsigned immediate, in the range 0 to 7
  op1 is a 3-bit unsigned immediate, in the range 0 to 6
  op2 is a 3-bit unsigned immediate, in the range 0 to 7
```

Ensure we check this when disassembling, and also constrain
tablegen for compile-time errors of invalid encodings.

Also adjust the testcases in `armv9-sysp-diagnostics.s` and
`llvm/test/MC/AArch64/armv9a-sysp.s` as they were invalid,
and added a few invalid (outside of range) SYSP-alikes to
test that `<unknown>` is printed
DeltaFile
+111-111llvm/test/MC/AArch64/armv9a-sysp.s
+25-1llvm/lib/Target/AArch64/AArch64InstrFormats.td
+25-0llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp
+20-0llvm/test/MC/AArch64/armv9-sysp-invalid.s
+7-8llvm/test/MC/AArch64/armv9-sysp-diagnostics.s
+7-3llvm/lib/Target/AArch64/AArch64InstrInfo.td
+195-1233 files not shown
+207-1279 files

LLVM/project 6f1feaallvm/lib/Target/AArch64 AArch64InstrFormats.td AArch64InstrInfo.td

fixup! Address Marian's PR comments: use imm0_6 predicate
DeltaFile
+9-1llvm/lib/Target/AArch64/AArch64InstrFormats.td
+2-2llvm/lib/Target/AArch64/AArch64InstrInfo.td
+11-32 files