LLVM/project c70795cllvm/include/llvm/MC MCTargetOptions.h, llvm/lib/MC MCTargetOptionsCommandFlags.cpp

[MC][CodeGen] Add --large-eh-encoding flag for x86_64 & Aarch64 ELF (#174508)

Add a --large-eh-encoding option that forces 8-byte (DW_EH_PE_sdata8)
pointer encodings for all x86_64 & aarch64 ELF EH sections: FDE CFI
encoding, personality, LSDA, and TType encodings.

This is useful for large binaries where .text may exceed 2GB, causing
relocation overflows in .eh_frame and .gcc_except_table even under the
small or medium code model. The cost is purely in section size (a few
extra bytes per FDE/LSDA entry) with no runtime performance impact.
DeltaFile
+49-0llvm/test/CodeGen/X86/large-eh-encoding.ll
+35-0llvm/test/MC/AArch64/large-eh-encoding.s
+35-0llvm/test/CodeGen/AArch64/large-eh-encoding.ll
+32-0llvm/test/MC/X86/large-eh-encoding.s
+10-0llvm/lib/MC/MCTargetOptionsCommandFlags.cpp
+6-0llvm/include/llvm/MC/MCTargetOptions.h
+167-04 files not shown
+175-210 files

OpenZFS/src 8f8db7bmodule/os/linux/zfs zfs_vfsops.c

zfs_sync: remove support for impossible scenarios

The superblock pointer will always be set, as will z_log, so remove code
supporting cases that can't occur (on Linux at least).

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Reviewed-by: Paul Dagnelie <paul.dagnelie at klarasystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Alexander Motin <mav at FreeBSD.org>
Signed-off-by: Rob Norris <rob.norris at klarasystems.com>
Closes #17420
(cherry picked from commit 52352dd74869d64070e784573d4a01bb55924017)
Signed-off-by: Andriy Tkachuk <atkachuk at wasabi.com>
DeltaFile
+14-27module/os/linux/zfs/zfs_vfsops.c
+14-271 files

OpenZFS/src 52a5c52module/os/linux/zfs zfs_vfsops.c

zfs_sync: return error when pool suspends

If the pool is suspended, we'll just block in zil_commit(). If the
system is shutting down, blocking wouldn't help anyone. So, we should
keep this test for now, but at least return an error for anyone who is
actually interested.

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Reviewed-by: Paul Dagnelie <paul.dagnelie at klarasystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Alexander Motin <mav at FreeBSD.org>
Signed-off-by: Rob Norris <rob.norris at klarasystems.com>
Closes #17420
(cherry picked from commit e3f5e317e0ed4da44a10fe202ec80abed1c8cc87)
Signed-off-by: Andriy Tkachuk <atkachuk at wasabi.com>
DeltaFile
+4-3module/os/linux/zfs/zfs_vfsops.c
+4-31 files

OpenZFS/src b836cce. configure.ac, tests/runfiles linux.run

zts: test syncfs() behaviour when pool suspends

Fairly coarse, but if it returns while the pool suspends, it must be
with an error.

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Reviewed-by: Paul Dagnelie <paul.dagnelie at klarasystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Alexander Motin <mav at FreeBSD.org>
Signed-off-by: Rob Norris <rob.norris at klarasystems.com>
Closes #17420
(cherry picked from commit c1b7bc52fe264bf8b96dd667ef55db3bd478c00a)
Signed-off-by: Andriy Tkachuk <atkachuk at wasabi.com>
DeltaFile
+116-0tests/zfs-tests/tests/functional/syncfs/syncfs_suspend.ksh
+4-0tests/runfiles/linux.run
+3-0tests/zfs-tests/tests/functional/syncfs/Makefile.am
+1-0tests/zfs-tests/tests/functional/Makefile.am
+1-0configure.ac
+125-05 files

OpenZFS/src dde78d1config kernel-sb-wb-err.m4 kernel.m4, module/os/linux/zfs zpl_super.c

zpl_sync_fs: work around kernels that ignore sync_fs errors

If the kernel will honour our error returns, use them. If not, fool it
by setting a writeback error on the superblock, if available.

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Reviewed-by: Paul Dagnelie <paul.dagnelie at klarasystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Alexander Motin <mav at FreeBSD.org>
Signed-off-by: Rob Norris <rob.norris at klarasystems.com>
Closes #17420
(cherry picked from commit d1c88cbd4cc2ebe5b97fa5b39e7fd83294583ed8)
Signed-off-by: Andriy Tkachuk <atkachuk at wasabi.com>
DeltaFile
+56-1module/os/linux/zfs/zpl_super.c
+27-0config/kernel-sb-wb-err.m4
+2-0config/kernel.m4
+85-13 files

OpenZFS/src 05af2c8tests/runfiles linux.run, tests/zfs-tests/tests Makefile.am

zts: test syncfs() behaviour when pool suspends

Fairly coarse, but if it returns while the pool suspends, it must be
with an error.

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Reviewed-by: Paul Dagnelie <paul.dagnelie at klarasystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Alexander Motin <mav at FreeBSD.org>
Signed-off-by: Rob Norris <rob.norris at klarasystems.com>
Closes #17420
(cherry picked from commit c1b7bc52fe264bf8b96dd667ef55db3bd478c00a)
Signed-off-by: Andriy Tkachuk <atkachuk at wasabi.com>
DeltaFile
+116-0tests/zfs-tests/tests/functional/syncfs/syncfs_suspend.ksh
+4-0tests/runfiles/linux.run
+1-0tests/zfs-tests/tests/Makefile.am
+121-03 files

OpenZFS/src 6ca4868module/os/linux/zfs zfs_vfsops.c

zfs_sync: remove support for impossible scenarios

The superblock pointer will always be set, as will z_log, so remove code
supporting cases that can't occur (on Linux at least).

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Reviewed-by: Paul Dagnelie <paul.dagnelie at klarasystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Alexander Motin <mav at FreeBSD.org>
Signed-off-by: Rob Norris <rob.norris at klarasystems.com>
Closes #17420
(cherry picked from commit 52352dd74869d64070e784573d4a01bb55924017)
Signed-off-by: Andriy Tkachuk <atkachuk at wasabi.com>
DeltaFile
+13-29module/os/linux/zfs/zfs_vfsops.c
+13-291 files

OpenZFS/src 0167bcbconfig kernel-sb-wb-err.m4 kernel.m4, module/os/linux/zfs zpl_super.c

zpl_sync_fs: work around kernels that ignore sync_fs errors

If the kernel will honour our error returns, use them. If not, fool it
by setting a writeback error on the superblock, if available.

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Reviewed-by: Paul Dagnelie <paul.dagnelie at klarasystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Alexander Motin <mav at FreeBSD.org>
Signed-off-by: Rob Norris <rob.norris at klarasystems.com>
Closes #17420
(cherry picked from commit d1c88cbd4cc2ebe5b97fa5b39e7fd83294583ed8)
Signed-off-by: Andriy Tkachuk <atkachuk at wasabi.com>
DeltaFile
+56-1module/os/linux/zfs/zpl_super.c
+27-0config/kernel-sb-wb-err.m4
+2-0config/kernel.m4
+85-13 files

OpenZFS/src 6dff9ebmodule/os/linux/zfs zfs_vfsops.c

zfs_sync: return error when pool suspends

If the pool is suspended, we'll just block in zil_commit(). If the
system is shutting down, blocking wouldn't help anyone. So, we should
keep this test for now, but at least return an error for anyone who is
actually interested.

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Reviewed-by: Paul Dagnelie <paul.dagnelie at klarasystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Alexander Motin <mav at FreeBSD.org>
Signed-off-by: Rob Norris <rob.norris at klarasystems.com>
Closes #17420
(cherry picked from commit e3f5e317e0ed4da44a10fe202ec80abed1c8cc87)
Signed-off-by: Andriy Tkachuk <atkachuk at wasabi.com>
DeltaFile
+4-3module/os/linux/zfs/zfs_vfsops.c
+4-31 files

LLVM/project a6ca941llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer splat-buildvector.ll

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+99-35llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+40-37llvm/test/Transforms/SLPVectorizer/X86/split-node-num-operands.ll
+28-37llvm/test/Transforms/SLPVectorizer/X86/minmax-main-opcode-copyables.ll
+19-24llvm/test/Transforms/SLPVectorizer/X86/debug-info-salvage.ll
+6-10llvm/test/Transforms/SLPVectorizer/X86/minmax-main-opcode-copyables-cost.ll
+2-3llvm/test/Transforms/SLPVectorizer/splat-buildvector.ll
+194-1466 files

LLVM/project dd77cf5clang/test/Interpreter pch-pic-mismatch.cpp

[Clang][Interpreter] Fix pch-pic-mismatch for darwin platforms (#209183)

Darwin enforce PIC by default and ignores all -fno-pic option. We calls
cc1 directly as its PIC level is 0 by default. This fixes the new
introduced test pch-pic-mismatch.cpp
DeltaFile
+5-2clang/test/Interpreter/pch-pic-mismatch.cpp
+5-21 files

LLVM/project c6ebd7aclang-tools-extra/clang-doc MDGenerator.cpp MDMustacheGenerator.cpp, clang-tools-extra/test/clang-doc basic-project.test

[clang-doc] Remove deprecated Markdown generator (#209071)
DeltaFile
+86-582clang-tools-extra/clang-doc/MDGenerator.cpp
+0-428clang-tools-extra/unittests/clang-doc/MDGeneratorTest.cpp
+26-118clang-tools-extra/test/clang-doc/md/namespace.cpp
+1-126clang-tools-extra/test/clang-doc/basic-project.test
+0-121clang-tools-extra/clang-doc/MDMustacheGenerator.cpp
+21-93clang-tools-extra/test/clang-doc/md/enum.cpp
+134-1,46817 files not shown
+166-1,58223 files

LLVM/project 8d251a4llvm/lib/Target/RISCV RISCVISelDAGToDAG.cpp RISCVInstrInfoP.td

[RISCV][P-ext] Move v2i16 and v4i8 extract_subvector handling to tablegen. NFC (#208863)
DeltaFile
+3-15llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
+10-0llvm/lib/Target/RISCV/RISCVInstrInfoP.td
+13-152 files

Illumos/gate 04f97a1usr/src/lib/libc/port/locale localeimpl.c, usr/src/test/libc-tests/tests getlocname.c

18234 duplocale() fails to set loc->locname in cloned locale
Reviewed by: Robert Mustacchi <rm at fingolfin.org>
Reviewed by: Gordon Ross <Gordon.W.Ross at gmail.com>
Reviewed by: Toomas Soome <tsoome at me.com>
Approved by: Dan McDonald <danmcd at Edgecast.io>
DeltaFile
+27-1usr/src/test/libc-tests/tests/getlocname.c
+18-6usr/src/lib/libc/port/locale/localeimpl.c
+45-72 files

LLVM/project 5801213llvm/lib/Transforms/Scalar ConstraintElimination.cpp

[ConstraintElim] Check loop pred & invariance before SCEV query (NFC) (#209314)

Move cheap checks (check for loop predecessor and invariance) before
more expensive SCEV queries.

This slightly reduces the number we need to unnecessarily construct SCEV
expressions.
DeltaFile
+5-6llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
+5-61 files

FreeBSD/src 9dfaf1cusr.sbin/pkg pkg.c pkg.7

Revert "pkg: Add -j and -r options"

This reverts commit d94e034d504682be56fc2e9d20ac2c0fe15b70ec at the
request of des@, as it seems to have broken the pass-through case.
DeltaFile
+25-91usr.sbin/pkg/pkg.c
+5-23usr.sbin/pkg/pkg.7
+1-1usr.sbin/pkg/Makefile
+31-1153 files

LLVM/project 60ea4b3bolt/include/bolt/Core BinaryFunction.h, bolt/lib/Core BinaryFunction.cpp BinaryContext.cpp

Change DebugScopeBoundaryOffsets to be stored in SparseBitVector instead of sorted vector
DeltaFile
+10-33bolt/include/bolt/Core/BinaryFunction.h
+3-7bolt/lib/Core/BinaryFunction.cpp
+4-2bolt/lib/Core/BinaryContext.cpp
+17-423 files

LLVM/project 4743729utils/bazel/llvm-project-overlay/mlir BUILD.bazel

[Bazel] Fixes 0661f66 (#209319)

This fixes 0661f6636a0a5a79635e99d98a239c2bba4ea2ed.

Buildkite error link:
https://buildkite.com/llvm-project/upstream-bazel/builds?commit=0661f6636a0a5a79635e99d98a239c2bba4ea2ed

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+1-0utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+1-01 files

NetBSD/pkgsrc gt4bLFwcross/ppc-morphos-gcc Makefile, cross/ppc-morphos-gcc/files const-baserel.diff

   cross/ppc-morphos-gcc: Fix const baserel
VersionDeltaFile
1.2+180-7cross/ppc-morphos-gcc/files/const-baserel.diff
1.9+2-2cross/ppc-morphos-gcc/Makefile
+182-92 files

OpenBSD/src yNbInEqusr.bin/tmux window-customize.c hooks.c

   Add e key to open editor to customize mode (like buffer mode) and a key
   to show only changed items.
VersionDeltaFile
1.33+936-99usr.bin/tmux/window-customize.c
1.14+14-1usr.bin/tmux/hooks.c
1.1138+2-1usr.bin/tmux/tmux.1
1.1402+2-1usr.bin/tmux/tmux.h
+954-1024 files

LLVM/project b894eb9llvm/lib/IR AutoUpgrade.cpp, llvm/test/CodeGen/AArch64 ptrauth-init-fini.ll

Address the review comments
DeltaFile
+4-4llvm/lib/IR/AutoUpgrade.cpp
+4-4llvm/test/CodeGen/AArch64/ptrauth-init-fini.ll
+8-82 files

LLVM/project 51b2a5dllvm/lib/Target/RISCV RISCVInstrInfoP.td, llvm/test/CodeGen/RISCV rvp-simd-64.ll rvp-simd-32.ll

[RISCV][P-ext] Fix incorrect shift mask on variable shift instructions. (#209293)

The instructions are defined to read 5 bits regardless of element size.

I think we will also need to change the C intrinsics to allow 5 bit
shift amounts, but we can do that in a separate patch.
DeltaFile
+16-18llvm/lib/Target/RISCV/RISCVInstrInfoP.td
+25-1llvm/test/CodeGen/RISCV/rvp-simd-64.ll
+12-0llvm/test/CodeGen/RISCV/rvp-simd-32.ll
+53-193 files

LLVM/project 0661f66mlir/include/mlir/Dialect/OpenACC OpenACCUtilsReduction.h, mlir/lib/Dialect/OpenACC/Utils OpenACCUtilsReduction.cpp CMakeLists.txt

[mlir][acc] Add reduction utilities for acc to gpu lowering (#209316)

In preparation for the pass that converts `acc.compute_region` to GPU
dialect, this PR adds several utilities which are used in that pass
related to reductions. Doing so to simplify review and to ensure that
unit testing is added for the utilities.

---------

Co-authored-by: Scott Manley <rscottmanley at gmail.com>
DeltaFile
+221-0mlir/lib/Dialect/OpenACC/Utils/OpenACCUtilsReduction.cpp
+192-0mlir/unittests/Dialect/OpenACC/OpenACCUtilsReductionTest.cpp
+66-0mlir/include/mlir/Dialect/OpenACC/OpenACCUtilsReduction.h
+3-0mlir/lib/Dialect/OpenACC/Utils/CMakeLists.txt
+3-0mlir/unittests/Dialect/OpenACC/CMakeLists.txt
+485-05 files

LLVM/project acbc7e5clang/lib/Basic/Targets AMDGPU.h AMDGPU.cpp, clang/test/Misc/target-invalid-cpu-note amdgcn.c

clang/AMDGPU: Validate -target-cpu in cc1 is valid for the subarch (#206481)

Restrict the reported list of valid target-cpus based on the triple's
subarch. This is more consistent with how other targets validate the
target CPU name. Currently we have split handling validating the target
name for the triple in both the driver and here. The driver based
diagnostic seems to be an amdgpu-ism in 2 different places (though there 
is one arm validation emitting the same diagnostic). In the future we could
probably drop those.
DeltaFile
+55-0clang/test/Misc/target-invalid-cpu-note/amdgcn.c
+6-5clang/lib/Basic/Targets/AMDGPU.h
+1-1clang/lib/Basic/Targets/AMDGPU.cpp
+62-63 files

LLVM/project d90f305clang/include/clang/ScalableStaticAnalysis/Analyses/TypeConstrainedPointers TypeConstrainedPointers.h, clang/lib/ScalableStaticAnalysis/Analyses/TypeConstrainedPointers TypeConstrainedPointers.cpp

[SSAF][TypeConstrainedPointers] Add pointer parameters of 'main' as constrained pointers (#208578)

Similar to some pointer entities of operator new/delete overload
functions, pointer type parameters of the main function shall also
retain its type during clang-reforge transformation.

rdar://179151882

---------

Co-authored-by: Balázs Benics <benicsbalazs at gmail.com>
DeltaFile
+45-0clang/unittests/ScalableStaticAnalysis/Analyses/TypeConstrainedPointers/TypeConstrainedPointersExtractorTest.cpp
+10-0clang/lib/ScalableStaticAnalysis/Analyses/TypeConstrainedPointers/TypeConstrainedPointers.cpp
+8-0clang/test/Analysis/Scalable/TypeConstrainedPointers/type-constrained-pointers.cpp
+3-0clang/include/clang/ScalableStaticAnalysis/Analyses/TypeConstrainedPointers/TypeConstrainedPointers.h
+66-04 files

LLVM/project 9367769clang/docs ReleaseNotes.md, lld/docs ReleaseNotes.rst

[docs] Add ARM64X release notes (NFC) (#209249)
DeltaFile
+8-0lld/docs/ReleaseNotes.rst
+5-0clang/docs/ReleaseNotes.md
+3-0llvm/docs/ReleaseNotes.md
+16-03 files

FreeNAS/freenas 11a5350src/freenas/etc/systemd/network 10-persistent-net.link

bump ntb0 back to 64K MTU
DeltaFile
+7-2src/freenas/etc/systemd/network/10-persistent-net.link
+7-21 files

NetBSD/pkgsrc-wip 9e4b769rust197 Makefile

rust197: one more REPLACE_BASH needed, evidently.
DeltaFile
+1-0rust197/Makefile
+1-01 files

FreeBSD/ports 806f59cfilesystems/xfuse distinfo Makefile

filesystems/xfuse: 0.7.1

This version no longer needs COMPAT11 on RISCV.

https://github.com/KhaledEmaraDev/xfuse/blob/main/CHANGELOG.md

Sponsored by:   ConnectWise
DeltaFile
+5-5filesystems/xfuse/distinfo
+1-1filesystems/xfuse/Makefile
+1-1filesystems/xfuse/Makefile.crates
+7-73 files

LLVM/project 5d888c2llvm/lib/Target/AMDGPU/AsmParser AMDGPUAsmParser.cpp

remove r600 check
DeltaFile
+1-2llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+1-21 files