LLVM/project 4f8a1e9lld/test/ELF loongarch-pcadd-hi20.s

Add test case
DeltaFile
+32-0lld/test/ELF/loongarch-pcadd-hi20.s
+32-01 files

LLVM/project d1539edlld/ELF/Arch LoongArch.cpp

[lld][LoongArch] Fix range checking of R_LARCH_*_PCADD_HI20 relocations on 64-bit

According to the la-abi-specs, the R_LARCH_*_PCADD_HI20 relocations are
also used on 64-bit LoongArch. Fix the range checking accordingly.
DeltaFile
+1-1lld/ELF/Arch/LoongArch.cpp
+1-11 files

LLVM/project ec802a7libc/hdr/types struct_winsize.h CMakeLists.txt, libc/include/llvm-libc-types struct_winsize.h

[libc] Add TIOCGWINSZ and struct winsize support (#203919)

Added support for the TIOCGWINSZ ioctl command.

* Defined struct winsize in llvm-libc-types.
* Defined TIOCGWINSZ in linux/sys-ioctl-macros.h.
* Exposed struct_winsize and TIOCGWINSZ in sys/ioctl.yaml.
* Added struct_winsize proxy header in hdr/types/struct_winsize.h.
* Added a unit test in test/src/sys/ioctl/linux/ioctl_test.cpp.

Assisted-by: Automated tooling, human reviewed.
DeltaFile
+24-0libc/include/llvm-libc-types/struct_winsize.h
+23-0libc/hdr/types/struct_winsize.h
+19-0libc/test/src/sys/ioctl/linux/ioctl_test.cpp
+8-0libc/hdr/types/CMakeLists.txt
+4-1libc/include/sys/ioctl.yaml
+1-0libc/test/src/sys/ioctl/linux/CMakeLists.txt
+79-13 files not shown
+82-19 files

FreeBSD/ports 372c736net-mgmt/gping distinfo Makefile.crates

net-mgmt/gping: Update to 1.20.2
DeltaFile
+375-361net-mgmt/gping/distinfo
+186-179net-mgmt/gping/Makefile.crates
+1-2net-mgmt/gping/Makefile
+562-5423 files

NetBSD/src uQslwpvtests/usr.bin/xlint/lint1 msg_132.c, usr.bin/xlint/lint1 tree.c

   lint: clean up
VersionDeltaFile
1.715+7-12usr.bin/xlint/lint1/tree.c
1.59+3-3tests/usr.bin/xlint/lint1/msg_132.c
+10-152 files

LLVM/project 18cc9aamlir/include/mlir/Conversion/EmitCCommon TypeConverter.h, mlir/lib/Conversion/EmitCCommon TypeConverter.cpp CMakeLists.txt

[mlir][emitc] Add a common type converter (#203763)

MemRef type conversion is currently implemented as part of the memref
dialect lowering pass, which means e.g. that func-to-emitc cannot lower
functions taking MemRef types as arguments.

This patch refactors the existing type conversions in EmitC's lowering
passes into a structure similar to the LLVM dialect by adding a common
EmitC type converter and using it across dialect-specfic EmitC lowering
passes and the generic convert-to-emitc pass.

Assisted-by: Copilot
DeltaFile
+58-0mlir/lib/Conversion/EmitCCommon/TypeConverter.cpp
+31-0mlir/include/mlir/Conversion/EmitCCommon/TypeConverter.h
+0-29mlir/lib/Conversion/MemRefToEmitC/MemRefToEmitC.cpp
+14-0mlir/test/Conversion/FuncToEmitC/func-to-emitc.mlir
+11-0mlir/lib/Conversion/EmitCCommon/CMakeLists.txt
+2-9mlir/lib/Conversion/MemRefToEmitC/MemRefToEmitCPass.cpp
+116-3812 files not shown
+133-6918 files

NetBSD/src KDa9WrAsys/arch/mips/mips mips_fixup.c

   KNF
VersionDeltaFile
1.25+5-5sys/arch/mips/mips/mips_fixup.c
+5-51 files

NetBSD/src E463AhEtests/usr.bin/xlint/lint1 msg_062.c decl.c, usr.bin/xlint/lint1 decl.c func.c

   lint: warn about non-prototype function definition even without -h

   There's nothing heuristic about function prototypes, so having this
   warning conditional on -h doesn't make sense.  But if there's an
   identifier list in the function definition, don't warn, as that case is
   already covered by message 384.
VersionDeltaFile
1.429+6-4usr.bin/xlint/lint1/decl.c
1.200+4-4usr.bin/xlint/lint1/func.c
1.10+3-2tests/usr.bin/xlint/lint1/msg_062.c
1.37+2-2tests/usr.bin/xlint/lint1/decl.c
1.12+2-1tests/usr.bin/xlint/lint1/msg_343.c
1.241+2-1usr.bin/xlint/lint1/lint1.h
+19-146 files

LLVM/project 089d063clang/lib/Format CMakeLists.txt

[clang-format][NFC] Don't always rebuild clang-format-check-format (#203828)

Instead, check the format of clan-format source only if the built
clang-format binary or one of the source files is newer.
DeltaFile
+4-1clang/lib/Format/CMakeLists.txt
+4-11 files

LLVM/project 08834adclang/lib/Format UnwrappedLineFormatter.cpp, clang/unittests/Format FormatTest.cpp

[clang-format] Fix a bug in merging short inline functions (#203754)

Fixes #203209
DeltaFile
+13-13clang/lib/Format/UnwrappedLineFormatter.cpp
+9-0clang/unittests/Format/FormatTest.cpp
+22-132 files

OpenBSD/src D3tWv2Jusr.bin/tmux tmux.1

   botton -> bottom
VersionDeltaFile
1.1092+2-2usr.bin/tmux/tmux.1
+2-21 files

LLVM/project 8cd2329llvm/lib/Target/RISCV/AsmParser RISCVAsmParser.cpp

drop unnecessary function

Created using spr 1.3.8-beta.1
DeltaFile
+0-1llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
+0-11 files

FreeBSD/ports f6471c8filesystems/ltfs distinfo Makefile, filesystems/ltfs/files patch-src_libltfs_xattr.h

filesystems/ltfs: Update to 2.4.8.4
DeltaFile
+0-13filesystems/ltfs/files/patch-src_libltfs_xattr.h
+3-3filesystems/ltfs/distinfo
+2-2filesystems/ltfs/Makefile
+5-183 files

LLVM/project 6548844llvm/lib/IR PrintPasses.cpp, llvm/lib/Transforms/IPO SampleProfileProbe.cpp

[llvm] Replace unordered_set<std::string> with StringSet (#204048)

std::unordered_set<std::string> without a pointer-stability requirement
can use StringSet: it avoids per-TU hashtable instantiations and the
std::string temporary at StringRef lookup sites (~3-4 KiB smaller .text
for llc/opt).
DeltaFile
+5-8llvm/lib/IR/PrintPasses.cpp
+3-5llvm/tools/llvm-profgen/ProfiledBinary.cpp
+4-4llvm/lib/Transforms/IPO/SampleProfileProbe.cpp
+2-3llvm/tools/llvm-readobj/ObjDumper.h
+2-2llvm/tools/llvm-config/llvm-config.cpp
+2-2llvm/tools/llvm-profgen/PerfReader.cpp
+18-244 files not shown
+25-3010 files

LLVM/project fa5d8f8lld/ELF Writer.cpp, lld/docs ReleaseNotes.rst

[ELF] Support multiple PT_GNU_RELRO when SECTIONS is used without PHDRS (#203675)

When a SECTIONS command interleaves relro and non-relro sections, the
relro
region is split into discontiguous runs. lld emits an error since
https://reviews.llvm.org/D40359

    error: section: <name> is not contiguous with other relro sections

This is overly strict: while glibc only honors the first PT_GNU_RELRO,
other loaders (e.g. Bionic and FreeBSD rtld-elf) protect every
PT_GNU_RELRO segment.

Emit one PT_GNU_RELRO segment for each contiguous run of relro sections.
Track the boundary section so that `createPhdrs` starts a fresh PT_LOAD
at each relro->non-relro transition, as before.

Consumers that don't expect multiple PT_GNU_RELRO should check the
output themselves.
DeltaFile
+93-23lld/test/ELF/relro-non-contiguous.s
+34-20lld/test/ELF/relro-non-contiguous-script-data.s
+21-20lld/ELF/Writer.cpp
+12-2lld/test/ELF/keep-data-section-prefix.s
+10-2lld/test/ELF/linkerscript/data-segment-relro.test
+4-0lld/docs/ReleaseNotes.rst
+174-676 files

LLVM/project 96e45c5llvm/include/llvm/ADT SCCIterator.h, llvm/include/llvm/DebugInfo/LogicalView/Readers LVDWARFReader.h

[llvm] Replace unordered_set<T *> with SmallPtrSet<T *, 0> (#204051)

std::unordered_set is slow. For pointer sets without a pointer-stability
or iterator-stability requirement, use SmallPtrSet<T *, 0> for a smaller
code size.
DeltaFile
+6-4llvm/tools/llvm-profgen/ProfiledBinary.h
+5-5llvm/lib/Passes/StandardInstrumentations.cpp
+5-4llvm/tools/llvm-profgen/ProfileGenerator.h
+4-4llvm/tools/llvm-profgen/ProfileGenerator.cpp
+2-2llvm/include/llvm/DebugInfo/LogicalView/Readers/LVDWARFReader.h
+2-2llvm/include/llvm/ADT/SCCIterator.h
+24-212 files not shown
+28-258 files

LLVM/project 2cb8b61llvm/include/llvm/Analysis TargetTransformInfoImpl.h

[TTI] Add missing no-cost coroutine intrinsics (#203816)

These intrinsics are lowered in the CoroCleanup pass and don't represent
actual code. This patch adds them to the no-cost list so they do not
contribute to the cost of inlining and optimization.
DeltaFile
+6-0llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
+6-01 files

LLVM/project 1f3d3d6flang/include/flang/Semantics symbol.h, flang/lib/Lower/OpenMP OpenMP.cpp

[flang][mlir] Add flang to mlir lowering for groupprivate (#180934)

This PR implements the Flang frontend lowering for the OpenMP
`groupprivate`
Changes:
- Update genOMP handler for OpenMPGroupprivate in OpenMP.cpp to generate
`omp.groupprivate` MLIR operation.
- Add clause processing for groupprivate variables
- Add test cases for groupprivate lowering

Co-Authored-By: Claude
[noreply at anthropic.com](mailto:noreply at anthropic.com)
DeltaFile
+276-0flang/test/Lower/OpenMP/groupprivate.f90
+146-1flang/lib/Lower/OpenMP/OpenMP.cpp
+36-0flang/test/Lower/OpenMP/groupprivate-modfile.f90
+32-1flang/lib/Semantics/resolve-directives.cpp
+23-4flang/include/flang/Semantics/symbol.h
+18-5flang/lib/Semantics/symbol.cpp
+531-113 files not shown
+551-229 files

LLVM/project dab3476llvm/test/CodeGen/RISCV/rvv fixed-vectors-masked-gather.ll fixed-vectors-vpgather.ll

[RISCV] Consider known leading zeros in narrowIndex for gather/scatter. (#203970)

If there are enough leading zeros for the shift amount, then
we can do the shift in the narrow type.
DeltaFile
+143-0llvm/test/CodeGen/RISCV/rvv/fixed-vectors-masked-gather.ll
+26-0llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vpgather.ll
+24-0llvm/test/CodeGen/RISCV/rvv/vpgather-sdnode.ll
+22-0llvm/test/CodeGen/RISCV/rvv/vpscatter-sdnode.ll
+15-0llvm/test/CodeGen/RISCV/rvv/mscatter-sdnode.ll
+14-0llvm/test/CodeGen/RISCV/rvv/mgather-sdnode.ll
+244-01 files not shown
+250-07 files

FreeBSD/ports 221f735sysutils/lsof Makefile, sysutils/lsof/files patch-lib_dialects_freebsd_dlsof.h

sysutils/lsof: Fix 16-CURRENT build

Fix,

/usr/include/sys/malloc.h:194:7: error: conflicting types for 'malloc'
  194 | void    *malloc(size_t size, struct malloc_type *type, int flags) __malloc_like

PR:             295414
Approved by:    maintainer timeout
DeltaFile
+40-2sysutils/lsof/files/patch-lib_dialects_freebsd_dlsof.h
+5-0sysutils/lsof/Makefile
+45-22 files

OpenBSD/ports yoJOci0sysutils/pciutils distinfo Makefile

   update to pciutils 3.15.0
VersionDeltaFile
1.17+2-2sysutils/pciutils/distinfo
1.34+1-1sysutils/pciutils/Makefile
+3-32 files

LLVM/project d22a0ecllvm/lib/Target/AMDGPU GCNHazardRecognizer.cpp GCNHazardRecognizer.h, llvm/test/CodeGen/AMDGPU misched-into-wmma-hazard-shadow.mir

[AMDGPU] Track VALU instructions separately for WMMA coexecution hazards

WMMA coexecution hazards can only be resolved by VALU instructions, not
S_NOPs. Track VALU/WMMA instructions separately so the scheduler can
accurately determine stall cycles.
DeltaFile
+59-10llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
+36-0llvm/test/CodeGen/AMDGPU/misched-into-wmma-hazard-shadow.mir
+16-0llvm/lib/Target/AMDGPU/GCNHazardRecognizer.h
+111-103 files

LLVM/project 1503720llvm/lib/Target/AMDGPU SIPreEmitPeephole.cpp, llvm/test/CodeGen/AMDGPU wmma-set-reuse-bits.mir

[AMDGPU] Set WMMA source-operand reuse bits in SIPreEmitPeephole

gfx1250 WMMA instructions can set matrix_a_reuse / matrix_b_reuse bits
that keep the A or B source operand in a high-temporality state in the
VALU source-operand cache, so a later WMMA reusing the same registers
hits in the cache instead of re-reading the register file.

Add a late, post-RA peephole in the existing pre-emit peephole pass that
scans each basic block and, for every WMMA, sets the A/B reuse bit when
one of the next few WMMAs reuses the same physical registers as its A or B
operand and those registers are not redefined in between.

Stale sticky entries in the cache are cleared when a register is used in
an instruction without a reuse bit being set. Therefore, the final WMMA
use of the same source should not set the bit.
DeltaFile
+105-0llvm/test/CodeGen/AMDGPU/wmma-set-reuse-bits.mir
+95-0llvm/lib/Target/AMDGPU/SIPreEmitPeephole.cpp
+200-02 files

LLVM/project 04f075fllvm/test/CodeGen/AMDGPU amdgcn.bitcast.1024bit.ll amdgcn.bitcast.512bit.ll, llvm/test/CodeGen/AMDGPU/NextUseAnalysis spill-vreg-many-lanes.mir acyclic-770bb.mir

Merge remote-tracking branch 'origin/main' into users/hev/fix-lld-pcadd-check
DeltaFile
+275,101-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/spill-vreg-many-lanes.mir
+92,890-85,927llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+144,679-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/acyclic-770bb.mir
+44,396-53,126llvm/test/CodeGen/RISCV/rvv/clmulh-sdnode.ll
+57,682-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/double-nested-loops-complex-cfg.mir
+28,845-27,920llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+643,593-166,97337,207 files not shown
+4,536,912-1,842,23337,213 files

Linux/linux 481329e. MAINTAINERS, drivers/misc/lkdtm powerpc.c bugs.c

Merge tag 'hardening-v7.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux

Pull hardening updates from Kees Cook:

 - lkdtm:
     - Add case to provoke a crash in EFI runtime services (Ard Biesheuvel)
     - add PPC_RADIX_TLBIEL test and missed isync (Sayali Patil)

 - stddef: Document designated initializer semantics for
   __TRAILING_OVERLAP() (Gustavo A. R. Silva)

 - strarray: drop redundant allocation, add __counted_by_ptr (Thorsten
   Blum)

* tag 'hardening-v7.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
  lkdtm/powerpc: add PPC_RADIX_TLBIEL test for radix MCE validation
  lkdtm/powerpc: add isync after slbmte to enforce SLB update ordering
  lkdtm: Add case to provoke a crash in EFI runtime services
  lib/string_helpers: annotate struct strarray with __counted_by_ptr

    [3 lines not shown]
DeltaFile
+65-0include/linux/stddef.h
+49-0drivers/misc/lkdtm/powerpc.c
+27-0drivers/misc/lkdtm/bugs.c
+4-4lib/string_helpers.c
+1-1drivers/misc/lkdtm/core.c
+1-1MAINTAINERS
+147-62 files not shown
+149-78 files

Linux/linux 673f729lib/crypto md5.c Kconfig, lib/crypto/powerpc md5-asm.S md5.h

Merge tag 'libcrypto-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux

Pull crypto library updates from Eric Biggers:

 - Drop the last architecture-specific implementation of MD5

 - Mark clmul32() as noinline_for_stack to improve codegen in some cases

* tag 'libcrypto-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux:
  lib/crypto: gf128hash: mark clmul32() as noinline_for_stack
  lib/crypto: powerpc/md5: Drop powerpc optimized MD5 code
DeltaFile
+0-235lib/crypto/powerpc/md5-asm.S
+7-13lib/crypto/md5.c
+0-12lib/crypto/powerpc/md5.h
+0-5lib/crypto/Kconfig
+0-4lib/crypto/Makefile
+1-1lib/crypto/gf128hash.c
+8-2706 files

Linux/linux ef3b742arch/arm/include/asm neon-intrinsics.h, lib/crc crc64-neon.c

Merge tag 'crc-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux

Pull CRC updates from Eric Biggers:
 "Accelerate CRC64-NVME for 32-bit ARM by refactoring the arm64 NEON
  intrinsics implementation to be shared by 32-bit and 64-bit.

  Also apply a similar cleanup to the 32-bit ARM NEON implementation of
  xor_gen(), where it now reuses code from the 64-bit implementation"

* tag 'crc-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux:
  crypto: aegis128 - Use neon-intrinsics.h on ARM too
  lib/crc: arm: Enable arm64's NEON intrinsics implementation of crc64
  lib/crc: Turn NEON intrinsics crc64 implementation into common code
  xor/arm64: Use shared NEON intrinsics implementation from 32-bit ARM
  xor/arm: Replace vectorized implementation with arm64's intrinsics
  ARM: Add a neon-intrinsics.h header like on arm64
DeltaFile
+0-312lib/raid/xor/arm64/xor-neon.c
+179-0lib/raid/xor/xor-neon.c
+146-0lib/raid/xor/arm64/xor-eor3.c
+0-65lib/crc/arm64/crc64-neon-inner.c
+60-0arch/arm/include/asm/neon-intrinsics.h
+47-0lib/crc/crc64-neon.c
+432-37714 files not shown
+555-43220 files

LLVM/project 17db41cllvm/lib/Target/RISCV RISCVInstrInfoZvdot4a8i.td

[RISCV] Add scheduling data to vdot4aus.vx (#204038)

Remove unnecessary mayLoad, mayStore, hasSideEffects
DeltaFile
+12-9llvm/lib/Target/RISCV/RISCVInstrInfoZvdot4a8i.td
+12-91 files

Linux/linux 0d8c113crypto drbg.c testmgr.h, drivers/crypto talitos.c exynos-rng.c

Merge tag 'v7.2-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6

Pull crypto updates from Herbert Xu:
 "API:
   - Drop support for off-CPU cryptography in af_alg
   - Document that af_alg is *always* slower
   - Document the deprecation of af_alg
   - Remove zero-copy support from skcipher and aead in af_alg
   - Cap AEAD AD length to 0x80000000 in af_alg
   - Free default RNG on module exit

  Algorithms:
   - Fix vli multiplication carry overflow in ecc
   - Drop unused cipher_null crypto_alg
   - Remove unused variants of drbg
   - Use lib/crypto in drbg
   - Use memcpy_from/to_sglist in authencesn
   - Allow authenc(hmac(sha{256,384}),cts(cbc(aes))) in FIPS mode
   - Disallow RSA PKCS#1 SHA-1 sig algs in FIPS mode

    [41 lines not shown]
DeltaFile
+266-1,553crypto/drbg.c
+203-877crypto/testmgr.h
+292-300drivers/crypto/talitos.c
+0-466drivers/crypto/intel/qat/qat_common/adf_ctl_drv.c
+0-430drivers/crypto/xilinx/xilinx-trng.c
+0-399drivers/crypto/exynos-rng.c
+761-4,025189 files not shown
+3,289-6,926195 files

FreeBSD/src 0010c4blib/libexecinfo/tests sigtramp_test.c

tests/sigtramp_test: xfail on non-amd64

This test fail until at least https://reviews.llvm.org/D155066 is
rebased and picked up for aarch64 and more work is done for the other
archs.

PR:             289096
Reviewed by:    jlduran
Fixes:          fef84fd8ae845e19cec0f6b9aac0e6451cca3d7a
MFC after:      3 days
DeltaFile
+2-2lib/libexecinfo/tests/sigtramp_test.c
+2-21 files