LLVM/project 1e9e389llvm/lib/Target/AArch64 AArch64ISelLowering.cpp

[AArch64] Add a performBICiCombine function.

This moves the code out of PerformDAGCombine directly, changing the return
to return SDValue(N, 0) to match other uses of SimplifyDemandedBits.
DeltaFile
+15-12llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+15-121 files

LLVM/project 6ff3df8libcxx/include unordered_set, libcxx/test/libcxx/diagnostics unordered_set.nodiscard.verify.cpp

[libc++][unordered_set] Applied `[[nodiscard]]` (#170435)

[[nodiscard]] should be applied to functions where discarding the return
value is most likely a correctness issue.

- https://libcxx.llvm.org/CodingGuidelines.html
- https://wg21.link/unord.set
DeltaFile
+89-12libcxx/test/libcxx/diagnostics/unordered_set.nodiscard.verify.cpp
+47-37libcxx/include/unordered_set
+136-492 files

LLVM/project e22ff9blibcxx/include unordered_set, libcxx/test/libcxx/diagnostics unordered_multiset.nodiscard.verify.cpp

[libc++][unordered_multiset] Applied `[[nodiscard]]` (#171664)

`[[nodiscard]]` should be applied to functions where discarding the
return value is most likely a correctness issue.

- https://libcxx.llvm.org/CodingGuidelines.htm
- https://wg21.link/unord.multiset
DeltaFile
+103-0libcxx/test/libcxx/diagnostics/unordered_multiset.nodiscard.verify.cpp
+47-37libcxx/include/unordered_set
+150-372 files

LLVM/project a5b7c42libcxx/include unordered_map, libcxx/test/libcxx/diagnostics unordered_multimap.nodiscard.verify.cpp

[libc++][unordered_multimap] Applied `[[nodiscard]]` (#171659)

`[[nodiscard]]` should be applied to functions where discarding the
return value is most likely a correctness issue.

- https://libcxx.llvm.org/CodingGuidelines.htm
- https://wg21.link/unord.multimap
DeltaFile
+101-0libcxx/test/libcxx/diagnostics/unordered_multimap.nodiscard.verify.cpp
+49-37libcxx/include/unordered_map
+150-372 files

HardenedBSD/src 57e7bcasys/dev/rge if_rge_microcode.h if_rge.c

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+13,401-0sys/dev/rge/if_rge_microcode.h
+2,683-0sys/dev/rge/if_rge.c
+1,935-0sys/dev/rge/if_rge_hw.c
+387-0sys/dev/rge/if_rgereg.h
+269-0sys/dev/rge/if_rgevar.h
+238-0sys/dev/rge/if_rge_sysctl.c
+18,913-011 files not shown
+19,407-017 files

HardenedBSD/src 7df2b10sys/dev/rge if_rge_microcode.h if_rge.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+13,401-0sys/dev/rge/if_rge_microcode.h
+2,683-0sys/dev/rge/if_rge.c
+1,935-0sys/dev/rge/if_rge_hw.c
+387-0sys/dev/rge/if_rgereg.h
+269-0sys/dev/rge/if_rgevar.h
+238-0sys/dev/rge/if_rge_sysctl.c
+18,913-011 files not shown
+19,407-017 files

HardenedBSD/ports 8c0f07adevel/py-ty distinfo, games/retroarch/files patch-fix-ffmpeg8 patch-audio_drivers_pipewire.c

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+0-97games/retroarch/files/patch-fix-ffmpeg8
+11-11devel/py-ty/distinfo
+0-20games/retroarch/files/patch-audio_drivers_pipewire.c
+7-7security/git-credential-gopass/distinfo
+11-0games/retroarch/files/patch-audio_drivers_alsathread.c
+11-0games/retroarch/files/patch-audio_drivers_alsa.c
+40-13520 files not shown
+98-18326 files

FreeBSD/ports 457c58cgraphics/nvidia-drm-latest-kmod distinfo Makefile

graphics/nvidia-drm-latest-kmod: Refresh distinfo

This was missed in the update of drm-latest-kmod

Fixes:          bd06ee8f20bd ("graphics/drm-latest-kmod: Fix build on -CURRENT")
Sponsored by:   Beckhoff Automation GmbH & Co. KG
DeltaFile
+3-3graphics/nvidia-drm-latest-kmod/distinfo
+1-1graphics/nvidia-drm-latest-kmod/Makefile
+4-42 files

HardenedBSD/ports 457c58cgraphics/nvidia-drm-latest-kmod distinfo Makefile

graphics/nvidia-drm-latest-kmod: Refresh distinfo

This was missed in the update of drm-latest-kmod

Fixes:          bd06ee8f20bd ("graphics/drm-latest-kmod: Fix build on -CURRENT")
Sponsored by:   Beckhoff Automation GmbH & Co. KG
DeltaFile
+3-3graphics/nvidia-drm-latest-kmod/distinfo
+1-1graphics/nvidia-drm-latest-kmod/Makefile
+4-42 files

OpenBSD/ports 0sCPhz7benchmarks/qmlbench Makefile distinfo, benchmarks/qmlbench/pkg PLIST

   Update qmlbench to 0.20252805
VersionDeltaFile
1.2+17-0benchmarks/qmlbench/pkg/PLIST
1.4+5-3benchmarks/qmlbench/Makefile
1.2+2-2benchmarks/qmlbench/distinfo
+24-53 files

LLVM/project ffaa6f2llvm/lib/Target/RISCV RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV sadd_sat.ll ssub_sat.ll

[RISCV] Custom legalize i32 saddo/ssubo on RV64 to return a sign extended value for the data result. (#172112)

This is consistent with how we handle regular ADD/SUB and helps with
computeNumSignBits optimizations.

Fixes #172089
DeltaFile
+29-22llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+6-7llvm/test/CodeGen/RISCV/sadd_sat.ll
+5-6llvm/test/CodeGen/RISCV/ssub_sat.ll
+5-5llvm/test/CodeGen/RISCV/ssub_sat_plus.ll
+5-5llvm/test/CodeGen/RISCV/sadd_sat_plus.ll
+50-455 files

LLVM/project 7fa062aclang/lib/AST ItaniumMangle.cpp, clang/test/CodeGenCXX riscv-mangle-rvv-fixed-vectors.cpp

[RISCV] Add BFloat16 to mangleRISCVFixedRVVVectorType. (#172095)

DeltaFile
+54-0clang/test/CodeGenCXX/riscv-mangle-rvv-fixed-vectors.cpp
+3-0clang/lib/AST/ItaniumMangle.cpp
+57-02 files

LLVM/project c878cf4llvm/include/llvm/CodeGen ISDOpcodes.h

[SelectionDAG] Consistently use doxygen comments in the NodeType enum. NFC (#172178)

DeltaFile
+63-63llvm/include/llvm/CodeGen/ISDOpcodes.h
+63-631 files

LLVM/project 61908c5orc-rt/include/orc-rt RTTI.h

[orc-rt] Prevent RTTIExtends from being used for errors. (#172250)

Custom error types (ErrorInfoBase subclasses) should use ErrorExtends as
of 8f51da369e6. Adding a static_assert allows us to enforce that at
compile-time.
DeltaFile
+8-0orc-rt/include/orc-rt/RTTI.h
+8-01 files

LLVM/project 4cf98d1llvm/docs MemProf.rst

Fix indentation.
DeltaFile
+4-4llvm/docs/MemProf.rst
+4-41 files

LLVM/project 5a581acclang/include/clang/CIR/Dialect/IR CIROps.td, clang/test/CIR/CodeGen switch.cpp

[CIR] Rename allEnumCasesCovered to all_enum_cases_covered (#172153)

Use the convetional snake_case for MLIR assembly and align with
operation documentation that already mentions snake_cased attribute.
DeltaFile
+2-2clang/include/clang/CIR/Dialect/IR/CIROps.td
+2-2clang/test/CIR/IR/switch.cir
+1-1clang/test/CIR/CodeGen/switch.cpp
+5-53 files

LLVM/project 35315a8offload/plugins-nextgen/cuda/dynamic_cuda cuda.h, offload/plugins-nextgen/cuda/src rtl.cpp

[offload] Fix CUDA args size by subtracting tail padding (#172249)

This commit makes the cuLaunchKernel call to pass the total arguments size without tail padding.
DeltaFile
+31-2offload/plugins-nextgen/cuda/src/rtl.cpp
+14-0offload/unittests/OffloadAPI/kernel/olLaunchKernel.cpp
+3-0offload/unittests/OffloadAPI/device_code/multiargs.cpp
+0-3offload/test/offloading/CUDA/basic_launch_multi_arg.cu
+2-0offload/unittests/OffloadAPI/device_code/CMakeLists.txt
+1-0offload/plugins-nextgen/cuda/dynamic_cuda/cuda.h
+51-51 files not shown
+52-57 files

OpenBSD/src vFvwUvBsys/kern kern_srp.c

   fix srp_follow to close a window on use-after-free

   Use srp_enter() to get a new reference to the next element while
   keeping the current element alive. Afterwards the old reference can
   safely be released and the hazard in the caller provided srp_ref
   struct can be updated to the hazard of the new element.

   This is just in time for almost all the SRP code in the tree to go away.

   from Carsten Beckmann carsten_beckmann at genua.de
   ok jmatthew@
VersionDeltaFile
1.15+9-2sys/kern/kern_srp.c
+9-21 files

LLVM/project 35b2317llvm/lib/Target/AArch64 AArch64ISelLowering.cpp, llvm/test/CodeGen/AArch64 neon-dotreduce.ll aarch64-matmul.ll

[AArch64] Support USDOT in performAddDotCombine (#171864)

This function does
// ADD(UDOT(zero, x, y), A) -->  UDOT(A, x, y)

Which can equally apply to USDOT too now that we have a node for it.
DeltaFile
+44-70llvm/test/CodeGen/AArch64/neon-dotreduce.ll
+38-2llvm/test/CodeGen/AArch64/aarch64-matmul.ll
+2-1llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+84-733 files

NetBSD/pkgsrc-wip 17bfb41cppsimpleuri Makefile distinfo

cppsimpleuri: 2.2.1 initial revision, URI parser for C++
DeltaFile
+29-0cppsimpleuri/Makefile
+5-0cppsimpleuri/distinfo
+5-0cppsimpleuri/PLIST
+5-0cppsimpleuri/DESCR
+4-0cppsimpleuri/COMMIT_MSG
+48-05 files

LLVM/project ff5209amlir/lib/Dialect/XeGPU/Transforms XeGPUSubgroupDistribute.cpp

only distribute function op
DeltaFile
+9-57mlir/lib/Dialect/XeGPU/Transforms/XeGPUSubgroupDistribute.cpp
+9-571 files

LLVM/project 1d821b0llvm/lib/Target/AArch64 AArch64TargetTransformInfo.cpp, llvm/test/Analysis/CostModel/AArch64 shuffle-transpose.ll

[AArch64] use `isTRNMask` to calculate shuffle costs (#171524)

This builds on #169858 to fix the divergence in codegen
(https://godbolt.org/z/a9az3h6oq) between two very similar
functions initially observed in #137447 (represented in the diff by test
cases `@transpose_splat_constants` and `@transpose_constants_splat`:
```
int8x16_t f(int8_t x)
{
  return (int8x16_t) { x, 0, x, 1, x, 2, x, 3,
                       x, 4, x, 5, x, 6, x, 7 };
}

int8x16_t g(int8_t x)
{
  return (int8x16_t) { 0, x, 1, x, 2, x, 3, x,
                       4, x, 5, x, 6, x, 7, x };
}
```

    [7 lines not shown]
DeltaFile
+252-0llvm/test/Analysis/CostModel/AArch64/shuffle-transpose.ll
+47-0llvm/test/Transforms/SLPVectorizer/AArch64/transpose-with-constants.ll
+5-6llvm/test/Transforms/SLPVectorizer/AArch64/extractelements-to-shuffle.ll
+6-1llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
+310-74 files

LLVM/project 8f51da3orc-rt/include/orc-rt Error.h, orc-rt/lib/executor Error.cpp CMakeLists.txt

[orc-rt] Add Error / Exception interop. (#172247)

The ORC runtime needs to work in diverse codebases, both with and
without C++ exceptions enabled (e.g. most LLVM projects compile with
exceptions turned off, but regular C++ codebases will typically have
them turned on). This introduces a tension in the ORC runtime: If a C++
exception is thrown (e.g. by a client-supplied callback) it can't be
ignored, but orc_rt::Error values will assert if not handled prior to
destruction. That makes the following pattern fundamentally unsafe in
the ORC runtime:

```
if (auto Err = orc_rt_operation(...)) {
  log("failure, bailing out"); // <- may throw if exceptions enabled
  // Exception unwinds stack before Error is handled, triggers Error-not-checked
  // assertion here.
  return Err;
}
```

    [29 lines not shown]
DeltaFile
+213-0orc-rt/unittests/ErrorExceptionInteropTest.cpp
+190-20orc-rt/include/orc-rt/Error.h
+48-0orc-rt/lib/executor/Error.cpp
+5-5orc-rt/unittests/ErrorTest.cpp
+1-0orc-rt/lib/executor/CMakeLists.txt
+1-0orc-rt/unittests/CMakeLists.txt
+458-256 files

LLVM/project c24f66eclang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/zvfbfa/non-policy/overloaded vfneg.c vfabs.c, clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/zvfbfa/policy/non-overloaded vfneg.c vfabs.c

[llvm][RISCV] Add bf16 vfabs and vfneg intrinsics for zvfbfa. (#172130)

These are pseudoinstruction aliases for vfsgnjx and vfsgnjn.

Co-authored-by: Craig Topper <craig.topper at sifive.com>
DeltaFile
+249-0clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/zvfbfa/policy/overloaded/vfneg.c
+249-0clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/zvfbfa/policy/overloaded/vfabs.c
+249-0clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/zvfbfa/policy/non-overloaded/vfneg.c
+249-0clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/zvfbfa/policy/non-overloaded/vfabs.c
+129-0clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/zvfbfa/non-policy/overloaded/vfneg.c
+129-0clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/zvfbfa/non-policy/overloaded/vfabs.c
+1,254-03 files not shown
+1,516-09 files

NetBSD/pkgsrc aC9Za67mk/compiler gfortran.mk

   gfortran.mk: Express more confidence.

   Darwin/aarch64 is a relatively new platform, it's only supported if someone
   backports it. This was done in pkgsrc as far back as gcc12, and it's unlikely
   someone will do it for older versions.
VersionDeltaFile
1.29+5-5mk/compiler/gfortran.mk
+5-51 files

NetBSD/pkgsrc DlRkDUKlang/gcc12 distinfo Makefile.common

   gcc12: update darwin/aarch64 patch for 12.5.0

   This is my own work of forward porting the gcc 12.4.0 patch used by
   homebrew. For future reference it seems like github.com/iains might be
   the originator, but they haven't updated their gcc-12 branch yet.
VersionDeltaFile
1.14+4-4lang/gcc12/distinfo
1.14+4-3lang/gcc12/Makefile.common
+8-72 files

FreeBSD/ports 289b910x11/xterm distinfo Makefile

x11/xterm: Update to 405
DeltaFile
+3-3x11/xterm/distinfo
+1-1x11/xterm/Makefile
+4-42 files

HardenedBSD/ports 289b910x11/xterm distinfo Makefile

x11/xterm: Update to 405
DeltaFile
+3-3x11/xterm/distinfo
+1-1x11/xterm/Makefile
+4-42 files

FreeBSD/ports 24cee0fsecurity/git-credential-gopass distinfo Makefile

security/git-credential-gopass: Update to 1.16.1
DeltaFile
+7-7security/git-credential-gopass/distinfo
+1-2security/git-credential-gopass/Makefile
+8-92 files

HardenedBSD/ports 24cee0fsecurity/git-credential-gopass distinfo Makefile

security/git-credential-gopass: Update to 1.16.1
DeltaFile
+7-7security/git-credential-gopass/distinfo
+1-2security/git-credential-gopass/Makefile
+8-92 files