LLVM/project c94739allvm/lib/CodeGen MachineCombiner.cpp

[MachineCombiner] Defer pattern order verfication. NFC (#177081)

The `verifyPatternOrder` function was created to check if machine
combiner patterns are ordered by their latency reduction degree. This
function can be merged into the following loop, which iterates through
all the patterns, such that (1) `TII::genAlternativeCodeSequence`, which
can be quite expensive, won't be called twice (2) since it's now placed
after we print out the candidate sequence through debug print, if
anything goes wrong during the verification, we at least know what the
sequence looks like (3) we don't need to verify all patterns if we will
eventually exit early.

This should be a NFC
DeltaFile
+15-33llvm/lib/CodeGen/MachineCombiner.cpp
+15-331 files

OpenBSD/src CZX5OHnsys/dev/pci/drm/amd/amdkfd kfd_smi_events.c

   drm/amdkfd: Fix improper NULL termination of queue restore SMI event string

   From Brian Kocoloski
   47206d70d1fba05470a2bd00ae3d66d27487c195 in linux-6.12.y/6.12.66
   969faea4e9d01787c58bab4d945f7ad82dad222d in mainline linux
VersionDeltaFile
1.7+1-1sys/dev/pci/drm/amd/amdkfd/kfd_smi_events.c
+1-11 files

OpenBSD/src HMtsAzLsys/dev/pci/drm/amd/display/dc/hwss/dce110 dce110_hwseq.c

   drm/amd/display: Fix DP no audio issue

   From Charlene Liu
   f609041424d56f673e278f38ebbc71e05564b2ea in linux-6.12.y/6.12.66
   3886b198bd6e49c801fe9552fcfbfc387a49fbbc in mainline linux
VersionDeltaFile
1.11+4-4sys/dev/pci/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
+4-41 files

OpenBSD/src 3Cyc9oasys/dev/pci/drm/amd/display/dc/hwss/dce110 dce110_hwseq.c, sys/dev/pci/drm/amd/display/include audio_types.h

   drm/amd/display: shrink struct members

   From Rosen Penev
   e83af97d5c3913c5d0bb81dcf0188f7c48731215 in linux-6.12.y/6.12.66
   7329417fc9ac128729c3a092b006c8f1fd0d04a6 in mainline linux
VersionDeltaFile
1.4+5-7sys/dev/pci/drm/amd/display/include/audio_types.h
1.10+0-3sys/dev/pci/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
+5-102 files

LLVM/project 8636af3llvm/test/CodeGen/RISCV clmul.ll, llvm/test/CodeGen/X86 clmul-vector.ll

Address review comments

Created using spr 1.3.6-beta.1
DeltaFile
+12,546-0llvm/test/CodeGen/RISCV/clmul.ll
+6,171-5,115llvm/test/CodeGen/X86/clmul-vector.ll
+5,421-5,421llvm/test/MC/AMDGPU/gfx10_asm_vopc_e64.s
+5,392-5,392llvm/test/MC/Disassembler/AMDGPU/gfx10_vop3c.txt
+3,733-3,733llvm/test/MC/Disassembler/AMDGPU/gfx10_vop3.txt
+2,919-2,919llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3_from_vopc.txt
+36,182-22,5803,009 files not shown
+269,044-176,5533,015 files

LLVM/project 6aa3ab3llvm/test/CodeGen/RISCV clmul.ll, llvm/test/CodeGen/X86 clmul-vector.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.6-beta.1

[skip ci]
DeltaFile
+12,546-0llvm/test/CodeGen/RISCV/clmul.ll
+6,171-5,115llvm/test/CodeGen/X86/clmul-vector.ll
+5,421-5,421llvm/test/MC/AMDGPU/gfx10_asm_vopc_e64.s
+5,392-5,392llvm/test/MC/Disassembler/AMDGPU/gfx10_vop3c.txt
+3,733-3,733llvm/test/MC/Disassembler/AMDGPU/gfx10_vop3.txt
+2,919-2,919llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3_from_vopc.txt
+36,182-22,5803,006 files not shown
+269,001-176,5383,012 files

LLVM/project 2c3e3cfllvm/test/CodeGen/RISCV clmul.ll, llvm/test/CodeGen/X86 clmul-vector.ll

Rebase

Created using spr 1.3.6-beta.1
DeltaFile
+12,546-0llvm/test/CodeGen/RISCV/clmul.ll
+6,171-5,115llvm/test/CodeGen/X86/clmul-vector.ll
+5,421-5,421llvm/test/MC/AMDGPU/gfx10_asm_vopc_e64.s
+5,392-5,392llvm/test/MC/Disassembler/AMDGPU/gfx10_vop3c.txt
+3,733-3,733llvm/test/MC/Disassembler/AMDGPU/gfx10_vop3.txt
+2,919-2,919llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3_from_vopc.txt
+36,182-22,5803,006 files not shown
+269,001-176,5383,012 files

OpenBSD/src NKrwfXbsys/dev/pci/drm/radeon pptable.h

   drm/radeon: Remove __counted_by from ClockInfoArray.clockInfo[]

   From Alex Deucher
   7500ab83bad207341916950bb21248af0a1ee21e in linux-6.12.y/6.12.66
   19158c7332468bc28572bdca428e89c7954ee1b1 in mainline linux
VersionDeltaFile
1.5+1-1sys/dev/pci/drm/radeon/pptable.h
+1-11 files

OpenBSD/src 6OTEJyssys/dev/pci/drm/amd/amdgpu amdgpu_kms.c

   drm/amdgpu: Fix query for VPE block_type and ip_count

   From Alan Liu
   90b4b130a20d80decfc9b115c187f818ab83a30a in linux-6.12.y/6.12.66
   72d7f4573660287f1b66c30319efecd6fcde92ee in mainline linux
VersionDeltaFile
1.39+6-0sys/dev/pci/drm/amd/amdgpu/amdgpu_kms.c
+6-01 files

FreeBSD/src 12444a4lib/libpam/pam.d cron, usr.sbin/cron/cron do_command.c

cron: Implement full PAM session lifecycle for user jobs

Extend PAM integration beyond account checks to include credential
establishment and session management, allowing PAM modules to configure
the execution environment for user cron jobs.

Previously, cron only called pam_acct_mgmt() to verify account validity
but immediately terminated the PAM handle before job execution. This
prevented PAM modules from establishing sessions, setting credentials
(e.g., Kerberos tickets), or exporting environment variables needed by
jobs.

The PAM handle now persists in the intermediate process throughout the
job execution, enabling proper session open/close pairing. Credentials
are established and sessions opened while still running as root, before
dropping privileges in the grandchild. PAM environment variables are
exported in the job process with user crontab variables taking precedence.

A session rule (pam_permit.so) is added to /etc/pam.d/cron to enable

    [9 lines not shown]
DeltaFile
+139-5usr.sbin/cron/cron/do_command.c
+3-0lib/libpam/pam.d/cron
+142-52 files

FreeNAS/freenas 5cd3fadsrc/middlewared/middlewared/plugins/security update.py

Allow toggling stig settings
DeltaFile
+2-0src/middlewared/middlewared/plugins/security/update.py
+2-01 files

LLVM/project ecdfa89llvm/lib/Target/LoongArch LoongArchISelLowering.cpp, llvm/test/CodeGen/LoongArch/lasx/ir-instruction extractelement.ll

[LoongArch] Remove DAG combination for extractelement

Combination for `trunc+extend+extractelement` to a single
`extractelement` may occur error, because the high bits of the
extract index truncated by `trunc` operation are reserved
after the combination.

This commit remove this combination and the issue
https://github.com/llvm/llvm-project/issues/176839 will never
appear.
DeltaFile
+0-43llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
+26-12llvm/test/CodeGen/LoongArch/lasx/ir-instruction/extractelement.ll
+26-552 files

LLVM/project 8bb659fllvm/utils/lit/tests filter-failed-rerun.py

[lit] Fix filter-failed-rerun.py on readonly FSes (#177075)

This test invokes lit in a directory and then tries to overwrite
fail.txt within that directory. With the project sources mounted as
read-only, fail.txt ends up being marked readonly, which causes cp to
fail without -f. Use cp -f to ensure we overwrite the existing fail.txt.
DeltaFile
+1-1llvm/utils/lit/tests/filter-failed-rerun.py
+1-11 files

FreeBSD/src 8e49c6clib/libexecinfo/tests sigtramp_test.c

libexecinfo: tests: Expect failure on aarch64

Add a guard that expects a failure of the test on aarch64.

Reviewed by:    emaste
Fixes:          df1ea5887326 ("tests: Test libexecinfo backtrace call througth signal trampoline")
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54675

(cherry picked from commit fef84fd8ae845e19cec0f6b9aac0e6451cca3d7a)
DeltaFile
+8-0lib/libexecinfo/tests/sigtramp_test.c
+8-01 files

FreeBSD/src 9f90e5alib/libexecinfo/tests sigtramp_test.c

libexecinfo: tests: Expect failure on aarch64

Add a guard that expects a failure of the test on aarch64.

Reviewed by:    emaste
Fixes:          df1ea5887326 ("tests: Test libexecinfo backtrace call througth signal trampoline")
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54675

(cherry picked from commit fef84fd8ae845e19cec0f6b9aac0e6451cca3d7a)
DeltaFile
+8-0lib/libexecinfo/tests/sigtramp_test.c
+8-01 files

FreeBSD/src 27bf077etc/mtree BSD.debug.dist

gdb: Add missing mtree debug entry

Reviewed by:    markj
Fixes:          ea675a43f09b ("libexec/kgdb: Add new modules and install them together with debug info")
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54680

(cherry picked from commit 0d9fd06b03e06ae642fa54510473b15361034a54)
DeltaFile
+2-0etc/mtree/BSD.debug.dist
+2-01 files

LLVM/project 27fc45bllvm/lib/Target/AMDGPU AMDGPU.td VOP3Instructions.td

[AMDGPU] Further improve `AMDGPUSubtargetFeature` multiclass

This PR extends the multiclass to support two additional parameters: one for specifying whether an `AssemblerPredicate` should be generated, and another for dependent `SubtargetFeatures`. This allows 15 more definitions to be converted to use the multiclass.
DeltaFile
+95-107llvm/lib/Target/AMDGPU/AMDGPU.td
+3-3llvm/lib/Target/AMDGPU/VOP3Instructions.td
+2-2llvm/lib/Target/AMDGPU/GCNSubtarget.h
+1-1llvm/lib/Target/AMDGPU/VOP1Instructions.td
+101-1134 files

LLVM/project 3f64e18utils/bazel/llvm-project-overlay/libc BUILD.bazel, utils/bazel/llvm-project-overlay/libc/test/src/stdio BUILD.bazel

[Bazel] Fix libc build (#177072)

Add the necessary wchar components to the tests and create targets that
do not already exist that are needed.
DeltaFile
+69-0utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+2-0utils/bazel/llvm-project-overlay/libc/test/src/stdio/BUILD.bazel
+71-02 files

LLVM/project f3c7c93clang/lib/CodeGen CGDebugInfo.cpp, compiler-rt/lib/hwasan hwasan_linux.cpp hwasan.h

update commit message

Created using spr 1.3.8-beta.1
DeltaFile
+12-12llvm/lib/Bitcode/Reader/MetadataLoader.cpp
+14-2compiler-rt/lib/hwasan/hwasan_linux.cpp
+7-7clang/lib/CodeGen/CGDebugInfo.cpp
+8-1compiler-rt/lib/hwasan/hwasan.h
+3-5llvm/include/llvm/IR/DebugInfoMetadata.h
+3-3llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
+47-3010 files not shown
+63-4616 files

LLVM/project 49834b7flang/lib/Optimizer/Transforms/CUDA CUFOpConversion.cpp

[flang][cuda][NFC] Fix filename in header (#177070)

DeltaFile
+1-1flang/lib/Optimizer/Transforms/CUDA/CUFOpConversion.cpp
+1-11 files

LLVM/project 3d7172fllvm/lib/Target/RISCV RISCVInstrInfoY.td, llvm/lib/Target/RISCV/AsmParser RISCVAsmParser.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.8-beta.1
DeltaFile
+242-0llvm/test/MC/RISCV/rvy/rvy-valid-mode-independent.s
+194-0llvm/test/MC/RISCV/rvy/rvy-auipc.s
+118-0llvm/test/MC/RISCV/rvy/rvy-valid-load-store.s
+115-0llvm/lib/Target/RISCV/RISCVInstrInfoY.td
+93-0llvm/test/MC/RISCV/rvy/rvy-invalid-load-store.s
+80-5llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
+842-516 files not shown
+1,216-6222 files

LLVM/project 1e16d3bllvm/lib/Target/RISCV RISCVInstrInfoY.td RISCVInstrFormatsY.td, llvm/lib/Target/RISCV/AsmParser RISCVAsmParser.cpp

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.8-beta.1

[skip ci]
DeltaFile
+242-0llvm/test/MC/RISCV/rvy/rvy-valid-mode-independent.s
+118-0llvm/test/MC/RISCV/rvy/rvy-valid-load-store.s
+115-0llvm/lib/Target/RISCV/RISCVInstrInfoY.td
+93-0llvm/test/MC/RISCV/rvy/rvy-invalid-load-store.s
+77-0llvm/lib/Target/RISCV/RISCVInstrFormatsY.td
+63-0llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
+708-015 files not shown
+986-4921 files

FreeBSD/src 053449fsys/fs/nfsclient nfs_clrpcops.c

nfscl: Fix the build

Fixes:  f2155a6fb568 ("nfscl: Fix handling of case insensitive file systems")
DeltaFile
+2-1sys/fs/nfsclient/nfs_clrpcops.c
+2-11 files

LLVM/project 202df1ellvm/lib/Transforms/Vectorize VPlan.cpp LoopVectorize.cpp, llvm/test/Transforms/LoopVectorize exact.ll tripcount.ll

capture weights
DeltaFile
+29-7llvm/lib/Transforms/Vectorize/VPlan.cpp
+30-3llvm/test/Transforms/LoopVectorize/exact.ll
+13-10llvm/test/Transforms/LoopVectorize/tripcount.ll
+8-0llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+80-204 files

LLVM/project 5d44eacllvm/lib/Target/RISCV RISCVInstrInfoY.td RISCVInstrFormatsY.td, llvm/lib/Target/RISCV/AsmParser RISCVAsmParser.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.8-beta.1
DeltaFile
+242-0llvm/test/MC/RISCV/rvy/rvy-valid-mode-independent.s
+118-0llvm/test/MC/RISCV/rvy/rvy-valid-load-store.s
+115-0llvm/lib/Target/RISCV/RISCVInstrInfoY.td
+93-0llvm/test/MC/RISCV/rvy/rvy-invalid-load-store.s
+77-0llvm/lib/Target/RISCV/RISCVInstrFormatsY.td
+63-0llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
+708-015 files not shown
+986-4921 files

LLVM/project 3f5a4c6llvm/lib/Target/RISCV RISCVInstrInfoY.td RISCVInstrFormatsY.td, llvm/lib/Target/RISCV/AsmParser RISCVAsmParser.cpp

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.8-beta.1

[skip ci]
DeltaFile
+242-0llvm/test/MC/RISCV/rvy/rvy-valid-mode-independent.s
+108-0llvm/lib/Target/RISCV/RISCVInstrInfoY.td
+77-0llvm/lib/Target/RISCV/RISCVInstrFormatsY.td
+55-0llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
+42-0llvm/test/MC/RISCV/rvy/rvy-invalid-mode-independent.s
+39-0llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
+563-09 files not shown
+636-515 files

LLVM/project 32d2132compiler-rt/lib/hwasan hwasan_linux.cpp hwasan.h

[HWASAN] [RISC-V] Update EnableTaggingAbi for RISC-V linux. (#176616)

Enabling pointer tagging in the userspace ABI for RISC-V kernels differs
to that of Aarch64. It requires requesting a particular number of masked
pointer bits, an error is returned if the platform could not accommodate
the request:
https://docs.kernel.org/arch/riscv/uabi.html#pointer-masking

While experimenting with enabling RISC-V HWASAN on GCC I was hitting the
error

> HWAddressSanitizer failed to enable tagged address syscall ABI

when attempting to run instrumented programs in the spike simulator
running kernel release 6.18. This patch successfully allows the tagged
address syscall ABI to be enabled by the support runtime.
DeltaFile
+14-2compiler-rt/lib/hwasan/hwasan_linux.cpp
+8-1compiler-rt/lib/hwasan/hwasan.h
+22-32 files

LLVM/project 08778d8llvm/lib/Target/RISCV/MCTargetDesc RISCVMCTargetDesc.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.8-beta.1
DeltaFile
+12-2llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCTargetDesc.cpp
+12-21 files

NetBSD/pkgsrc-wip 06e197fopenwv Makefile

wip/openwv: Remove redendant command in comment
DeltaFile
+1-2openwv/Makefile
+1-21 files

LLVM/project 8f90efdclang/lib/CodeGen CGDebugInfo.cpp, llvm/include/llvm/IR DebugInfoMetadata.h DIBuilder.h

[llvm][DebugInfo][NFC] Remove DITypeRefArray in favour of DITypeArray (#177066)

`DITypeRefArray` is just an alias (since
https://github.com/llvm/llvm-project/pull/176938). Remove it in favour
of just using `DITypeArray`.
DeltaFile
+12-12llvm/lib/Bitcode/Reader/MetadataLoader.cpp
+7-7clang/lib/CodeGen/CGDebugInfo.cpp
+3-5llvm/include/llvm/IR/DebugInfoMetadata.h
+3-3llvm/include/llvm/IR/DIBuilder.h
+3-3llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
+3-3llvm/lib/IR/DIBuilder.cpp
+31-337 files not shown
+40-4213 files