LLVM/project 07aec21 — llvm/lib/Target/AMDGPU SIPostRA16BitMovFolding.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.image.sample.a16.dim.ll amdgcn.bitcast.1024bit.ll

[AMDGPU] merge 16bit mov pairs in post-RA peephole  (#208625)

Address https://github.com/llvm/llvm-project/issues/207011. Add 5
patterns to merge 16bit mov pairs.

Since we hoist instruction which might cross the waitcnt boundary,
insert a new pass before waitcnt for this transformation

Co-Authored-By: Claude
DeltaFile
+478-979llvm/test/CodeGen/AMDGPU/llc-pipeline-npm.ll
+411-0llvm/test/CodeGen/AMDGPU/si-post-ra-merge-v-mov-b16.mir
+363-0llvm/lib/Target/AMDGPU/SIPostRA16BitMovFolding.cpp
+72-167llvm/test/CodeGen/AMDGPU/vector_shuffle.packed.ll
+43-59llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+21-42llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.a16.dim.ll
+1,388-1,24730 files not shown
+1,545-1,47336 files

LLVM/project 1841b8c — llvm/lib/IR IRBuilder.cpp, llvm/test/CodeGen/AMDGPU promote-alloca-byte-ptr-cast.ll

Revert "[IRBuilder] Handle byte types in CreateBitPreservingCastChain (#209557)"
DeltaFile
+0-49llvm/test/CodeGen/AMDGPU/promote-alloca-byte-ptr-cast.ll
+0-18llvm/unittests/IR/IRBuilderTest.cpp
+2-6llvm/lib/IR/IRBuilder.cpp
+2-733 files

LLVM/project 31732d2 — llvm/docs/GlobalISel IRTranslator.md, llvm/lib/CodeGen/GlobalISel IRTranslator.cpp

[GlobalISel] Translate byte to ptr bitcasts to `G_INTTOPTR`/`G_PTRTOINT`
DeltaFile
+137-3llvm/test/CodeGen/Generic/GlobalISel/irtranslator-byte-type.ll
+15-10llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
+5-4llvm/docs/GlobalISel/IRTranslator.md
+157-173 files

FreeBSD/src cb035c1 — sys/netpfil/ipfilter/netinet ip_lookup.c

ipfilter: fix inverted range check on the lookup iterator unit

ipf_lookup_iterate() validates iter.ili_unit with

  if (iter.ili_unit < IPL_LOGALL && iter.ili_unit > IPL_LOGMAX)

or alternatively,

  if (iter.ili_unit < -1 && iter.ili_unit > 7)

ipf_lookup_add(), ipf_lookup_delete(), ipf_lookup_stats()
ipf_lookup_flush() validate with a ||

Submitted by calif.io for the OpenAI Patch The Planet program

Signed-off-by: Andrew Griffiths <andrew at calif.io>

Reviewed by:    markj
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D59726
DeltaFile
+1-1sys/netpfil/ipfilter/netinet/ip_lookup.c
+1-11 files

FreeBSD/src 0aa055e — sys/kern subr_asan.c

kasan: Fix the annotation for shadow map checks in atomic_load_*

atomic_load_* is a read, not a write.  Otherwise KASAN will report a
use-after-free via atomic_load_* as a write rather than a read.

MFC after:      1 week
Sponsored by:   The FreeBSD Foundation
DeltaFile
+1-1sys/kern/subr_asan.c
+1-11 files

FreeBSD/src 4523cbb — sys/sys imgact_aout.h

imgact_aout: Remove a prototype for a non-existent function

aout_coredump() was removed in commit 1eecfae3e53cb3.

No functional change intended.

MFC after:      1 week
Sponsored by:   The FreeBSD Foundation
DeltaFile
+0-8sys/sys/imgact_aout.h
+0-81 files

FreeBSD/src de6ee1f — sys/kern kern_jail.c

jail: Simplify refcount manipulation routines

- refcount_acquire() returns the old value, use that to assert that the
  old value was non-zero.
- refcount_release() already asserts that the refcount value is
  non-zero, so don't bother asserting that again in the jail code.
- Use __diagused instead of having separate implementations for
  INVARIANTS and !INVARIANTS.

No functional change intended.

Reviewed by:    jamie
MFC after:      1 week
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D59983
DeltaFile
+11-26sys/kern/kern_jail.c
+11-261 files

FreeBSD/src d80c01b — sys/sys bio.h

geom: Remove unused fields from struct bio

The corresponding machinery was removed in commit 0c4440c3aafe6, ten
yearso ago.

No functional change intended.

Reviewed by:    imp
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D59986
DeltaFile
+0-5sys/sys/bio.h
+0-51 files

FreeBSD/src 79af745 — sys/kern kern_jail.c

jail: Fix a race in prison_deref()

If we're killing a jail which has some user refs pending, then we would
first drop our ref and then kill all processes in the prison.  However,
it's possible for the prison to be freed before we finish that
operation, generally if the processes exit on their own before
prison_proc_iterate() returns.

Thus, defer the release of the prison refcount until after we've killed
all procs.

Reviewed by:    jamie
MFC after:      2 weeks
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D59984
DeltaFile
+6-2sys/kern/kern_jail.c
+6-21 files

LLVM/project b3ed324 — lld/test/Unit lit.cfg.py, lld/unittests/AsLibELF CMakeLists.txt OutputStream.cpp

[lld][test] Use LLVM helpers for input file discovery (#220404)

This was a suggestion on #220340 to avoid the custom env var handling
and use the `getInputFileDirectory` helper from the LLVM support library
DeltaFile
+12-21lld/unittests/AsLibELF/ROCm.cpp
+6-3lld/unittests/AsLibELF/OutputStream.cpp
+0-4lld/test/Unit/lit.cfg.py
+2-1lld/unittests/AsLibELF/CMakeLists.txt
+20-294 files

NetBSD/src 02Vqd1N — external/bsd/jemalloc/dist/src jemalloc.c, external/bsd/jemalloc/include/jemalloc jemalloc.h

   put back the conf/message accessor methods
VersionDeltaFile
1.19+29-4external/bsd/jemalloc/dist/src/jemalloc.c
1.15+6-0external/bsd/jemalloc/include/jemalloc/jemalloc.h
+35-42 files

LLVM/project 9340033 — llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/lib/Transforms/Vectorize/SLPVectorizer SLPMemoryUtils.cpp SLPCompatibilityAnalysis.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+813-943llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+23-27llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPUtils.cpp
+16-16llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPShuffleAnalysis.h
+30-0llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPUtils.h
+10-14llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPCompatibilityAnalysis.cpp
+3-3llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPMemoryUtils.cpp
+895-1,0031 files not shown
+898-1,0067 files

LLVM/project f2b3ba3 — mlir/test/Integration/Dialect/XeGPU/WG simple_mxfp_gemm.mlir simple_gemm_bf16.mlir

[MLIR][XeGPU] Add MXFP fp8 WG GEMM tests and use shared input set (#225944)

Adds four workgroup-level tests, updates two and renames one, so that
seven tests covering bf16, mx-fp4 and mx-fp8 exercise the same
arithmetic on the same operand values and check against the same
expected result.

1. simple_mxfp_gemm -> simple_mxfp_gemm_F4 - renamed, for consistency
with the F4/F8 suffixes used by the quantize and dequantize tests

2. (new) simple_gemm_bf16 - non-quantized bf16 GEMM at the MXFP problem
size, as the unquantized comparison point, and where the shared input
set is documented
3. (new) simple_mxfp_gemm_F8 - f8E5M2 operands with f8E8M0FNU scales
4. (new) simple_mxfp_gemm_dequantizeB_F8                 
5. (new) simple_mxfp_gemm_quantizeA_F8 - fp8 counterparts of the
existing fp4 tests
6. simple_mxfp_gemm_dequantizeB_F4 and simple_mxfp_gemm_quantizeA_F4 are
updated in place.

    [46 lines not shown]
DeltaFile
+400-0mlir/test/Integration/Dialect/XeGPU/WG/simple_mxfp_gemm_F4.mlir
+374-0mlir/test/Integration/Dialect/XeGPU/WG/simple_mxfp_gemm_quantizeA_F8.mlir
+350-0mlir/test/Integration/Dialect/XeGPU/WG/simple_mxfp_gemm_F8.mlir
+335-0mlir/test/Integration/Dialect/XeGPU/WG/simple_mxfp_gemm_dequantizeB_F8.mlir
+262-0mlir/test/Integration/Dialect/XeGPU/WG/simple_gemm_bf16.mlir
+0-206mlir/test/Integration/Dialect/XeGPU/WG/simple_mxfp_gemm.mlir
+1,721-2062 files not shown
+2,046-2528 files

LLVM/project 774b452 — llvm/include/llvm/Analysis TargetTransformInfo.h, llvm/include/llvm/CodeGen BasicTTIImpl.h

[Analysis][RISCV] More accurately estimate the cost of strided vector loads (#175135)

For small constant strides, attempt to predict the amount of coalescing
that will be done by the target machine to give a better cost estimate.

Currently, strided loads/stores are costed as having a cost of 1 per
element (i.e. being equivalent to scalar loads/stores).

---------

Co-authored-by: Luke Lau <luke_lau at icloud.com>
DeltaFile
+37-0llvm/test/Analysis/CostModel/RISCV/vp-intrinsics.ll
+23-0llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
+14-6llvm/include/llvm/Analysis/TargetTransformInfo.h
+8-0llvm/lib/Target/RISCV/RISCVSubtarget.h
+5-2llvm/include/llvm/CodeGen/BasicTTIImpl.h
+4-1llvm/lib/Target/RISCV/RISCVProcessors.td
+91-96 files

LLVM/project 033bd5f — llvm/lib/Target/AArch64 AArch64TargetTransformInfo.cpp, llvm/test/Analysis/CostModel/AArch64 sve-ldst.ll masked_ldst.ll

Revert "[AArch64][CostModel] Consider some nxv1 operations as legal (#214471)"

This reverts commit 3897817145ffa3204e2593cb0b26c535724221c2.
DeltaFile
+41-22llvm/test/Analysis/CostModel/AArch64/masked_ldst.ll
+9-48llvm/test/CodeGen/AArch64/sve-int-arith.ll
+20-31llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
+4-4llvm/test/Analysis/CostModel/AArch64/sve-ldst.ll
+3-3llvm/test/Transforms/LoopVectorize/AArch64/scalable-vectorization-cost-tuning.ll
+6-0llvm/test/Transforms/LoopVectorize/AArch64/scalable-call.ll
+83-1084 files not shown
+89-11410 files

LLVM/project 23e12c9 — clang/include/clang/CIR/Dialect/IR CIROps.td CIRAttrs.td, clang/lib/CIR/CodeGen CIRGenBuilder.h

[CIR] Added fast-math flags to LLVM intrinsic calls (#224899)

Added fast-math flags attribute to CIR which cir.call_llvm_intrinsic now
carries through DirectToLLVM lowering. CIR now preserves fast-math flags
such as reassoc when lowering to llvm.call_intrinsic.

Added test for the same.
DeltaFile
+34-0clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
+25-1clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+19-0clang/test/CIR/Lowering/call-llvm-intrinsic.cir
+11-0clang/lib/CIR/CodeGen/CIRGenBuilder.h
+7-2clang/include/clang/CIR/Dialect/IR/CIROps.td
+8-0clang/test/CIR/IR/enum-attrs.cir
+104-36 files

LLVM/project 746fcb8 — llvm/lib/Target/Mips MipsSubtarget.cpp MipsSubtarget.h

Mips: Remove redundant Triple copy from the subtarget

MCSubtargetInfo already stores the target triple, so MipsSubtarget's own
copy is unnecessary.

Co-Authored-By: Claude Opus 5 <noreply at anthropic.com>
DeltaFile
+3-5llvm/lib/Target/Mips/MipsSubtarget.h
+1-1llvm/lib/Target/Mips/MipsSubtarget.cpp
+4-62 files

FreeBSD/ports f04895c — devel/p5-Test-File-Contents Makefile distinfo

devel/p5-Test-File-Contents: update 0.241 -> 0.242

Changelog: https://metacpan.org/dist/Test-File-Contents/changes
DeltaFile
+3-3devel/p5-Test-File-Contents/distinfo
+1-1devel/p5-Test-File-Contents/Makefile
+4-42 files

FreeBSD/ports 0a14818 — graphics/p5-Graphics-ColorNames pkg-plist distinfo

graphics/p5-Graphics-ColorNames: update 3.0.0 -> 3.5.0

Changelog: https://metacpan.org/dist/Graphics-ColorNames/changes

Fix tests
DeltaFile
+5-2graphics/p5-Graphics-ColorNames/Makefile
+0-6graphics/p5-Graphics-ColorNames/pkg-plist
+3-3graphics/p5-Graphics-ColorNames/distinfo
+8-113 files

FreeBSD/ports fe61ee8 — devel/p5-Tree-DAG_Node Makefile distinfo

devel/p5-Tree-DAG_Node: update 1.36 -> 1.39

Changelog: https://metacpan.org/dist/Tree-DAG_Node/changes
DeltaFile
+3-3devel/p5-Tree-DAG_Node/distinfo
+1-1devel/p5-Tree-DAG_Node/Makefile
+4-42 files

FreeBSD/ports e1e678f — devel/p5-IO-Stty Makefile distinfo

devel/p5-IO-Stty: update 0.05 -> 0.08

Changelog: https://metacpan.org/dist/IO-Stty/changes

Extend tests.
DeltaFile
+3-3devel/p5-IO-Stty/distinfo
+3-1devel/p5-IO-Stty/Makefile
+6-42 files

FreeBSD/ports 232e281 — devel/p5-File-Slurp Makefile distinfo

devel/p5-File-Slurp: update 9999.28 -> 9999.32

Changelog: https://metacpan.org/dist/File-Slurp/changes
DeltaFile
+3-3devel/p5-File-Slurp/distinfo
+1-1devel/p5-File-Slurp/Makefile
+4-42 files

FreeBSD/ports 7938de8 — devel/p5-DateTime-Format-Duration distinfo Makefile

devel/p5-DateTime-Format-Duration: update 1.05 -> 1.06

Changelog: https://metacpan.org/dist/DateTime-Format-Duration/changes

also fix Makefile to make linters happy and fix tests
DeltaFile
+4-3devel/p5-DateTime-Format-Duration/Makefile
+3-3devel/p5-DateTime-Format-Duration/distinfo
+7-62 files

LLVM/project 6ec87e7 — utils/bazel/llvm-project-overlay/lldb BUILD.bazel

[Bazel] Add Telemetry dependency to lldb-dap (#226526)

Fixes lldb-dap bazel layering failure introduced in commit 1cc5657c4ff6,
where LLDBUtils.h includes llvm/Telemetry/Telemetry.h.
DeltaFile
+1-0utils/bazel/llvm-project-overlay/lldb/BUILD.bazel
+1-01 files

FreeBSD/ports 8525a71 — devel/p5-CPAN-YACSmoke pkg-plist distinfo

devel/p5-CPAN-YACSmoke: update 0.03 -> 0.03_07

Changelog: https://metacpan.org/release/RRWO/CPAN-YACSmoke-0.03_07/changes

Update plist and fix tests
DeltaFile
+10-3devel/p5-CPAN-YACSmoke/Makefile
+3-2devel/p5-CPAN-YACSmoke/distinfo
+4-0devel/p5-CPAN-YACSmoke/pkg-plist
+17-53 files

FreeBSD/ports 34e4002 — devel/p5-Cache-FastMmap Makefile distinfo

devel/p5-Cache-FastMmap: update 1.65 -> 1.66

Changelog: https://metacpan.org/dist/Cache-FastMmap/changes
DeltaFile
+3-3devel/p5-Cache-FastMmap/distinfo
+1-1devel/p5-Cache-FastMmap/Makefile
+4-42 files

FreeBSD/ports 01eef20 — devel/p5-Data-Munge Makefile distinfo

devel/p5-Data-Munge: update 0.101 -> 0.111

Changelog: https://metacpan.org/dist/Data-Munge/changes
DeltaFile
+3-3devel/p5-Data-Munge/distinfo
+1-1devel/p5-Data-Munge/Makefile
+4-42 files

FreeBSD/ports c592bb8 — databases/p5-DBIx-Perlish Makefile distinfo

databases/p5-DBIx-Perlish: update 1.07 -> 1.08

Changelog: https://metacpan.org/dist/DBIx-Perlish/changes
DeltaFile
+3-3databases/p5-DBIx-Perlish/distinfo
+1-1databases/p5-DBIx-Perlish/Makefile
+4-42 files

NetBSD/src dtcJqcG — sys/arch/mips/mips mipsX_subr.S

   mips: fix rdhwr emulation wrt TLB misses on loading the faulting instruction.

   Use tlbp to probe the TLB for an entry for the page containing the
   instruction to emulate, and fail to slow path if it doesn't exist.

   A TLB miss (nested exception) on the instruction load would otherwise
   land in user_gen_exception and clobber this routine's v0, since the
   exception PC isn't saved again while EXL is set.

   PR/60664 mips: rdhwr emulation corrupts v0 on nested TLB miss...

   This patch is based on the diff included in the PR, but updated by me
   to improve register save / restore in both the fast and slow paths.

   The mf* instructions in user_gen_exception_common are shuffled down
   to maintain the same number of stores (4) between each mf* in
   user_gen_exception_common and user_gen_exception_common2

   The symptoms that this change fixes match those described in

    [2 lines not shown]
VersionDeltaFile
1.119+47-15sys/arch/mips/mips/mipsX_subr.S
+47-151 files

LLVM/project bff7b75 — llvm/test/Instrumentation/MemorySanitizer/AArch64 arm64-vmax.ll

[msan] Update intrinsic list in arm64-vmax.ll (NFC) (#226387)

The intrinsics llvm.aarch64.neon.{u,s}{min,max} were removed in
0ce1b5f91add535d1e8b910ee90c178e054c65eb, remove the mentions of them in
the test file as per the review comment in #225339.
DeltaFile
+0-4llvm/test/Instrumentation/MemorySanitizer/AArch64/arm64-vmax.ll
+0-41 files