LLVM/project bbe3d64mlir/include/mlir/Dialect/LLVMIR ROCDLOps.td, mlir/lib/Conversion/GPUToROCDL LowerGpuOpsToROCDLOps.cpp

[mlir][ROCDL] Annotate lane ID functions with noundef, ranges (#151396)

Now that we have general support for setting argument and result
attributes on LLVM intrinsics, extend the definitions of mbcnt.lo and
mbcnt.hi to carry such attributes. With that, update the construction of
the mbcnt.lo/mbcnt.hi calls used to get the lane ID to be `noundef`
(since the lane ID is always defined) and to be annotated with the
correct ranges (so that generic LLVM passes can correctly optimized
based on the fact that there are never more than 32/64 lanes).

(Also, handle a pattern that wasn't using getLaneId() and get rid of a
dead argument)
DeltaFile
+28-18mlir/lib/Conversion/GPUToROCDL/LowerGpuOpsToROCDLOps.cpp
+15-9mlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td
+4-4mlir/test/Target/LLVMIR/rocdl.mlir
+3-3mlir/test/Conversion/GPUToROCDL/gpu-to-rocdl.mlir
+50-344 files

LLVM/project bcb48aalldb/source/Plugins/Platform/Android AdbClient.cpp AdbClient.h, lldb/unittests/Platform/Android PlatformAndroidTest.cpp AdbClientTest.cpp

[lldb] refactor PlatformAndroid and make threadsafe (#145382)

## Problem

When the new setting

```
set target.parallel-module-load true
```
was added, lldb began fetching modules from the devices from multiple
threads simultaneously. This caused crashes of lldb when debugging on
android devices.

The top of the stack in the crash look something like this:
```
#0 0x0000555aaf2b27fe llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/opt/llvm/bin/lldb-dap+0xb87fe)
 #1 0x0000555aaf2b0a99 llvm::sys::RunSignalHandlers() (/opt/llvm/bin/lldb-dap+0xb6a99)
 #2 0x0000555aaf2b2fda SignalHandler(int, siginfo_t*, void*) (/opt/llvm/bin/lldb-dap+0xb8fda)
 #3 0x00007f9c02444560 __restore_rt /home/engshare/third-party2/glibc/2.34/src/glibc-2.34/signal/../sysdeps/unix/sysv/linux/libc_sigaction.c:13:0

    [30 lines not shown]
DeltaFile
+277-261lldb/source/Plugins/Platform/Android/AdbClient.cpp
+211-144lldb/unittests/Platform/Android/PlatformAndroidTest.cpp
+106-18lldb/unittests/Platform/Android/AdbClientTest.cpp
+44-70lldb/source/Plugins/Platform/Android/AdbClient.h
+35-35lldb/source/Plugins/Platform/Android/PlatformAndroid.cpp
+6-5lldb/source/Plugins/Platform/Android/PlatformAndroidRemoteGDBServer.cpp
+679-5331 files not shown
+685-5387 files

FreeBSD/src c989e3cusr.sbin/certctl certctl.c Makefile

certctl: Fix bootstrap build

Fixes:          81d8827ad875 ("certctl: Reimplement in C")
DeltaFile
+6-1usr.sbin/certctl/certctl.c
+4-0usr.sbin/certctl/Makefile
+10-12 files

FreeBSD/src 2f8bbfeusr.sbin/certctl certctl.c certctl.8

Revert "certctl: Fix bootstrap build"

This reverts commit 42ac41983ee184e818f6e8da791a5c6c7530f87e.
DeltaFile
+28-66usr.sbin/certctl/certctl.c
+1-6usr.sbin/certctl/certctl.8
+1-5usr.sbin/certctl/Makefile
+30-773 files

FreeBSD/src 42ac419usr.sbin/certctl certctl.c certctl.8

certctl: Fix bootstrap build

Fixes:          81d8827ad875 ("certctl: Reimplement in C")
DeltaFile
+66-28usr.sbin/certctl/certctl.c
+6-1usr.sbin/certctl/certctl.8
+5-1usr.sbin/certctl/Makefile
+77-303 files

LLVM/project d93cc44clang/lib/Frontend CompilerInvocation.cpp, clang/test/Driver aarch64-ptrauth-pedantic-errors.c

[clang][PAC] Disallow -pedantic-errors in conjunction with pointer authentication

The __has_extension query for the __ptrauth qualifier returns false
when -pedantic-errors is specified by the developer, which results
in ABI mismatches and potentially ODR violations as well.

The only way to resolve this is to to make it an error to attempt to
use the -pedantic-errors option when targeting a platform where
pointer authentication is present. This may cause compilation issues
for some projects but is better than bad codegen.
DeltaFile
+38-20clang/lib/Frontend/CompilerInvocation.cpp
+33-0clang/test/Driver/aarch64-ptrauth-pedantic-errors.c
+71-202 files

FreeBSD/src 81d8827. Makefile.inc1, usr.sbin/certctl certctl.c certctl.sh

certctl: Reimplement in C

Notable changes include:

* We no longer forget manually untrusted certificates when rehashing.

* Rehash will now scan the existing directory and progressively replace
  its contents with those of the new trust store.  The trust store as a
  whole is not replaced atomically, but each file within it is.

* We no longer attempt to link to the original files, but we don't copy
  them either.  Instead, we write each certificate out in its minimal
  form.

* We now generate a trust bundle in addition to the hashed diretory.
  This also contains only the minimal DER form of each certificate.

* The C version is approximately two orders of magnitude faster than the
  sh version, with rehash taking ~100 ms vs ~5-25 s depending on whether

    [9 lines not shown]
DeltaFile
+1,060-0usr.sbin/certctl/certctl.c
+0-366usr.sbin/certctl/certctl.sh
+221-0usr.sbin/certctl/tests/certctl_test.sh
+57-37usr.sbin/certctl/certctl.8
+44-0usr.sbin/certctl/tests/certctl.subr
+11-10Makefile.inc1
+1,393-4132 files not shown
+1,404-4148 files

LLVM/project 8d0668cflang/module cudadevice.f90, flang/test/Lower/CUDA cuda-device-proc.cuf

[flang][cuda] Add bind name for __ll2double_rX interfaces (#153462)

DeltaFile
+7-7flang/module/cudadevice.f90
+8-0flang/test/Lower/CUDA/cuda-device-proc.cuf
+15-72 files

LLVM/project 4935f07clang/lib/Frontend CompilerInvocation.cpp, clang/test/Driver aarch64-ptrauth-pedantic-errors.c

[clang][PAC] Disallow -pedantic-errors in conjunction with pointer authentication

The __has_extension query for the __ptrauth qualifier returns false
when -pedantic-errors is specified by the developer, which results
in ABI mismatches and potentially ODR violations as well.

The only way to resolve this is to to make it an error to attempt to
use the -pedantic-errors option when targeting a platform where
pointer authentication is present. This may cause compilation issues
for some projects but is better than bad codegen.
DeltaFile
+32-15clang/lib/Frontend/CompilerInvocation.cpp
+26-0clang/test/Driver/aarch64-ptrauth-pedantic-errors.c
+58-152 files

LLVM/project e69b1acclang/lib/Frontend CompilerInvocation.cpp, clang/test/Driver aarch64-ptrauth-pedantic-errors.c

[clang][PAC] Disallow -pedantic-errors in conjunction with pointer authentication

The __has_extension query for the __ptrauth qualifier returns false
when -pedantic-errors is specified by the developer, which results
in ABI mismatches and potentially ODR violations as well.

The only way to resolve this is to to make it an error to attempt to
use the -pedantic-errors option when targeting a platform where
pointer authentication is present. This may cause compilation issues
for some projects but is better than bad codegen.
DeltaFile
+25-11clang/lib/Frontend/CompilerInvocation.cpp
+26-0clang/test/Driver/aarch64-ptrauth-pedantic-errors.c
+51-112 files

LLVM/project f9b9e9bflang/lib/Lower CUDA.cpp

[flang][cuda] Fix buildbot failure after #153242 (#153500)

DeltaFile
+1-0flang/lib/Lower/CUDA.cpp
+1-01 files

OpenZFS/src 28433c4module/zcommon simd_stat.c

simd_stat: expose availability of VAES and VPCLMULQDQ

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Joel Low <joel at joelsplace.sg>
Reviewed-by: Tony Hutter <hutter2 at llnl.gov>
Reviewed-by: Attila Fülöp <attila at fueloep.org>
Signed-off-by: Rob Norris <robn at despairlabs.com>
Closes #17058
DeltaFile
+4-0module/zcommon/simd_stat.c
+4-01 files

OpenZFS/src 930f9cctests/zfs-tests/cmd crypto_test.c

crypto_test: include AVX2 GCM implementation in tests

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Joel Low <joel at joelsplace.sg>
Reviewed-by: Tony Hutter <hutter2 at llnl.gov>
Reviewed-by: Attila Fülöp <attila at fueloep.org>
Signed-off-by: Rob Norris <robn at despairlabs.com>
Closes #17058
DeltaFile
+2-0tests/zfs-tests/cmd/crypto_test.c
+2-01 files

OpenZFS/src bb9225econfig toolchain-simd.m4, contrib/icp/gcm-simd/boringssl aes-gcm-avx2-x86_64-linux.S LICENSE

Backport AVX2 AES-GCM implementation from BoringSSL

This uses the AVX2 versions of the AESENC and PCLMULQDQ instructions; on
Zen 3 this provides an up to 80% performance improvement.

Original source:
https://github.com/google/boringssl/blob/d5440dd2c2c500ac2d3bba4afec47a054b4d99ae/gen/bcm/aes-gcm-avx2-x86_64-linux.S

See the original BoringSSL commit at
https://github.com/google/boringssl/commit/3b6e1be4391d96e81cee022f77f7bab85d51cf4e.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Rob Norris <robn at despairlabs.com>
Reviewed-by: Tony Hutter <hutter2 at llnl.gov>
Reviewed-by: Attila Fülöp <attila at fueloep.org>
Signed-off-by: Joel Low <joel at joelsplace.sg>
Closes #17058
DeltaFile
+1,328-0contrib/icp/gcm-simd/boringssl/aes-gcm-avx2-x86_64-linux.S
+1,323-0module/icp/asm-x86_64/modes/aesni-gcm-avx2-vaes.S
+293-78module/icp/algs/modes/gcm.c
+253-0module/icp/asm-x86_64/modes/THIRDPARTYLICENSE.boringssl
+253-0contrib/icp/gcm-simd/boringssl/LICENSE
+44-0config/toolchain-simd.m4
+3,494-789 files not shown
+3,574-8215 files

LLVM/project cfd422fclang/test/Driver linker-wrapper-libs.c, clang/tools/clang-linker-wrapper ClangLinkerWrapper.cpp

rebase to main

Created using spr 1.3.6
DeltaFile
+418-0mlir/lib/Target/LLVM/XeVM/Target.cpp
+255-41flang/lib/Semantics/check-omp-atomic.cpp
+25-195clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
+0-191clang/test/Driver/linker-wrapper-libs.c
+125-55llvm/test/CodeGen/ARM/vtrn.ll
+75-75flang/test/Semantics/OpenMP/combined-constructs.f90
+898-557148 files not shown
+3,702-1,333154 files

LLVM/project 7d015abclang/test/Driver linker-wrapper-libs.c, clang/tools/clang-linker-wrapper ClangLinkerWrapper.cpp

rebase to main

Created using spr 1.3.6
DeltaFile
+418-0mlir/lib/Target/LLVM/XeVM/Target.cpp
+255-41flang/lib/Semantics/check-omp-atomic.cpp
+25-195clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
+0-191clang/test/Driver/linker-wrapper-libs.c
+125-55llvm/test/CodeGen/ARM/vtrn.ll
+75-75flang/test/Semantics/OpenMP/combined-constructs.f90
+898-557107 files not shown
+3,017-1,285113 files

LLVM/project cc58ca5flang CMakeLists.txt, flang-rt/test lit.cfg.py

[flang/flang-rt] Add -isysroot flag only to tests really requiring (#152914)

-isysroot flag was added to all tests, but it makes
Driver/darwin-version.f90 failed.

In fact, only a few tests regarding interoperability with C need
-isysroot flag to search for headers and libraries. So, -isysroot flag
is now eliminated from the substitution `%flang`, and a new substitution
`%isysroot` has been introduced.

Moreover, Integration/iso-fortran-binding.cpp invokes clang++ via a
shell script, which makes it hard to add -isysroot flag. So, it is
refactored.

Fixes #150765
DeltaFile
+4-20flang/test/Integration/iso-fortran-binding.cpp
+7-2flang/test/lit.cfg.py
+3-4flang-rt/test/lit.cfg.py
+3-2flang/CMakeLists.txt
+2-2flang-rt/test/Driver/ctofortran.f90
+2-0flang/test/lit.site.cfg.py.in
+21-301 files not shown
+22-317 files

LLVM/project 0425cc9flang/module cudadevice.f90, flang/test/Lower/CUDA cuda-device-proc.cuf

[flang][cuda] Add bind name for __ull2double_rX interfaces (#153465)

DeltaFile
+7-7flang/module/cudadevice.f90
+8-0flang/test/Lower/CUDA/cuda-device-proc.cuf
+15-72 files

LLVM/project 022bd53flang-rt/lib/runtime assign.cpp

[flang][runtime][NFC] Add a comment to intrinsic assignment (#153260)

Add a comment explaining why intrinsic derived type assignment
unconditionally deallocates all allocated allocatable subobject
components of the left-hand side variable, so that I won't forget the
reasoning here the next time this comes into question.
DeltaFile
+3-0flang-rt/lib/runtime/assign.cpp
+3-01 files

OpenBSD/ports zEr6D0Swww/gitea distinfo Makefile, www/gitea/pkg PLIST

   Update gitea 1.24.4 - > 1.24.5
   Changelog: https://github.com/go-gitea/gitea/releases/tag/v1.24.5
VersionDeltaFile
1.111+2-2www/gitea/distinfo
1.130+1-1www/gitea/Makefile
1.59+1-1www/gitea/pkg/PLIST
+4-43 files

OpenBSD/ports KDp0ivVsysutils/ansible distinfo Makefile, sysutils/ansible/patches patch-ansible_collections_community_general_plugins_filter_json_query_py patch-ansible_collections_community_general_tests_integration_targets_filter_json_query_tasks_main_yml

   Update ansible 11.8.0 -> 11.9.0
   Changelog: https://github.com/ansible-community/ansible-build-data/blob/11.9.0/11/CHANGELOG-v11.md#v11-9-0
VersionDeltaFile
1.94+261-8sysutils/ansible/pkg/PLIST
1.153+2-2sysutils/ansible/distinfo
1.209+1-2sysutils/ansible/Makefile
1.2+0-0sysutils/ansible/patches/patch-ansible_collections_community_general_plugins_filter_json_query_py
1.2+0-0sysutils/ansible/patches/patch-ansible_collections_community_general_tests_integration_targets_filter_json_query_tasks_main_yml
+264-125 files

LLVM/project 925db84flang-rt/include/flang-rt/runtime io-stmt.h, flang-rt/lib/runtime namelist.cpp edit-input.cpp

[flang][runtime] Handle NAN(...) in namelist input (#153101)

The various per-type functions for list-directed (including namelist)
input editing all call a common function to detect whether the next
token of input is the name of a namelist item. This check simply
determines whether this next token looks like an identifier followed by
'=', '(', or '%', and this fails when the next item of input is a NAN
with parenthesized stuff afterwards. Make the check smarter so that it
ensures that any upcoming possible identifier is actually the name of an
item in the namelist group. (And that's tricky too when the group has an
array item named "nan" and the upcoming input is "nan("; see the
newly-added unit test case.)

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

more
DeltaFile
+57-32flang-rt/lib/runtime/namelist.cpp
+31-0flang-rt/unittests/Runtime/Namelist.cpp
+7-4flang-rt/include/flang-rt/runtime/io-stmt.h
+1-1flang-rt/lib/runtime/edit-input.cpp
+1-1flang-rt/lib/runtime/io-stmt.cpp
+97-385 files

LLVM/project 08eff57llvm/include/llvm/ADT APInt.h, llvm/lib/Support APInt.cpp

[ADT] Add signed and unsigned mulExtended to APInt (#153399)

Adds `mulsExtended` and `muluExtended` methods to `APInt`, as suggested
in #153293.
These are based on the `MULDQ` and `MULUDQ` x86 intrinsics.
DeltaFile
+47-0llvm/unittests/ADT/APIntTest.cpp
+16-0llvm/lib/Support/APInt.cpp
+6-0llvm/include/llvm/ADT/APInt.h
+69-03 files

LLVM/project 7a13a75flang/docs Extensions.md

[flang][NFC] Document ALLOCATE/DEALLOCATE error semantics (#153027)

This compiler stops an ALLOCATE/DEALLOCATE statement with multiple
variables after encountering a recoverable error to avoid the risk of
ambiguity in the case of multiple errors. Document.
DeltaFile
+10-0flang/docs/Extensions.md
+10-01 files

LLVM/project 442ae60flang/lib/Evaluate check-expression.cpp, flang/lib/Semantics expression.cpp

[flang] Warn about inexact real literal implicit widening pitfall (#152799)

When a REAL or COMPLEX literal appears without an explicit kind suffix
or a kind-determining exponent letter, and the conversion of that
literal from decimal to binary is inexact, emit a warning if that
constant is later implicitly widened to a more precise kind, since it
will have a different value than was probably intended.

Values that convert exactly from decimal to default real, e.g. 1.0 and
0.125, do not elicit this warning.

There are many contexts in which Fortran implicitly converts constants.
This patch covers name constant values, variable and component
initialization, constants in expressions, structure constructor
components, and array constructors.

For example, "real(8) :: tenth = 0.1" is a common Fortran bug that's
hard to find, and is one that often trips up even experienced Fortran
programmers. Unlike C and C++, the literal constant 0.1 is *not* double

    [2 lines not shown]
DeltaFile
+75-75flang/test/Semantics/OpenMP/combined-constructs.f90
+51-51flang/test/Semantics/OpenACC/acc-kernels-loop.f90
+84-0flang/lib/Evaluate/check-expression.cpp
+31-31flang/test/Semantics/OpenACC/acc-loop.f90
+30-30flang/test/Semantics/OpenMP/device-constructs.f90
+34-20flang/lib/Semantics/expression.cpp
+305-20724 files not shown
+505-29030 files

OpenBSD/ports aqpyySodevel/pre-commit distinfo Makefile

   Update pre-commit 4.2.0 -> 4.3.0
   Changelogs: https://github.com/pre-commit/pre-commit/releases/tag/v4.3.0
VersionDeltaFile
1.17+2-2devel/pre-commit/distinfo
1.22+1-2devel/pre-commit/Makefile
+3-42 files

OpenBSD/ports z2Wrz97devel/py-identify distinfo Makefile

   Update py-identify 2.6.12 -> 2.6.13
VersionDeltaFile
1.22+2-2devel/py-identify/distinfo
1.25+1-1devel/py-identify/Makefile
+3-32 files

LLVM/project c5105c1llvm/lib/CodeGen/GlobalISel LegalizerHelper.cpp, llvm/test/CodeGen/AArch64 bitcast.ll

[GlobalISel] Fix bitcast fewerElements with scalar narrow types. (#153364)

For a <8 x i32> -> <2 x i128> bitcast, that under aarch64 is split into
two halfs, the scalar i128 remainder was causing problems, causing a
crash with invalid vector types. This makes sure they are handled
correctly in fewerElementsBitcast.
DeltaFile
+25-0llvm/test/CodeGen/AArch64/bitcast.ll
+12-5llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
+37-52 files

LLVM/project f5ec2b8llvm/test/CodeGen/ARM vector-lrint.ll vector-llrint.ll, llvm/test/CodeGen/PowerPC vector-lrint.ll

Merge branch 'main' into resource-array-subscript-one-elem-codegen
DeltaFile
+3,265-0llvm/test/CodeGen/ARM/vector-lrint.ll
+2,394-0llvm/test/CodeGen/ARM/vector-llrint.ll
+1,761-461llvm/test/MC/AArch64/armv8.9a-debug-pmu.s
+1,228-542llvm/test/CodeGen/PowerPC/vector-lrint.ll
+1,701-13llvm/test/CodeGen/X86/vector-lrint.ll
+1,509-0llvm/test/Transforms/VectorCombine/X86/narrow-phi-of-shuffles.ll
+11,858-1,0161,529 files not shown
+69,286-19,8001,535 files

LLVM/project 36c2a66lldb/test/API/python_api/find_in_memory address_ranges_helper.py

[lldb][test] Make TestFindRangesInMemory.py more robust (#152817)

`GetHeapRanges()` could return two overlapping ranges because it did not
check whether `heap_pointer1` lies within the range returned for
`heap_pointer2`. This could result in a test failure in
`test_find_ranges_in_memory_two_matches` when
`process.FindRangesInMemory()` returned 3 instead of 2.

The patch ensures that `GetHeapRanges()` returns either two
non-overlapping ranges or one range covering both heap pointers.

The issue was probably introduced in #111951
DeltaFile
+20-13lldb/test/API/python_api/find_in_memory/address_ranges_helper.py
+20-131 files