LLVM/project fb0861bllvm/lib/Passes PassBuilderPipelines.cpp

comment

Created using spr 1.3.7
DeltaFile
+1-1llvm/lib/Passes/PassBuilderPipelines.cpp
+1-11 files

LLVM/project 62032d3clang/lib/CodeGen BackendUtil.cpp, llvm/include/llvm/Transforms/IPO LowerTypeTests.h

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+43-47llvm/lib/Transforms/IPO/LowerTypeTests.cpp
+13-14llvm/include/llvm/Transforms/IPO/LowerTypeTests.h
+7-14llvm/lib/Passes/PassBuilderPipelines.cpp
+8-0llvm/lib/Passes/PassRegistry.def
+1-4clang/lib/CodeGen/BackendUtil.cpp
+2-2llvm/test/Other/new-pm-O0-defaults.ll
+74-819 files not shown
+84-9115 files

LLVM/project 27769d7llvm/lib/Target/RISCV RISCVInstrInfo.cpp RISCVInstrInfo.h, llvm/test/CodeGen/RISCV machine-outliner-x5-regsave-rv32e.mir machine-outliner-reserved-regs.mir

[RISCV] Support MachineOutlinerRegSave for RISCV (#191351)

This patch adds support for the RegSave strategy in the RISC-V
MachineOutliner pass. It uses t1–t6 to preserve the t0 value across the
outlined function call when t0 is unavailable. This enables more
potential outlining candidates.

---------

Co-authored-by: Craig Topper <craig.topper at sifive.com>
DeltaFile
+250-0llvm/test/CodeGen/RISCV/machine-outliner-x5-regsave-rv32e.mir
+166-0llvm/test/CodeGen/RISCV/machine-outliner-reserved-regs.mir
+116-0llvm/test/CodeGen/RISCV/machine-outliner-x5-regsave.mir
+90-7llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
+6-6llvm/test/CodeGen/RISCV/machine-outliner-call-x5-liveout.mir
+1-0llvm/lib/Target/RISCV/RISCVInstrInfo.h
+629-136 files

FreeNAS/freenas 0afb8e0src/middlewared/middlewared/api/v27_0_0 failover.py failover_disabled_reasons.py, src/middlewared/middlewared/plugins failover.py

Improve some failover API docs and add auditing
DeltaFile
+31-8src/middlewared/middlewared/plugins/failover.py
+28-9src/middlewared/middlewared/api/v27_0_0/failover.py
+31-2src/middlewared/middlewared/api/v27_0_0/failover_disabled_reasons.py
+19-1src/middlewared/middlewared/plugins/failover_/reboot.py
+1-0src/middlewared/middlewared/api/v27_0_0/failover_reboot.py
+110-205 files

LLVM/project 114f662llvm/tools/llvm-readobj ELFDumper.cpp

[llvm-readobj][ELF] Remove redundant error in reportWarning (#192458)
DeltaFile
+1-2llvm/tools/llvm-readobj/ELFDumper.cpp
+1-21 files

OpenZFS/src b3623d1.github/workflows/scripts qemu-1-setup.sh

CI: Do not set scheduler in qemu-1-setup.sh

We've seen some qemu-1-setup failures while trying to change the
runner's block device scheduler value to 'none':

  We have a single 150GB block device
  Setting up swapspace version 1, size = 16 GiB (17179865088 bytes)
  no label, UUID=7a790bfe-79e5-4e38-b208-9c63fe523294
  tee: '/sys/block/s*/queue/scheduler': No such file or directory

Luckily, we don't need to set the scheduler anymore on modern kernels:
https://github.com/openzfs/zfs/issues/9778#issuecomment-569347505

This commit just removes the code that sets the scheduler.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Tony Hutter <hutter2 at llnl.gov>
Closes #18437
DeltaFile
+0-5.github/workflows/scripts/qemu-1-setup.sh
+0-51 files

FreeBSD/src 65ccf92sys/kern vfs_syscalls.c, sys/sys fcntl.h

openat(2): check that userspace pass known and allowed flags

(cherry picked from commit 8a5601cff1ea32ab63df1377f61620e4f91999b3)
DeltaFile
+6-0sys/sys/fcntl.h
+4-1sys/kern/vfs_syscalls.c
+10-12 files

FreeBSD/src ee3ef70lib/libsys fork.2

fork.2: note that all methods to pre-resolve symbols have consequences

(cherry picked from commit 660498986a8e56025d9d2f9c6a0813c09a27ba8e)
DeltaFile
+2-0lib/libsys/fork.2
+2-01 files

FreeBSD/src 803a892include unistd.h

unistd.h: _Fork(2) is required by POSIX 2024

(cherry picked from commit f286933c950f6308117c8400f36f3160f6227491)
DeltaFile
+4-1include/unistd.h
+4-11 files

FreeBSD/src 090c9easys/kern vfs_aio.c kern_event.c

kevent: do not check knote lists being empty before removing a knote

(cherry picked from commit 31069fdbdae1027a6f1af7d56d418de4428ac6d9)
DeltaFile
+2-4sys/kern/vfs_aio.c
+1-2sys/kern/kern_event.c
+3-62 files

FreeBSD/src 52aed37lib/libthr libthr.3

libthr.3: describe SIGTHR

(cherry picked from commit 934a35ac2bbbcf8cd65d8824fa824eb5c6170c88)
DeltaFile
+19-0lib/libthr/libthr.3
+19-01 files

FreeBSD/src 46b2975lib/libthr libthr.3

libthr.3: describe what we mean by C runtime environment.

(cherry picked from commit fa912e3b9b5c074793bb1899f8256ea4baf72631)
DeltaFile
+6-0lib/libthr/libthr.3
+6-01 files

FreeBSD/src 6c1672asys/kern subr_early.c

subr_early.c: cleanup includes

(cherry picked from commit 4da93b9a8a5411f7386e79053d9c46df29627594)
DeltaFile
+0-2sys/kern/subr_early.c
+0-21 files

LLVM/project 0331209llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp, llvm/test/CodeGen/RISCV/rvv buildvec-sext.ll

[DAGCombiner] Extend convertBuildVecZextToZext to sign extends (#192372)

Generalize the existing fold that collapses a BUILD_VECTOR of ZERO_EXTEND
(or ANY_EXTEND) of EXTRACT_VECTOR_ELTs into a single vector extend so that
it also handles SIGN_EXTEND. Mixed sign and zero extends remain unsupported
because their high-bit semantics differ, so the combine bails out in that
case.

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply at anthropic.com>
DeltaFile
+88-0llvm/test/CodeGen/RISCV/rvv/buildvec-sext.ll
+20-9llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+108-92 files

FreeBSD/src b49b3cclib/libsys ntp_adjtime.2

ntp_adjtime.2: Increase visibility

+ s/ntp/ntpd/ for correctness + apropos results in document description
+ silence a linter warning by escaping a period with a zero-width space

MFC after:      3 days
DeltaFile
+3-3lib/libsys/ntp_adjtime.2
+3-31 files

HardenedBSD/src 23b2b35sys/netinet6 nd6_rtr.c nd6.h, sys/powerpc/booke pmap.c

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+336-1sys/netinet6/nd6_rtr.c
+13-13sys/powerpc/include/tlb.h
+18-6sys/powerpc/mpc85xx/platform_mpc85xx.c
+17-6sys/powerpc/booke/pmap.c
+15-2usr.sbin/rtadvd/rtadvd.c
+13-1sys/netinet6/nd6.h
+412-2913 files not shown
+444-3419 files

HardenedBSD/src 1abf532sys/netinet6 nd6_rtr.c nd6.h, sys/powerpc/booke pmap.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+336-1sys/netinet6/nd6_rtr.c
+13-13sys/powerpc/include/tlb.h
+18-6sys/powerpc/mpc85xx/platform_mpc85xx.c
+17-6sys/powerpc/booke/pmap.c
+15-2usr.sbin/rtadvd/rtadvd.c
+13-1sys/netinet6/nd6.h
+412-2913 files not shown
+444-3419 files

FreeBSD/doc d40e6a8website/content/en/releases/15.1R schedule.adoc

15.1: On schedule

The code slush has started.

Approved by:    re (implicit)
Sponsored by:   OpenSats Initiative
DeltaFile
+1-1website/content/en/releases/15.1R/schedule.adoc
+1-11 files

HardenedBSD/ports 36c4f42devel/cargo-readme distinfo Makefile.crates, multimedia/dvdstyler pkg-plist

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+0-1,721multimedia/lebiniou-data/pkg-plist
+0-334multimedia/dvdstyler/pkg-plist
+113-129devel/cargo-readme/distinfo
+0-133multimedia/lebiniou/pkg-plist
+55-63devel/cargo-readme/Makefile.crates
+114-0multimedia/kdenlive/pkg-plist
+282-2,380359 files not shown
+1,702-3,783365 files

FreeBSD/src cddcca7sys/conf newvers.sh, usr.bin/yacc config.h

15.1: Update stable/15 to -PRERELEASE

This marks the start of the FreeBSD 15.1 release cycle; the stable/15
tree is now in "code slush".

Developers are encouraged to prioritize fixing bugs (and/or merging bug
fixes from HEAD) over new features at this time.  Commit approval from
re@ is not required but if new features introduce problems they may be
removed from the release.

Approved by:    re (implicit)
Sponsored by:   OpenSats Initiative
DeltaFile
+2-2sys/conf/newvers.sh
+1-1usr.bin/yacc/config.h
+3-32 files

LLVM/project e836103llvm/lib/Target/AMDGPU AMDGPUAsmPrinter.cpp SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU lds-link-time-codegen.ll lds-link-time-codegen-named-barrier.ll

[AMDGPU] Emit the relocation symbol for LDS and named barrier when object linking is enabled
DeltaFile
+50-0llvm/test/CodeGen/AMDGPU/lds-link-time-codegen.ll
+35-0llvm/test/CodeGen/AMDGPU/lds-link-time-codegen-named-barrier.ll
+12-3llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
+12-0llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+109-34 files

LLVM/project 2dbe45allvm/docs AMDGPUUsage.rst, llvm/lib/Target/AMDGPU AMDGPUAsmPrinter.cpp

[AMDGPU] Add `.amdgpu.info` section for per-function metadata

AMDGPU object linking requires the linker to propagate resource usage
(registers, stack, LDS) across translation units. To support this, the compiler
must emit per-function metadata and call graph edges in the relocatable object
so the linker can compute whole-program resource requirements.

This PR introduces a `.amdgpu.info` ELF section using a tagged, length-prefixed
binary format: each entry is encoded as:

```
[kind: u8] [len: u8] [payload: <len> bytes]
```

A function scope is opened by an `INFO_FUNC` entry (containing a symbol
reference), followed by per-function attributes (register counts, flags, private
segment size) and relational edges (direct calls, LDS uses, indirect call
signatures). String data such as function type signatures is stored in a
companion `.amdgpu.strtab` section.

    [4 lines not shown]
DeltaFile
+198-0llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
+172-2llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
+116-0llvm/test/MC/AMDGPU/amdgpu-info-roundtrip.s
+111-0llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+110-0llvm/docs/AMDGPUUsage.rst
+83-0llvm/test/CodeGen/AMDGPU/lds-link-time-codegen-typeid.ll
+790-211 files not shown
+1,203-1417 files

LLVM/project c78f80cclang/test/CIR/IR branch.cir for.cir

[CIR][NFC] Upstream IR roundtrip tests for branch and loop ops (#189006)

Add `clang/test/CIR/IR` roundtrip tests for `cir.br`, `cir.brcond`,
`cir.for`, `cir.while`, and `cir.do`.

This adds parser/printer coverage for the textual forms of these
control-flow operations.

Partially addresses #156747.
DeltaFile
+33-0clang/test/CIR/IR/branch.cir
+21-0clang/test/CIR/IR/for.cir
+17-0clang/test/CIR/IR/do-while.cir
+17-0clang/test/CIR/IR/while.cir
+88-04 files

LLVM/project 4b6231dflang/include/flang/Support Fortran.h, flang/lib/Parser Fortran-parsers.cpp

[flang][cuda] Accept attributes(value) as a CUDA Fortran extension (#192560)

This is accepted by legacy compiler and is part of some documentation
DeltaFile
+9-1flang/test/Lower/CUDA/cuda-data-attribute.cuf
+7-0flang/test/Semantics/cuf03.cuf
+5-1flang/lib/Semantics/resolve-names.cpp
+2-2flang/include/flang/Support/Fortran.h
+2-1flang/lib/Parser/Fortran-parsers.cpp
+2-0flang/lib/Semantics/check-declarations.cpp
+27-51 files not shown
+29-57 files

LLVM/project 3b1cc61flang-rt/lib/cuda pointer.cpp, flang/include/flang/Runtime/CUDA pointer.h

[flang][cuda] Add missing pointer deallocation entry point (#192566)

We were missing the deallocation entry point for pointer and wiring all
to allocatable deallocate which will trigger Invalid descriptor error.
DeltaFile
+21-0flang/test/Fir/CUDA/cuda-allocate.fir
+18-0flang-rt/lib/cuda/pointer.cpp
+13-4flang/lib/Optimizer/Transforms/CUDA/CUFAllocationConversion.cpp
+6-0flang/include/flang/Runtime/CUDA/pointer.h
+58-44 files

OpenZFS/src d88d9c9. META

Linux 7.0 compat: META

Update the META file to reflect compatibility with the 7.0
kernel.

Reviewed-by: Tony Hutter <hutter2 at llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Closes #18435
DeltaFile
+1-1META
+1-11 files

OpenZFS/src b32911btests/zfs-tests/tests/functional/replacement resilver_restart_001.ksh

ZTS: resilver_restart_001 improvements

The resilver_restart_001 test case has not been entirely reliable
when run under the CI.  Address several small issues which may be
responsible.

- Configure the pool as raidz2 instead of raidz1 since the test
  offlines two devices.  This ensures the second device is marked
  as OFFLINE instead of DEGRADED.

- Start the zpool replace after setting SCAN_SUSPEND_PROGRESS to
  close any potential race where the replace finishs to quickly.

- Wait for the offlines/onlined vdevs to fully transition to the
  expected state during the test.

- Add the true flag to sync_pool to force a TXG sync to happen
  even if it might not otherwise be required.


    [5 lines not shown]
DeltaFile
+12-7tests/zfs-tests/tests/functional/replacement/resilver_restart_001.ksh
+12-71 files

LLVM/project 2664fd3offload/test/mapping map_ordering_tgt_exit_data_always_always.c map_ordering_tgt_exit_data_delete_from.c

[NFC][OpenMP] Make map ordering tests for no host->tgt transfer more robust (#192571)

They were relying on the host value not being seen on the device, but
the value being matched was small enough for the probability of a
successful match against garbage data relatively high.

Now we just rely on the LIBOMPTARGET_DEBUG logs to ensure there wasn't
any transfer.
DeltaFile
+2-1offload/test/mapping/map_ordering_tgt_exit_data_always_always.c
+1-2offload/test/mapping/map_ordering_tgt_exit_data_delete_from.c
+1-2offload/test/mapping/map_ordering_tgt_exit_data_delete_from_assumedsize.c
+1-2offload/test/mapping/map_ordering_tgt_exit_data_from_delete_assumedsize.c
+5-74 files

LLVM/project daf814clibclc/opencl/lib/generic/atomic atomic_fetch_sub.cl atomic_fetch_add.cl

[libclc] Fix atomic_fetch_add/sub overloads for uintptr_t (#192570)

The overloads taking the memory order and/or scope parameters should
have the `_explicit` suffix, according to the OpenCL C specification.
DeltaFile
+11-13libclc/opencl/lib/generic/atomic/atomic_fetch_sub.cl
+11-13libclc/opencl/lib/generic/atomic/atomic_fetch_add.cl
+22-262 files

LLVM/project d9075b7llvm/lib/CAS MappedFileRegionArena.cpp

address review feedback

Created using spr 1.3.7
DeltaFile
+3-3llvm/lib/CAS/MappedFileRegionArena.cpp
+3-31 files