LLVM/project bfe6668llvm/lib/Transforms/Vectorize VPlanValue.h

[VPlan] Strip VPWidenSelectSC from VPRecipeTy (NFC) (#176722)

WidenSelect has been removed in 16830b2 ([VPlan] Remove
VPWidenSelectRecipe, use VPWidenRecipe instead, #174234).
DeltaFile
+0-1llvm/lib/Transforms/Vectorize/VPlanValue.h
+0-11 files

LLVM/project 4b8ff4cmlir/include/mlir/Dialect/Math/IR MathOps.td, mlir/lib/Dialect/Math/Transforms ExpandOps.cpp

[mlir][math] Fix the semantics of math.clampf (#175012)

The `math.clampf` op is semantically incorrect when compared to both the
CUDA reference implementation and the SPIRV spec, both of which have a
clamp op.
- Fix the definition of `math.clampf` to agree with CUDA and SPIRV
- Explicitly state when `math.clampf` produces `ub.poison`
- Update the ExpandOps pass to reflect the corrected semantics
DeltaFile
+4-4mlir/test/Dialect/Math/expand-math.mlir
+2-2mlir/lib/Dialect/Math/Transforms/ExpandOps.cpp
+2-1mlir/include/mlir/Dialect/Math/IR/MathOps.td
+8-73 files

LLVM/project e992ed0clang/lib/Analysis/LifetimeSafety FactsGenerator.cpp, clang/test/Sema warn-lifetime-safety.cpp warn-lifetime-analysis-nocfg.cpp

track use of dangling references
DeltaFile
+23-0clang/test/Sema/warn-lifetime-safety.cpp
+13-5clang/test/Sema/warn-lifetime-analysis-nocfg.cpp
+4-3clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp
+2-1clang/test/Sema/Inputs/lifetime-analysis.h
+42-94 files

OPNSense/core e7419b9. LICENSE, src/etc/inc/plugins.inc.d dpinger.inc

LICENSE: change email as requested

PR: https://github.com/opnsense/core/commit/e55c25bc10#commitcomment-175033961
DeltaFile
+1-1LICENSE
+1-1src/etc/inc/plugins.inc.d/dpinger.inc
+1-1src/opnsense/scripts/interfaces/rtsold_script.sh
+3-33 files

LLVM/project e43331flldb/include/lldb/Target StackFrameList.h, lldb/packages/Python/lldbsuite/test decorators.py

[lldb] add a marker before hidden frames (#167550)

**This patch adds a marker to make hidden frames more explicit.**

---

Hidden frames can be confusing for some users, who see that the indexes
of the frames in a backtrace are not contiguous. This patch aims to
lessen the confusion by adding a delimiter for the first and last non
hidden frame, i.e the boundaries.

IDE's like Xcode and VSCode represent those in the UI by having the
hidden frames either greyed out or collapsed.

It's not possible to do this in the CLI, therefore, this patch makes use
of 2 unicode characters to mark the beginning and end of the hidden
frames range.

This patch depends on:

    [19 lines not shown]
DeltaFile
+97-0lldb/test/API/terminal/hidden_frame_markers/TestHiddenFrameMarkers.py
+39-15lldb/source/Target/StackFrameList.cpp
+29-0lldb/packages/Python/lldbsuite/test/decorators.py
+15-8lldb/source/Target/Thread.cpp
+18-1lldb/include/lldb/Target/StackFrameList.h
+12-0lldb/test/API/terminal/hidden_frame_markers/main.cpp
+210-246 files not shown
+231-2812 files

FreeBSD/ports 24d7a42games/multimc/files patch-libraries_javacheck_CMakeLists.txt patch-libraries_launcher_CMakeLists.txt

games/multimc: allow build with any jdk

PR:     292205
Approved-by:    maintainer timeout
DeltaFile
+11-0games/multimc/files/patch-libraries_javacheck_CMakeLists.txt
+11-0games/multimc/files/patch-libraries_launcher_CMakeLists.txt
+22-02 files

LLVM/project 98572c5llvm/lib/Transforms/Utils SCCPSolver.cpp, llvm/test/Transforms/SCCP get_vector_length-intrinsic.ll

[SCCP] Correct range calculation for get.vector.length to use getUnsignedMax instead of getUpper. (#176493)

getUpper returns 1 more than the maxium value included in the range.
This may be 0. We should not use this in a umin. Instead we should
get the maximum value included in the range and use that for the umin.
Then convert that to Upper for the new range by adding 1.

The test was manually reduced from a downstream failure, but I couldn't
get it behave exactly the same way without more instructions. It should
be enough to show an incorrect range being calculated.

Fixes #176471

(cherry picked from commit e8a0b40d6c4c36329fb4ff66a0aa5fee40a3d4df)
DeltaFile
+40-1llvm/test/Transforms/SCCP/get_vector_length-intrinsic.ll
+3-2llvm/lib/Transforms/Utils/SCCPSolver.cpp
+43-32 files

LLVM/project 69dbc88.github/workflows release-binaries.yml

workflows/release-binaries: Fix attestation artifact name (#176417)

We were contructing the attestation artifact name using the arch and the
OS of the current runner instead of using the runner that the builds
were done on. This led to a conflict in artifact names between all the
release binary jobs.

(cherry picked from commit 38be580aeef2fe3adf50b24854f39dad4a45c283)
DeltaFile
+3-1.github/workflows/release-binaries.yml
+3-11 files

LLVM/project d2c5892llvm/include/llvm/Support KnownBits.h, llvm/lib/CodeGen/SelectionDAG SelectionDAG.cpp

[SelectionDAG] Add TRUNCATE_SSAT_S/U and TRUNCATE_USAT_U to canCreateUndefOrPoison and computeKnownBits (#152143) (#168809)

1. Implement `SelectionDAG::computeKnownBits` for TRUNCATE_SSAT_S/U and
TRUNCATE_USAT_U
2. Saturating truncation operations are well-defined for all inputs and
cannot create poison or undef values. This allows the optimizer to
eliminate unnecessary freeze instructions after these operations.

Fixes #152143
DeltaFile
+128-0llvm/test/CodeGen/AArch64/sat-trunc-knownbits.ll
+121-0llvm/lib/Support/KnownBits.cpp
+67-2llvm/unittests/Support/KnownBitsTest.cpp
+18-0llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+10-0llvm/include/llvm/Support/KnownBits.h
+344-25 files

FreeBSD/ports a651722devel/tcl-thread Makefile pkg-plist, devel/tcl8-thread Makefile pkg-plist

devel/tcl-thread: unifiy tcl8-thread and tcl9-thread

Version 3.0.4 of the Thread extension supports both Tcl8 and Tcl9. Get rid of the version-specific ports.
DeltaFile
+54-0devel/tcl-thread/Makefile
+0-54devel/tcl9-thread/Makefile
+0-49devel/tcl8-thread/Makefile
+0-7devel/tcl8-thread/pkg-plist
+6-0devel/tcl-thread/pkg-plist
+0-6devel/tcl9-thread/pkg-plist
+60-1168 files not shown
+69-13014 files

LLVM/project ac2ed11.github/workflows/upload-release-artifact action.yml

workflows/upload-release-artifact: Fix spelling error in yaml tag (#176447)

(cherry picked from commit 048589eb92d0a2a5c20fef7ff9adc210c4160025)
DeltaFile
+1-1.github/workflows/upload-release-artifact/action.yml
+1-11 files

LLVM/project e576978.github/workflows release-binaries.yml

workflows/release-binaries: Pass user-token to upload-release-artifact (#176410)

This is necessary in order to be ablet to upload the artifact and was
omitted from a8ccd42ab23af6848929a638cd6b099953c7e491.

(cherry picked from commit 0ece3574d28d36ef1ed8d2344538ed782bd6111c)
DeltaFile
+1-0.github/workflows/release-binaries.yml
+1-01 files

LLVM/project 8e018fdllvm/docs AMDGPUUsage.rst

Fix RST Build Error
DeltaFile
+1-1llvm/docs/AMDGPUUsage.rst
+1-11 files

LLVM/project d511c65clang/lib/Driver/ToolChains Clang.cpp, clang/test/Driver cuda-arch-list.cu

Make sure that driver-provided __CUDA_ARCH_LIST__ can be overridden by user-supplied arguments. (#176301)

(cherry picked from commit 8dd848e7ae8774c64368934e2a821a2a7adc823c)
DeltaFile
+14-0clang/test/Driver/cuda-arch-list.cu
+4-4clang/lib/Driver/ToolChains/Clang.cpp
+18-42 files

LLVM/project 9f19d18llvm/lib/Frontend/OpenMP OMPIRBuilder.cpp, mlir/lib/Target/LLVMIR/Dialect/OpenMP OpenMPToLLVMIRTranslation.cpp

[OpenMP] Fix truncation/extension bug when calling __kmpc_push_num_teams (#173067)

This PR fixes a bug when the lower and upper bound for the number of
teams was not an `int32`, but a different type. In this case, an
internal compiler would trigger due to a mismatching call to
`__kmpc_push_num_teams`.
DeltaFile
+353-0mlir/test/Target/LLVMIR/openmp-teams-clauses-trunc-ext.mlir
+12-1llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+9-4mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+374-53 files

FreeBSD/ports 507fdc1math/dionysus Makefile distinfo

math/dionysus: update g20210521 → 2.1.8

Reported by:    portscout
DeltaFile
+3-4math/dionysus/Makefile
+3-3math/dionysus/distinfo
+3-0math/dionysus/pkg-plist
+9-73 files

FreeBSD/ports fe58a94sysutils/goawk distinfo Makefile

sysutils/goawk: update 1.30.1 → 1.31.0

Reported by:    portscout
DeltaFile
+3-3sysutils/goawk/distinfo
+1-2sysutils/goawk/Makefile
+4-52 files

FreeBSD/ports 8a8a7dbftp/unftp distinfo Makefile

ftp/unftp: update 0.15.1 → 0.15.2

Reported by:    portscout
DeltaFile
+523-485ftp/unftp/distinfo
+261-243ftp/unftp/Makefile
+784-7282 files

FreeBSD/ports 75d313asysutils/mcfly distinfo Makefile

sysutils/mcfly: update 0.9.3 → 0.9.4

Reported by:    portscout
DeltaFile
+207-209sysutils/mcfly/distinfo
+103-105sysutils/mcfly/Makefile
+310-3142 files

LLVM/project e697dballvm/lib/Target/AArch64/GISel AArch64InstructionSelector.cpp

Fix a warning triggered by #152260 [-Wunused-variable]
DeltaFile
+2-2llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
+2-21 files

LLVM/project c95bb1dllvm/lib/Target/AMDGPU SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU llvm.sin.f16.ll llvm.cos.f16.ll

[AMDGPU] Enable ISD::{FSIN,FCOS} custom lowering to work on v2f16

Currently ISD::FSIN and ISD::FCOS of type MVT::v2f16 are legalized by
first expanding and then using a custom lowering on the resulting f16
instructions. This ordering prevents using packed math variants of the
instructions introduced by the legalization (e.g. the multiplication),
if available, and makes it difficult to eliminate the packing of the
results by using SDWA form; previous attempts to deal with the latter
situation in the si-peephole-sdwa pass were unwieldly since it was
necessary to reconstruct the association between the source and target
vectors.

Change the legalization action for ISD::FSIN and ISD::FCOS of type
MTF::v2f16 to Custom and change the custom intrinsic lowering to deal
with the v2f16 for the intrinsics introduced in this way.
DeltaFile
+27-38llvm/test/CodeGen/AMDGPU/llvm.sin.f16.ll
+27-38llvm/test/CodeGen/AMDGPU/llvm.cos.f16.ll
+18-3llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+72-793 files

LLVM/project b85ef5cllvm/lib/Transforms/InstCombine InstCombineShifts.cpp, llvm/test/Transforms/InstCombine redundant-left-shift-input-masking-no-widen.ll

[InstCombine] Fix crash on large integers in visitShl

Do not call getExtendedType without first checking if the type can be extended.

Solves SWDEV-547672
DeltaFile
+15-0llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-no-widen.ll
+4-0llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
+19-02 files

LLVM/project 3d90b7aclang/include/clang/Analysis/Analyses UnsafeBufferUsage.h, clang/include/clang/Basic DiagnosticSemaKinds.td DiagnosticGroups.td

[-Wunsafe-buffer-usage] Separate flag for format-attributed functions (#175749)

PR #173096 extended -Wunsafe-buffer-usage-in-libc-call to apply to all
functions with the 'format' attribute.

This change moves those warnings behind a separate
-Wunsafe-buffer-usage-in-format-attr-call flag (implicitly enabled by
-Wunsafe-buffer-usage), allowing projects to decide whether they want to
opt in to this or not.
DeltaFile
+17-15clang/test/SemaCXX/warn-unsafe-buffer-usage-libc-functions.cpp
+9-3clang/lib/Analysis/UnsafeBufferUsage.cpp
+9-1clang/lib/Sema/AnalysisBasedWarnings.cpp
+4-0clang/include/clang/Basic/DiagnosticSemaKinds.td
+2-1clang/include/clang/Analysis/Analyses/UnsafeBufferUsage.h
+2-1clang/include/clang/Basic/DiagnosticGroups.td
+43-216 files

LLVM/project 7c0c960clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/zvfofp8min/policy/non-overloaded vfncvtbf16.c, clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/zvfofp8min/policy/overloaded vfncvtbf16.c

Merge branch 'users/chapuni/mcdc/nest/bitmapaddr' into users/chapuni/mcdc/nest/covmapdesc
DeltaFile
+3,137-2,053mlir/utils/vscode/package-lock.json
+2,505-1,743llvm/test/CodeGen/X86/clmul-vector.ll
+2,042-1,933llvm/test/CodeGen/X86/clmul.ll
+0-2,478clang/test/CodeGen/RISCV/rvv-intrinsics-sifive/policy/non-overloaded/vfncvtbf16.c
+2,478-0clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/zvfofp8min/policy/non-overloaded/vfncvtbf16.c
+2,394-0clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/zvfofp8min/policy/overloaded/vfncvtbf16.c
+12,556-8,2071,465 files not shown
+80,246-44,7991,471 files

LLVM/project 0ea70beclang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/zvfofp8min/policy/non-overloaded vfncvtbf16.c, clang/test/CodeGen/RISCV/rvv-intrinsics-sifive/policy/non-overloaded vfncvtbf16.c

Merge branch 'main' into users/chapuni/mcdc/nest/bitmapaddr
DeltaFile
+3,137-2,053mlir/utils/vscode/package-lock.json
+2,505-1,743llvm/test/CodeGen/X86/clmul-vector.ll
+2,042-1,933llvm/test/CodeGen/X86/clmul.ll
+0-2,478clang/test/CodeGen/RISCV/rvv-intrinsics-sifive/policy/non-overloaded/vfncvtbf16.c
+2,478-0clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/zvfofp8min/policy/non-overloaded/vfncvtbf16.c
+0-2,394clang/test/CodeGen/RISCV/rvv-intrinsics-sifive/policy/overloaded/vfncvtbf16.c
+10,162-10,6011,469 files not shown
+80,268-44,8141,475 files

LLVM/project 0e304e6llvm/include/llvm/CodeGen/GlobalISel LegalizerHelper.h, llvm/lib/CodeGen/GlobalISel LegalizerHelper.cpp

GlobalISel: Use LibcallLoweringInfo more in LegalizerHelper (#176411)

Avoid using TargetLowering for libcall information.
DeltaFile
+25-16llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
+1-0llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
+26-162 files

LLVM/project 58027ecclang/test/Tooling clang-extdef-mapping.cpp clang-extdef-mapping-no-args.cpp, clang/tools/clang-extdef-mapping ClangExtDefMapGen.cpp

[clang] Fix options handling in ClangExtDefMapGen.cpp (#176116)

Also, remove some unused includes.

Fixes https://github.com/llvm/llvm-project/issues/176118

Now, running `clang-extdef-mapping` with no options results in the
following error message:

```sh
error: clang-extdef-mapping: Not enough positional command line arguments specified!
Must specify at least 1 positional argument: See: ./build/Debug/bin/clang-extdef-mapping --help
```

(cherry picked from commit 0a26d907ceec0a64596d334848fa7ec8b163a59e)
DeltaFile
+3-4clang/tools/clang-extdef-mapping/ClangExtDefMapGen.cpp
+4-0clang/test/Tooling/clang-extdef-mapping.cpp
+3-0clang/test/Tooling/clang-extdef-mapping-no-args.cpp
+10-43 files

FreeBSD/ports 5528b8fwww/chromium/files patch-third__party_libaom_source_config_linux_arm64-cpu-detect_config_av1__rtcd.h patch-third__party_libunwind_src_src_Registers.hpp, www/iridium/files patch-third__party_libaom_source_config_linux_arm64-cpu-detect_config_av1__rtcd.h patch-third__party_libunwind_src_src_Registers.hpp

www/{*chromium,iridium}: unbreak on arm64
DeltaFile
+33-0www/iridium/files/patch-third__party_libaom_source_config_linux_arm64-cpu-detect_config_av1__rtcd.h
+33-0www/ungoogled-chromium/files/patch-third__party_libaom_source_config_linux_arm64-cpu-detect_config_av1__rtcd.h
+33-0www/chromium/files/patch-third__party_libaom_source_config_linux_arm64-cpu-detect_config_av1__rtcd.h
+11-0www/iridium/files/patch-third__party_libunwind_src_src_Registers.hpp
+11-0www/ungoogled-chromium/files/patch-third__party_libunwind_src_src_Registers.hpp
+11-0www/chromium/files/patch-third__party_libunwind_src_src_Registers.hpp
+132-06 files

DragonFlyBSD/src bd3a3dfshare/man/man9 idr.9

idr.9: Explain the NULL return for idr_find()

Referred to Linux documentation:
https://www.kernel.org/doc/html/v4.20/core-api/idr.html#c.idr_find
DeltaFile
+7-0share/man/man9/idr.9
+7-01 files

DragonFlyBSD/src c733890share/man/man9 idr.9

idr.9: Reorder the idr_alloc() description to read more logical

Move the idr_alloc() description to between idr_destroy() and idr_find()
so the whole description reads more logic.

Noted-by: mneumann
DeltaFile
+13-13share/man/man9/idr.9
+13-131 files