LLVM/project af103f5flang/include/flang/Optimizer/Support Utils.h, flang/lib/Optimizer/Support Utils.cpp

[flang] Add utility to obtain presentable function name (#199067)

This PR adds `getPresentableFunctionName` utility to enable obtaining
the demangled and no underscore function name that can be used for
presentation for a user and is consistent with the name used in source
code.
DeltaFile
+25-0flang/lib/Optimizer/Support/Utils.cpp
+6-0flang/include/flang/Optimizer/Support/Utils.h
+31-02 files

LLVM/project f4076e1libc/src/__support big_int.h, libc/src/__support/FPUtil except_value_utils.h FPBits.h

[libc][math] Add gcc-7 to 9 compatibility for shared math. (#197868)

- Add more fine-grained constexpr annotations.
- Apply fine-grained constexpr annotations to `src/__support`,
`src/__support/FPUtil` folder.
- Remove or update constexpr annotations for functions in
`src/__support/math` folder.
- Fix or ignore old gcc's warnings.

Assisted-by: Gemini 3.1 Flash with step 3.
DeltaFile
+42-19libc/src/__support/FPUtil/except_value_utils.h
+14-12libc/src/__support/big_int.h
+13-12libc/src/__support/FPUtil/FPBits.h
+22-0libc/src/__support/macros/attributes.h
+8-6libc/src/__support/FPUtil/generic/sqrt.h
+7-7libc/src/__support/FPUtil/dyadic_float.h
+106-5658 files not shown
+221-14864 files

LLVM/project f028b05clang-tools-extra/clang-doc Serialize.cpp Serialize.h, llvm/lib/Target/PowerPC PPCInstrVSX.td

Merge branch 'main' into users/ilovepi/instrumentor-nondet
DeltaFile
+102-8llvm/test/CodeGen/AMDGPU/amdgpu-attributor-min-agpr-alloc.ll
+53-52clang-tools-extra/clang-doc/Serialize.cpp
+29-42clang-tools-extra/clang-doc/Serialize.h
+21-23clang-tools-extra/clang-doc/Representation.cpp
+7-20clang-tools-extra/clang-doc/Representation.h
+4-19llvm/lib/Target/PowerPC/PPCInstrVSX.td
+216-16420 files not shown
+312-25326 files

LLVM/project f1a2724clang-tools-extra/clang-doc Serialize.cpp Serialize.h

[clang-doc] Removed OwnedPtr alias (#190427)

The alias served a purpose during migration, but now conveys the wrong
semantics, as the memory of these pointers is interned inside a local
arena.
DeltaFile
+40-38clang-tools-extra/clang-doc/Serialize.cpp
+29-42clang-tools-extra/clang-doc/Serialize.h
+17-18clang-tools-extra/clang-doc/Representation.cpp
+3-22clang-tools-extra/clang-doc/Representation.h
+8-8clang-tools-extra/clang-doc/JSONGenerator.cpp
+8-6clang-tools-extra/clang-doc/Generators.h
+105-13411 files not shown
+148-17717 files

LLVM/project f4e977bllvm/lib/Transforms/Vectorize SLPVectorizer.cpp

Address comments

Created using spr 1.3.7
DeltaFile
+26-21llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+26-211 files

LLVM/project 2c370e7utils/bazel/llvm-project-overlay/mlir BUILD.bazel

Fixes 20be2d6b (#199054)
DeltaFile
+2-0utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+2-01 files

LLVM/project 5cc0cc5llvm/lib/Target/PowerPC PPCInstrVSX.td PPCInstr64Bit.td

[PowerPC][NFC] Change arguments of PPCPostRAExpPseudo/PseudoXFormMemOp (#198861)

The assembler string of the pseudo is almost always a # followed by the
name of the pseudo. A good part of the pseudos does not have a pattern.
Changing the order of arguments asmstr and pattern in PPCPostRAExpPseudo
and PseudoXFormMemOp, and assigning default values, reduces repetitions.
DeltaFile
+4-19llvm/lib/Target/PowerPC/PPCInstrVSX.td
+4-7llvm/lib/Target/PowerPC/PPCInstr64Bit.td
+4-4llvm/lib/Target/PowerPC/PPCInstrInfo.td
+5-3llvm/lib/Target/PowerPC/PPCInstrFormats.td
+3-4llvm/lib/Target/PowerPC/PPCInstrMMA.td
+20-375 files

LLVM/project 140b4ecllvm/lib/Target/AMDGPU AMDGPUAttributor.cpp, llvm/test/CodeGen/AMDGPU amdgpu-attributor-min-agpr-alloc.ll amdgpu-attributor-flat-scratch-init-asan.ll

[AMDGPU] Use pessimistic fixpoint in AAAMDGPUMinAGPRAlloc for sanitized functions (#197795)

Adding pessimistic fixpoint when a function has any sanitizer attribute
(`sanitize_address`, `sanitize_memory`, `sanitize_thread`,
`sanitize_hwaddress`, `sanitize_mem_tag`). This prevents the Attributor
from inferring "amdgpu-agpr-alloc"="0" for sanitized functions or their
callers, letting the register allocator conservatively reserve AGPR
capacity.

This patch should prevent kernel to exceeds the hardware register budget
on gfx90a where VPGR and AGPR share the same physical register file.

---------

Co-authored-by: Brendon Cahoon <Brendon.Cahoon at amd.com>
DeltaFile
+102-8llvm/test/CodeGen/AMDGPU/amdgpu-attributor-min-agpr-alloc.ll
+6-1llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
+1-1llvm/test/CodeGen/AMDGPU/amdgpu-attributor-flat-scratch-init-asan.ll
+109-103 files

FreeNAS/freenas 871e584src/middlewared/middlewared/plugins/pool_ dataset.py, tests/api2 test_pool_dataset_create.py

Harden default dataset config for NAS storage

This commit changes our defaults for newly created filesystems
that are outside of namespaces for root filesystems for apps and
containers. Specifically, we're now setting noexec, nosuid, and
nodev by default to more closely align with storage industry
best practices. No migration is one for existing data.

The noexec property is exposed to users because there is
prior precedence for allowing users to toggle on/off (apps may
want to execute scripts provided on generic NAS storage), but
other options are not exposed directly to users in the
pool.dataset.create API.
DeltaFile
+30-0tests/api2/test_pool_dataset_create.py
+10-0src/middlewared/middlewared/plugins/pool_/dataset.py
+40-02 files

LLVM/project d352b73clang-tools-extra/clang-doc Serialize.cpp Serialize.h

[clang-doc] Removed OwnedPtr alias

The alias served a purpose during migration, but now conveys the wrong
semantics, as the memory these pointers reference is interned inside
a local arena, and doesn't convey any sort of ownership.
DeltaFile
+40-38clang-tools-extra/clang-doc/Serialize.cpp
+29-42clang-tools-extra/clang-doc/Serialize.h
+17-18clang-tools-extra/clang-doc/Representation.cpp
+3-22clang-tools-extra/clang-doc/Representation.h
+8-8clang-tools-extra/clang-doc/JSONGenerator.cpp
+8-6clang-tools-extra/clang-doc/Generators.h
+105-13411 files not shown
+148-17717 files

LLVM/project 6860d87clang-tools-extra/clang-doc Representation.h

[clang-doc][nfc] Reformat and revise comment block
DeltaFile
+35-22clang-tools-extra/clang-doc/Representation.h
+35-221 files

FreeBSD/ports 55f9083databases/pgbarman distinfo Makefile

databases/pgbarman: update to 3.19.0

Changes:        https://github.com/EnterpriseDB/barman/blob/release/3.19.0/RELNOTES.md
Reported by:    portscout
DeltaFile
+3-3databases/pgbarman/distinfo
+1-1databases/pgbarman/Makefile
+4-42 files

LLVM/project 1618a24clang-tools-extra/clang-doc Serialize.cpp BitcodeReader.cpp, clang-tools-extra/clang-doc/benchmarks ClangDocBenchmark.cpp

[clang-doc] Use distinct APIs for fixed arena allocation sites (#190426)

Typically, code either always emits data into the TransientArena or the
PersistentArena. Use more explicit APIs to convey the intent directly
instead of relying on parameters or defaults.
DeltaFile
+13-14clang-tools-extra/clang-doc/Serialize.cpp
+6-7clang-tools-extra/clang-doc/benchmarks/ClangDocBenchmark.cpp
+6-5clang-tools-extra/clang-doc/BitcodeReader.cpp
+4-5clang-tools-extra/clang-doc/Representation.cpp
+7-1clang-tools-extra/clang-doc/Representation.h
+36-325 files

LLVM/project 6a60b69llvm/test/CodeGen/NVPTX machine-cse-predicate-inversion.ll, llvm/test/CodeGen/RISCV rvp-simd-64.ll

Merge branch 'main' into users/ilovepi/instrumentor-nondet
DeltaFile
+3,903-0llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion.ll
+0-2,353llvm/test/CodeGen/X86/horizontal-reduce-umax.ll
+0-2,223llvm/test/CodeGen/X86/horizontal-reduce-smin.ll
+0-2,220llvm/test/CodeGen/X86/horizontal-reduce-smax.ll
+0-2,099llvm/test/CodeGen/X86/horizontal-reduce-umin.ll
+293-1,709llvm/test/CodeGen/RISCV/rvp-simd-64.ll
+4,196-10,604534 files not shown
+23,517-17,434540 files

LLVM/project 299d11fllvm/lib/Target/RISCV RISCVVectorPeephole.cpp

[RISCV] Pass MachineOperand * to avoid copying. NFC (#199065)

MachineOperand is 32 bytes according to clangd so passing a pointer will
be cheaper
DeltaFile
+9-9llvm/lib/Target/RISCV/RISCVVectorPeephole.cpp
+9-91 files

LLVM/project d7c8e71clang/lib/CIR/CodeGen CIRGenAtomic.cpp, clang/test/CIR/CodeGen atomic.c

[CIR] Fix atomic-fetch conflict: (#199066)

We had #195537 and #198871 both attempt to fix the same problem, in
mildly different ways. My patch (the latter) did so in a way that was
rendered 'moot' by the former patch.

After looking into it further, I believe that the former is the
'correct' patch.

THIS patch is a partial revert of my patch, leaving the lambda (as I
    think it is a good 'readability' improvement), plus leaving/updating
the test.
DeltaFile
+0-20clang/lib/CIR/CodeGen/CIRGenAtomic.cpp
+6-10clang/test/CIR/CodeGen/atomic.c
+6-302 files

LLVM/project d348eb6llvm/lib/Target/AMDGPU GCNSchedStrategy.cpp, llvm/test/CodeGen/AMDGPU sched_mfma_rewrite_copies.mir

[AMDGPU] Skip bridge copies for grouped MFMA instructions (#198555)

When the MFMA-form rewrite moves a chain of matrix ops from VGPR to AGPR
form, the bridges between ops in the chain don't exist post-rewrite,
instead they all live in AGPR-form together. The cost model was counting
those phantom bridges and rejecting rewrites that were actually
profitable.

Treat the candidate set as a group. Edges inside the group need no
bridge. Skip candidates whose results escape to non-matrix users.

Co-author: Vlad Romanov <Vladislav.Romanov at amd.com>
DeltaFile
+232-42llvm/test/CodeGen/AMDGPU/sched_mfma_rewrite_copies.mir
+69-11llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
+301-532 files

LLVM/project 92a37eamlir/docs/Tutorials DataFlowAnalysis.md

[mlir][docs] Fix bugs in data flow analysis code example (#198200)

Some minor changes to avoid compilation errors.
1. `MetadataLatticeValue` doesn't define an `insert` method.
2. `it` (the one that changed) and `rhsIt` are both iterators.
DeltaFile
+3-3mlir/docs/Tutorials/DataFlowAnalysis.md
+3-31 files

LLVM/project 0def776lldb/tools/lldb-dap/extension package-lock.json, llvm/test/CodeGen/NVPTX machine-cse-predicate-inversion.ll

Rebase

Created using spr 1.3.7
DeltaFile
+3,903-0llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion.ll
+2,504-1,285lldb/tools/lldb-dap/extension/package-lock.json
+0-2,353llvm/test/CodeGen/X86/horizontal-reduce-umax.ll
+0-2,223llvm/test/CodeGen/X86/horizontal-reduce-smin.ll
+0-2,220llvm/test/CodeGen/X86/horizontal-reduce-smax.ll
+0-2,099llvm/test/CodeGen/X86/horizontal-reduce-umin.ll
+6,407-10,1801,490 files not shown
+62,701-31,2981,496 files

LLVM/project 4f4ec3cclang/include/clang/Frontend FrontendActions.h CompilerInstance.h, clang/lib/Frontend CompilerInstance.cpp FrontendActions.cpp

[clang] Allow clang only write module/pch when output is different (#198881)

Add an parameter to the output file creation function in clang to allow
it to configure output backend to only write output if the file is
different from the file on the disk. This is useful in a legacy build
system where the incremental build state is tracked by timestamp. For
example, producing the same clang module in the build will not update
the timestamp, thus downstream jobs do not need to be re-run.

The default value is not change so NFI is expected. This is only to
allow clients need such behavior to enable when needed.

Patched-by: hjyamauchi

Co-authored-by: Hiroshi Yamauchi <56735936+hjyamauchi at users.noreply.github.com>
DeltaFile
+11-9clang/lib/Frontend/CompilerInstance.cpp
+12-1clang/include/clang/Frontend/FrontendActions.h
+8-4clang/lib/Frontend/FrontendActions.cpp
+4-3clang/include/clang/Frontend/CompilerInstance.h
+35-174 files

LLVM/project 35f263clldb/include/lldb/Host/windows PseudoConsole.h, lldb/source/Host/windows PipeWindows.cpp

[NFC][lldb][windows] Replace C-style casts with static_cast / reinterpret_cast (#199039)
DeltaFile
+7-5lldb/include/lldb/Host/windows/PseudoConsole.h
+2-2lldb/source/Plugins/Process/Windows/Common/NativeThreadWindows.cpp
+2-2lldb/source/Plugins/Process/Windows/Common/RegisterContextWindows.cpp
+2-1lldb/source/Host/windows/PipeWindows.cpp
+1-1lldb/source/Plugins/Process/Windows/Common/DebuggerThread.cpp
+1-1lldb/source/Plugins/Process/Windows/Common/TargetThreadWindows.cpp
+15-126 files

FreeBSD/src 8c90d1eshare/man/man4 p9fs.4 Makefile

p9fs.4: MLINK to virtio_p9fs.4

Technically, virtio_p9fs is an emulated device that masquerades
as a p9fs mount, but it does not make sense to have two separate manual
pages.

Reviewed by:    bnovkov, dfr
MFC after:      3 days
Differential Revision:  https://reviews.freebsd.org/D57013

(cherry picked from commit 30f500e97b57d36ebb8483cb8b8921507350cd0f)
DeltaFile
+3-2share/man/man4/p9fs.4
+1-0share/man/man4/Makefile
+4-22 files

FreeNAS/freenas 694c116tests/sharing_protocols/iscsi test_262_iscsi_alua.py

iSCSI ALUA: regression test for failover LUN-replace stall

Add an extended test that builds 2 targets (25 + 10 LUNs), opens an
iSCSI session to the standby on the 25-LUN target so the kernel has
tgt_devs to clean up during become_active, then triggers an ungraceful
failover via poweroff_vm. Asserts:

  - /var/log/failover.log on the new master does not contain
    'Failed to restart service "iscsitarget" after 15 seconds',
    which would indicate the LUN-replace loop stalled.
  - /sys/kernel/scst_tgt/async_lun_replace reads 0 after failover,
    confirming reset_active released the parked cleanup work.
  - All LUNs are reachable on the new master.

A function-scoped fixture handles recovery (start_vm, wait_for_backup,
wait_for_settle) so the cluster is restored to a clean two-node state
even if an assertion above failed.

Uses the dataset() asset helper rather than zvol() for lower
per-extent overhead at this scale.
DeltaFile
+210-1tests/sharing_protocols/iscsi/test_262_iscsi_alua.py
+210-11 files

FreeNAS/freenas 4e58785tests/sharing_protocols/fibre_channel test_fibre_channel.py, tests/sharing_protocols/nfs test_nfs_mt_races.py test_nfs_dacl_readdir.py

Temporarily restrict sharing tests to iSCSI
DeltaFile
+0-2,303tests/sharing_protocols/nvmet/test_nvmet_tcp.py
+0-1,081tests/sharing_protocols/fibre_channel/test_fibre_channel.py
+0-1,027tests/sharing_protocols/nfs/test_nfs_mt_races.py
+0-921tests/sharing_protocols/nvmet/nvmet_ha_utils.py
+0-818tests/sharing_protocols/smb/test_smb_protocol_base.py
+0-658tests/sharing_protocols/nfs/test_nfs_dacl_readdir.py
+0-6,80818 files not shown
+0-11,43224 files

FreeNAS/freenas a156952src/middlewared/middlewared/etc_files scst.conf.mako

Always set bind_alua_state
DeltaFile
+1-0src/middlewared/middlewared/etc_files/scst.conf.mako
+1-01 files

FreeNAS/freenas 1711783tests/sharing_protocols/iscsi test_262_iscsi_alua.py

Increase timeout for test_failover_lun_replace
DeltaFile
+1-1tests/sharing_protocols/iscsi/test_262_iscsi_alua.py
+1-11 files

FreeNAS/freenas aed8c43src/middlewared/middlewared/plugins/iscsi_ scst.py alua.py

Release parked async LUN-replace cleanup after DLM peer eviction

scst.async_lun_replace=1 now also tells the kernel to park the deferred
cleanup of old tgt_devs from each LUN replace until the flag is cleared.
This avoids stalling become_active on scst_dlm_lock_wait inside
scst_clear_reservation while the dead peer is still a DLM lockspace
member.

Add iscsi.scst.disable_async_lun_replace and call it from the end of
iscsi.alua.reset_active, after dlm.reset_active (which evicts the peer)
completes.
DeltaFile
+20-1src/middlewared/middlewared/plugins/iscsi_/scst.py
+10-2src/middlewared/middlewared/plugins/iscsi_/alua.py
+30-32 files

FreeNAS/freenas ecf1107tests/sharing_protocols/iscsi test_262_iscsi_alua.py

Add restore_active_node fixture
DeltaFile
+41-1tests/sharing_protocols/iscsi/test_262_iscsi_alua.py
+41-11 files

FreeNAS/freenas c441164src/middlewared/middlewared/plugins dlm.py

Remove logout all HA targets from reset_active
DeltaFile
+2-5src/middlewared/middlewared/plugins/dlm.py
+2-51 files

FreeBSD/ports cc424fbsysutils/rundeck distinfo Makefile

sysutils/rundeck: Update 5.20.0 => 5.20.1

Release Notes:
https://docs.rundeck.com/docs/history/5_x/version-5.20.1.html

PR:             295411
Sponsored by:   UNIS Labs
DeltaFile
+3-3sysutils/rundeck/distinfo
+2-2sysutils/rundeck/Makefile
+5-52 files