LLVM/project ac68dd5llvm/lib/Target/RISCV RISCVCodeGenPrepare.cpp RISCVPassRegistry.def, llvm/test/CodeGen/RISCV riscv-codegenprepare.ll

[RISCV][NewPM] Port RISCVCodeGenPrepare to the new pass manager (#168381)

As suggested in the review for #160536 it would be good to follow up and
port the RISC-V passes to the new pass manager. This PR starts that
task. It provides the bare minimum necessary to run RISCVCodeGenPrepare
with opt -passes=riscv-codegenprepare. The approach used is modeled on
my observations of the AMDGPU backend and the recent work to port the
X86 passes.

The testing approach is to add a `-passes=riscv-foo` RUN line to at
least one test, if an appropriate test exists.
DeltaFile
+53-29llvm/lib/Target/RISCV/RISCVCodeGenPrepare.cpp
+20-0llvm/lib/Target/RISCV/RISCVPassRegistry.def
+10-2llvm/lib/Target/RISCV/RISCV.h
+5-2llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
+1-0llvm/test/CodeGen/RISCV/riscv-codegenprepare.ll
+89-335 files

LLVM/project 5109f2allvm/utils profcheck-xfail.txt

Exclude from profcheck a vplan test under phase ordering (#168669)

DeltaFile
+1-0llvm/utils/profcheck-xfail.txt
+1-01 files

FreeBSD/ports 8ab6e34www/chromium Makefile, www/chromium/files patch-chromecast_browser_cast__browser__main__parts.cc patch-chromecast_media_base_default__monotonic__clock.cc

www/chromium: update to 142.0.7444.175

switch to the -lite upstream tarball to save space

Security:       https://vuxml.freebsd.org/freebsd/ca5d4e87-c465-11f0-b3f7-a8a1599412c6.html
(cherry picked from commit 00574bcd74d3fb0319d3b30bb72173a1500d55a3)
DeltaFile
+0-38www/chromium/files/patch-chromecast_browser_cast__browser__main__parts.cc
+0-20www/chromium/files/patch-chromecast_media_base_default__monotonic__clock.cc
+19-0www/chromium/files/patch-third__party_protobuf_proto__library.gni
+13-0www/chromium/files/patch-build_linux_strip__binary.gni
+9-3www/chromium/Makefile
+0-11www/chromium/files/patch-gpu_webgpu_dawn__commit__hash.h
+41-725 files not shown
+53-10611 files

FreeBSD/ports 00574bcwww/chromium Makefile, www/chromium/files patch-chromecast_browser_cast__browser__main__parts.cc patch-chromecast_media_base_default__monotonic__clock.cc

www/chromium: update to 142.0.7444.175

switch to the -lite upstream tarball to save space

Security:       https://vuxml.freebsd.org/freebsd/ca5d4e87-c465-11f0-b3f7-a8a1599412c6.html
DeltaFile
+0-38www/chromium/files/patch-chromecast_browser_cast__browser__main__parts.cc
+0-20www/chromium/files/patch-chromecast_media_base_default__monotonic__clock.cc
+19-0www/chromium/files/patch-third__party_protobuf_proto__library.gni
+13-0www/chromium/files/patch-build_linux_strip__binary.gni
+9-3www/chromium/Makefile
+0-11www/chromium/files/patch-chromecast_browser_cast__content__browser__client.cc
+41-725 files not shown
+53-10611 files

LLVM/project ed1c8d7lld/test/ELF dso-undef-extract-lazy.s

ELF,test: Test unversioned undefined symbols of index 0 and 1

My 2020 change that added versioned symbol recognition
(reviews.llvm.org/D80059) checks both VER_NDX_LOCAL and VER_NDX_GLOBAL,
though test coverage was missing. lld/test/ELF/dso-undef-extract-lazy.s
checks that the undefined symbol is indeed considered unversioned.
DeltaFile
+41-0lld/test/ELF/dso-undef-extract-lazy.s
+41-01 files

FreeNAS/freenas d634b3esrc/middlewared/middlewared/plugins/catalog sync.py

Limit catalog sync jobs queue depth limit to 1

This commit adds changes to limit catalog sync jobs queue depth limit to 1 as that should be sufficient in terms of making sure that the catalog is synced properly.
DeltaFile
+1-1src/middlewared/middlewared/plugins/catalog/sync.py
+1-11 files

FreeBSD/ports 35ad040audio/mac distinfo Makefile

audio/mac: Update to 11.86

https://www.monkeysaudio.com/versionhistory.html
DeltaFile
+3-3audio/mac/distinfo
+1-1audio/mac/Makefile
+4-42 files

FreeBSD/ports dc9d331devel/R-cran-S7 distinfo Makefile

devel/R-cran-S7: Update to 0.2.1

Changelog: https://cran.r-project.org/web/packages/S7/news/news.html
DeltaFile
+3-3devel/R-cran-S7/distinfo
+2-2devel/R-cran-S7/Makefile
+5-52 files

LLVM/project 5bba4fdlibc/test/src/stdio fileop_test.cpp

[libc] Fix -Wshorten-64-to-32 in fileop_test. (#168451)

Explicitly cast 0 to size_t type to match fread() return type. This
follows the pattern used elsewhere in this file, and fixes
-Wshorten-64-to-32 warnings when building the test.
DeltaFile
+2-2libc/test/src/stdio/fileop_test.cpp
+2-21 files

LLVM/project be1a504orc-rt/include/orc-rt Session.h, orc-rt/lib/executor Session.cpp

[orc-rt] Simplify Session shutdown. (#168664)

Moves all Session member variables dedicated to shutdown into a new
ShutdownInfo struct, and uses the presence / absence of this struct as
the flag to indicate that we've entered the "shutting down" state. This
simplifies the implementation of the shutdown process.
DeltaFile
+18-25orc-rt/lib/executor/Session.cpp
+8-7orc-rt/include/orc-rt/Session.h
+26-322 files

LLVM/project 9dc4ebfmlir/include/mlir/Dialect/XeGPU/IR XeGPUTypes.td XeGPUOps.td, mlir/lib/Conversion/XeGPUToXeVM XeGPUToXeVM.cpp

[MLIR][XeGPU] Allow create mem desc from 2d memref (#167767)

This PR relax the create_mem_desc's restriction on source memref,
allowing it to be a 2d memref.
DeltaFile
+52-29mlir/test/Conversion/XeGPUToXeVM/loadstore_matrix.mlir
+9-29mlir/lib/Conversion/XeGPUToXeVM/XeGPUToXeVM.cpp
+21-0mlir/test/Dialect/XeGPU/ops.mlir
+11-0mlir/include/mlir/Dialect/XeGPU/IR/XeGPUTypes.td
+3-8mlir/include/mlir/Dialect/XeGPU/IR/XeGPUOps.td
+1-1mlir/test/Dialect/XeGPU/invalid.mlir
+97-676 files

LLVM/project f38cf01libclc/opencl/lib/amdgcn/cl_khr_int64_extended_atomics minmax_helpers.ll, libclc/opencl/lib/generic/atomic atom_min.cl atom_max.cl

[libclc] Use CLC atomic functions for legacy OpenCL atom/atomic builtins (#168325)

Main changes:
* OpenCL legacy atom/atomic builtins now call CLC atomic functions
(which use Clang __scoped_atomic_*), replacing previous Clang __sync_*
functions.
* Change memory order from seq_cst to relaxed; keep device scope (spec
permits broader than workgroup). LLVM IR for _Z8atom_decPU3AS1Vi in
amdgcn--amdhsa.bc:
  Before:
%2 = atomicrmw volatile sub ptr subrspace(1) %0, i32 1
syncscope("agent") seq_cst
  After:
%2 = atomicrmw volatile sub ptr subrspace(1) %0, i32 1
syncscope("agent") monotonic
* Also adds OpenCL 1.0 atom_* variants without volatile on the pointer.
They are added for backward compatibility.
DeltaFile
+0-55libclc/opencl/lib/amdgcn/cl_khr_int64_extended_atomics/minmax_helpers.ll
+20-25libclc/opencl/lib/generic/atomic/atom_min.cl
+20-25libclc/opencl/lib/generic/atomic/atom_max.cl
+19-16libclc/opencl/lib/generic/atomic/atom_xor.cl
+19-16libclc/opencl/lib/generic/atomic/atom_xchg.cl
+19-16libclc/opencl/lib/generic/atomic/atom_sub.cl
+97-15320 files not shown
+208-28326 files

LLVM/project f7f4135llvm/lib/Transforms/Vectorize LoopVectorize.cpp, llvm/test/Transforms/LoopVectorize/AArch64 interleave-with-gaps.ll store-costs-sve.ll

[LV]: Skip Epilogue scalable VF greater than RemainingIterations. (#156724)

Consider skipping epilogue scalable VF when they are greater than
RemainingIterations same as fixed VF.
And skip scalable RemainingIterations from that comparison because
SCEV ATM can't evaluate non-canonical vscale-based expressions.
DeltaFile
+17-119llvm/test/Transforms/LoopVectorize/AArch64/interleave-with-gaps.ll
+28-27llvm/test/Transforms/LoopVectorize/AArch64/store-costs-sve.ll
+18-7llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+63-1533 files

FreeBSD/ports 355f5aadevel/efivar Makefile

devel/efivar: Fix rpath to load libefivar.so from the correct path

PR:             291053
Approved by:    decke (maintainer)
Sponsored by:   The FreeBSD Foundation
DeltaFile
+3-1devel/efivar/Makefile
+3-11 files

OpenBSD/src NTzeIpYsys/dev/pci if_mcx.c

   Remove MCX_MAX_QUEUES, which was just an arbitrary number we picked, and
   instead use IF_MAX_VECTORS for arrays and doorbell layout checks, and
   account for the maximum number of EQs from the device capabilities when
   determining how many queues to use.

   ok dlg@ bluhm@
VersionDeltaFile
1.121+8-7sys/dev/pci/if_mcx.c
+8-71 files

LLVM/project c942ebd.github new-prs-labeler.yml, .github/workflows new-prs.yml

Reapply "[Github] Update PR labeller to v6.0.1 (#167246)"

This reverts commit d772663a9f003a08ee76414397963c58e80b27d7.

This fixes the final issue with the labeller landing. There were
two remaining issues:
1. There was an extra quote on one of the globs
2. Some of the yaml keys were named incorrectly (should have been
   plural)
DeltaFile
+1,130-812.github/new-prs-labeler.yml
+1-4.github/workflows/new-prs.yml
+1,131-8162 files

LLVM/project fa50a68llvm/lib/Target/PowerPC PPCISelLowering.cpp PPCISelLowering.h, llvm/test/CodeGen/PowerPC saddo-ssubo.ll

[PowerPC] Add custom lowering for SADD overflow for i32 and i64 (#159255)

This patch improves the codegen for saddo on i32 and i64 in both 32-bit
and 64-bit modes by custom lowering. It implements signed-add overflow
detection using the `(x eqv y) & (sum xor x)`bit-level sequence.
DeltaFile
+37-1llvm/lib/Target/PowerPC/PPCISelLowering.cpp
+10-12llvm/test/CodeGen/PowerPC/saddo-ssubo.ll
+1-0llvm/lib/Target/PowerPC/PPCISelLowering.h
+48-133 files

FreeBSD/src 9b01028sys/powerpc/aim mmu_oea64.c mmu_oea.c, sys/powerpc/booke pmap_64.c pmap_32.c

powerpc: Don't use cache to zero pages

pmap_zero_page() may be called on uncached pages, so using the cache to
zero uncached pages may trigger a fault.

MFC after:      2 weeks
DeltaFile
+4-6sys/powerpc/aim/mmu_oea64.c
+2-3sys/powerpc/booke/pmap_64.c
+2-3sys/powerpc/booke/pmap_32.c
+2-3sys/powerpc/aim/mmu_oea.c
+10-154 files

LLVM/project 56c9655compiler-rt/test/asan/TestCases/Darwin lit.local.cfg.py interface_symbols_darwin.cpp

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

Created using spr 1.3.7

[skip ci]
DeltaFile
+25-0compiler-rt/test/asan/TestCases/Darwin/lit.local.cfg.py
+11-7compiler-rt/test/asan/TestCases/Darwin/interface_symbols_darwin.cpp
+2-13compiler-rt/test/asan/TestCases/Darwin/dyld_insert_libraries_reexec.cpp
+38-203 files

LLVM/project ae8c0e1compiler-rt/test/asan/TestCases/Darwin lit.local.cfg.py interface_symbols_darwin.cpp, compiler-rt/test/asan/TestCases/Darwin/Inputs check-syslog.sh

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+25-0compiler-rt/test/asan/TestCases/Darwin/lit.local.cfg.py
+11-7compiler-rt/test/asan/TestCases/Darwin/interface_symbols_darwin.cpp
+2-13compiler-rt/test/asan/TestCases/Darwin/dyld_insert_libraries_reexec.cpp
+3-7compiler-rt/test/asan/TestCases/Darwin/duplicate_os_log_reports.cpp
+6-0compiler-rt/test/asan/TestCases/Darwin/Inputs/check-syslog.sh
+47-275 files

LLVM/project 725ef09compiler-rt/test/asan/TestCases/Darwin interface_symbols_darwin.cpp

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

Created using spr 1.3.7

[skip ci]
DeltaFile
+11-7compiler-rt/test/asan/TestCases/Darwin/interface_symbols_darwin.cpp
+11-71 files

LLVM/project afdc509compiler-rt/test/asan/TestCases/Darwin lit.local.cfg.py interface_symbols_darwin.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+25-0compiler-rt/test/asan/TestCases/Darwin/lit.local.cfg.py
+11-7compiler-rt/test/asan/TestCases/Darwin/interface_symbols_darwin.cpp
+2-13compiler-rt/test/asan/TestCases/Darwin/dyld_insert_libraries_reexec.cpp
+38-203 files

LLVM/project f4354b3compiler-rt/test/asan/TestCases/Darwin interface_symbols_darwin.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+11-7compiler-rt/test/asan/TestCases/Darwin/interface_symbols_darwin.cpp
+11-71 files

FreeBSD/src 31412fdsys/cam/nvme nvme_da.c

nvme: Refactor geom setting to function.

Refactor setting of geometry for the disk to its own function. No
functional changes.

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D33032

(cherry picked from commit dffd882d12d2a71aca464f48209ec9ae6f393b15)
DeltaFile
+31-16sys/cam/nvme/nvme_da.c
+31-161 files

FreeBSD/src b7ffac0sys/dev/nvme nvme_sim.c

nvme_sim: signal namespace depature

Signal when the namespace is gone so we can tear down the disk when a
nvme drive is removed.

Reviewed by:            imp
Differential Revision:  https://reviews.freebsd.org/D33032

(cherry picked from commit 4640f5008922c5b189d2f7b63edf73300277e6df)
DeltaFile
+19-9sys/dev/nvme/nvme_sim.c
+19-91 files

FreeBSD/src fe6ee00sys/dev/nvme nvme_ctrlr.c nvme_ns.c

nvme: Notify namespace changes better

When we get a namespace notification, we have to reconstrut the
namespace to get the new identification data from the namespace. For
each namespace in the AEN, we will reconstrict it before we call the
notification. We also flag it as changed for the duration of the change
callback (prior versions of the patch needed to keep track, but we no
longer do, so this bit may be removed). Note when we've seen the
namespace so we can notify when it goes away.

Co-authored-by: imp
Differential Revision: https://reviews.freebsd.org/D33032

(cherry picked from commit 20e94950c54e398049396647da36b9e2c3b639c1)
DeltaFile
+11-1sys/dev/nvme/nvme_ctrlr.c
+6-3sys/dev/nvme/nvme_ns.c
+5-2sys/dev/nvme/nvme.h
+22-63 files

FreeBSD/src 96a7ed1sys/dev/nvd nvd.c

nvd: handle namespace changes

Signal the new media size when the namespace changes size.

Reviewed by:            imp
Differential Revision:  https://reviews.freebsd.org/D33032

(cherry picked from commit bd769e73d8f1d5141b1c2eb2322b4c6caed5d9e0)
DeltaFile
+44-1sys/dev/nvd/nvd.c
+44-11 files

FreeBSD/src 9a465b3sys/cam/nvme nvme_da.c nvme_xpt.c

nda: React to namespace change events

Register for AC_GETDEV_CHANGED. When we receive a namespace
notification, we only create a new device if it was unconfigured. If it
was configured, generate this async event. Rely on the fact that we
reconstruct namespace to just get the data from the identify data and
call disk_resised.

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D33032

(cherry picked from commit 86d3ec359a56d1b5d015718bd19ef4bda681a032)
DeltaFile
+20-9sys/cam/nvme/nvme_da.c
+2-0sys/cam/nvme/nvme_xpt.c
+22-92 files

FreeBSD/src fd73781sys/dev/nvme nvme_ctrlr.c

nvme: Fix backwards sense of error condition

b21e67875bf0c tested for the good condition, not the error condition, so
we'd never do anything else in this function. This was causing certain
logging not to happen, and also prevented forthcoming namespace size
change code from working as well.

Fixes: b21e67875bf0c
Sponsored by: Netflix
(cherry picked from commit 27481c268916b0790c7ad16202a5b012625ce1a8)
DeltaFile
+1-1sys/dev/nvme/nvme_ctrlr.c
+1-11 files

LLVM/project 52ed0f2clang/lib/Basic/Targets Sparc.cpp, clang/test/CodeGen/Sparc inline-asm-gcc-regs.c

[SPARC][clang] Add condition code register names for inline asm (#168498)

This follows the list of names used by GCC.
DeltaFile
+13-0clang/test/CodeGen/Sparc/inline-asm-gcc-regs.c
+5-0clang/lib/Basic/Targets/Sparc.cpp
+18-02 files