LLVM/project aec0ee3clang/test/Driver invalid-target-id.cl openmp-invalid-target-id.c

clang/AMDGPU: Add missing driver tests for invalid target names

Make sure -march and -mcpu both error for nonoffload and for
-Xopenmp-target arguments. Defends against regression I almost
introduced.
DeltaFile
+6-0clang/test/Driver/openmp-invalid-target-id.c
+4-0clang/test/Driver/invalid-target-id.cl
+10-02 files

LLVM/project dce4a36.github/workflows release-tasks.yml

workflows/release-tasks: Fix permissions for release-documentation (#212310)

(cherry picked from commit b9a7aad4a9d50b9ec60b59d197be43a973a0572c)
DeltaFile
+4-0.github/workflows/release-tasks.yml
+4-01 files

FreeBSD/src 6afb2b8tests/sys/kern Makefile exterr_test.c

tests/exterr_test: use ATF_REQUIRE_FEATURE to check exterr_strings

This keeps the skipped test message consistent with others.

Reviewed by:    netchild
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation

(cherry picked from commit 3e946566c134e039f9c777eaa1232a32e383692c)
DeltaFile
+3-2tests/sys/kern/exterr_test.c
+2-0tests/sys/kern/Makefile
+5-22 files

FreeBSD/src 81011catests/sys/kern exterr_test.c

exterror tests: harden the checks

Skip the message-content check on kernels that do not advertise the
exterr_strings feature, and pin the output format by clearing
EXTERROR_VERBOSE.

Reviewed by:            kib
MFC after:              1 week
Assisted-by:            Claude Code (Fable 5)
Differential Revision:  https://reviews.freebsd.org/D58322

(cherry picked from commit 1092aba1260ce5efb0d718352aa22158605c7506)
DeltaFile
+23-1tests/sys/kern/exterr_test.c
+23-11 files

FreeBSD/src c724b26share/man/man9 exterror.9, sys/kern sys_generic.c

exterror: advertise error strings via kern.features.exterr_strings

Allow userland, in particular test cases for EXTERROR conversions,
to detect at run time whether extended errors include the
descriptive message strings, which depends on the EXTERR_STRINGS
kernel option and cannot be probed in any other way.

Reviewed by:            kib
MFC after:              1 week
Assisted-by:            Claude Code (Fable 5)
Differential Revision:  https://reviews.freebsd.org/D58321

(cherry picked from commit c8db6d4b63f18c81557628ad0d3f715bea46cc99)
DeltaFile
+12-1share/man/man9/exterror.9
+4-0sys/kern/sys_generic.c
+16-12 files

FreeBSD/ports b1afee9sysutils/amazon-ssm-plugin Makefile distinfo

sysutils/amazon-ssm-plugin: Update to 1.2.835.0

ChangeLog:      https://github.com/aws/session-manager-plugin/releases/tag/1.2.835.0
Approved by:    hrs (mentor, blanket)
DeltaFile
+3-3sysutils/amazon-ssm-plugin/distinfo
+2-2sysutils/amazon-ssm-plugin/Makefile
+5-52 files

FreeBSD/src 24983c4bin/sleep sleep.1

sleep: Fix man page about IGINFO output

Reviewed by:    des
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D58483
DeltaFile
+2-2bin/sleep/sleep.1
+2-21 files

LLVM/project 27530c4clang/test/OffloadTools/clang-offload-bundler basic.c

test
DeltaFile
+11-0clang/test/OffloadTools/clang-offload-bundler/basic.c
+11-01 files

LLVM/project 8cf0057clang/lib/Basic/Targets AMDGPU.cpp, clang/lib/Driver OffloadBundler.cpp

Fixes and merge
DeltaFile
+8-4clang/lib/Basic/Targets/AMDGPU.cpp
+4-3clang/lib/Driver/OffloadBundler.cpp
+12-72 files

LLVM/project 74aae4ellvm/lib/Transforms/Vectorize VPlanUtils.cpp

[VPlan] Eta-reduce fn in pullOutPermutations (NFC) (#212439)

fun x => f x can be eta-reduced to just f.
DeltaFile
+1-2llvm/lib/Transforms/Vectorize/VPlanUtils.cpp
+1-21 files

LLVM/project 46c4de8clang/lib/Driver/ToolChains Linux.cpp, clang/test/Driver aarch64-ptrauth.c

[PAC][clang] Enable `-fptrauth-elf-got` as part of pauthtest
DeltaFile
+3-3clang/test/Driver/aarch64-ptrauth.c
+4-0clang/lib/Driver/ToolChains/Linux.cpp
+7-32 files

LLVM/project 38550ffcompiler-rt/lib/sanitizer_common/tests sanitizer_procmaps_test.cpp

[sanitizer_common][tests] Skip MemoryMapping::ParseUnixMemoryProfile … (#212114)

…etc. on NetBSD

The `Sanitizer-x86_64-Test` test doesn't link on NetBSD/amd64 10.1:

```
/usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x25
SANITIZER_TEST_OBJECTS.sanitizer_procmaps_test.cpp.x86_64.o: in function `__sanitizer::MemoryMapping_ParseUnixMemoryProfile_Test::TestBody()':
sanitizer_procmaps_test.cpp:(.text._ZN11__sanitizer41MemoryMapping_ParseUnixMemoryProfile_Test8TestBodyEv+0x52): undefined reference to `__sanitizer::ParseUnixMemoryProfile(void (*)(unsigned long, unsigned long, bool, unsigned long*), unsigned long*, char*, unsigned long)'
/usr/bin/ld: SANITIZER_TEST_OBJECTS.sanitizer_procmaps_test.cpp.x86_64.o: in function `__sanitizer::MemoryMapping_ParseUnixMemoryProfileTruncated_Test::TestBody()':
sanitizer_procmaps_test.cpp:(.text._ZN11__sanitizer50MemoryMapping_ParseUnixMemoryProfileTruncated_Test8TestBodyEv+0x17a): undefined reference to `__sanitizer::ParseUnixMemoryProfile(void (*)(unsigned long, unsigned long, bool, unsigned long*), unsigned long*, char*, unsigned long)'

```

Fixed by skipping the affected subtest.

Tested on `amd64-pc-netbsd10.1` and `x86_64-pc-linux-gnu`.

(cherry picked from commit 0cc7159125eacd3abdff94eb7e634c1a8f889d1e)
DeltaFile
+3-0compiler-rt/lib/sanitizer_common/tests/sanitizer_procmaps_test.cpp
+3-01 files

LLVM/project 214f296clang/test/Driver aarch64-ptrauth.c

[PAC][clang][test] Fix incorrect usage of `-NOT` suffix for FileCheck

Previously, `-NOT` checks were not doing what was intended: checking
that given strings are not present within the same line where other
patterns are confirmed present by other checks. `-NOT` semantics is
checking pattern absense in between other checks, not total absense.

This patch makes use of `--implicit-check-not` instead for this purpose.
DeltaFile
+11-12clang/test/Driver/aarch64-ptrauth.c
+11-121 files

LLVM/project 8eddfe6llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/AArch64 buildvector-used-by-insertvalue.ll

[SLP] Only consider BuildVector inserts into the same object. (#212269)

When following insertelement instruction for a BuildVector sequence, we
may discover a user that inserts into a different vector.

Bail out when that happens instead of crashing.

PR: https://github.com/llvm/llvm-project/pull/212269
(cherry picked from commit 07aa3b710f2622f662cab7a53ddf1288c725a9be)
DeltaFile
+59-0llvm/test/Transforms/SLPVectorizer/AArch64/buildvector-used-by-insertvalue.ll
+3-1llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+62-12 files

LLVM/project b626ec0mlir/include/mlir/Dialect/Tosa/IR TosaComplianceData.h.inc, mlir/test/Dialect/Tosa invalid_extension.mlir ops.mlir

[mlir][tosa] Add FP8 and MXFP support to RESIZE (#212276)

- Added FP8 and all six MXFP extension/type combinations
- Updated RESIZE availability and enforced NEAREST_NEIGHBOR for MXFP
- Added positive, negative, version, extension, mixed-type, and verifier
tests.

Signed-off-by: Peng Sun <peng.sun at arm.com>
DeltaFile
+34-0mlir/test/Dialect/Tosa/tosa-validation-version-1p1-valid.mlir
+29-1mlir/include/mlir/Dialect/Tosa/IR/TosaComplianceData.h.inc
+22-0mlir/test/Dialect/Tosa/tosa-validation-version-1p0-invalid.mlir
+22-0mlir/test/Dialect/Tosa/invalid.mlir
+21-0mlir/test/Dialect/Tosa/ops.mlir
+20-0mlir/test/Dialect/Tosa/invalid_extension.mlir
+148-14 files not shown
+171-310 files

LLVM/project 9ed0d62.github/workflows release-binaries.yml

workflows/release-binaries: Add missing action to checkout (#211720)

The upload-release-artifact action uses the require-team-membership
action so we need to make sure that latter is checkout out when calling
upload-release-artifact.

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

FreeBSD/src 823e3bbusr.bin/xinstall xinstall.c

install: Code cleanup

This is mainy focused on using bool for booleans but also renames some
variables for clarity, adds some explicit comparisons, adds some braces,
with miscellanous style fixes thrown in.

MFC after:      1 week
Reviewed by:    imp
Differential Revision:  https://reviews.freebsd.org/D58355

(cherry picked from commit 134ddd372f8213885dd828ab38cec2384fd451db)
DeltaFile
+106-104usr.bin/xinstall/xinstall.c
+106-1041 files

FreeBSD/src 8ba2237usr.bin/xinstall xinstall.c

install: Fix typo

MFC after:      1 week
Reported by:    markj
Fixes:          d34870708db9 ("install: Allow installing stdin")

(cherry picked from commit 0eef3d01c22a5e00cd2cf10c34871eddbfd22aa0)
DeltaFile
+1-1usr.bin/xinstall/xinstall.c
+1-11 files

FreeBSD/src eaf2b73usr.bin/xinstall install.1 xinstall.c, usr.bin/xinstall/tests install_test.sh

install: Allow installing stdin

If from_name is "/dev/stdin" or "-" and the target is not a directory,
skip the comparison and copy data from standard input to the target.

MFC after:      1 week
Reviewed by:    imp
Differential Revision:  https://reviews.freebsd.org/D58348

(cherry picked from commit d34870708db9fa1eb8e29b5e085b755de1189b1f)
DeltaFile
+35-17usr.bin/xinstall/xinstall.c
+32-0usr.bin/xinstall/tests/install_test.sh
+6-1usr.bin/xinstall/install.1
+73-183 files

FreeBSD/src c8a0269usr.bin/xinstall xinstall.c

install: Code cleanup

This is mainy focused on using bool for booleans but also renames some
variables for clarity, adds some explicit comparisons, adds some braces,
with miscellanous style fixes thrown in.

MFC after:      1 week
Reviewed by:    imp
Differential Revision:  https://reviews.freebsd.org/D58355

(cherry picked from commit 134ddd372f8213885dd828ab38cec2384fd451db)
DeltaFile
+106-104usr.bin/xinstall/xinstall.c
+106-1041 files

FreeBSD/src 993df54usr.bin/xinstall install.1 xinstall.c, usr.bin/xinstall/tests install_test.sh

install: Allow installing stdin

If from_name is "/dev/stdin" or "-" and the target is not a directory,
skip the comparison and copy data from standard input to the target.

MFC after:      1 week
Reviewed by:    imp
Differential Revision:  https://reviews.freebsd.org/D58348

(cherry picked from commit d34870708db9fa1eb8e29b5e085b755de1189b1f)
DeltaFile
+35-17usr.bin/xinstall/xinstall.c
+32-0usr.bin/xinstall/tests/install_test.sh
+6-1usr.bin/xinstall/install.1
+73-183 files

FreeBSD/src 91110e5usr.bin/xinstall xinstall.c

install: Fix typo

MFC after:      1 week
Reported by:    markj
Fixes:          d34870708db9 ("install: Allow installing stdin")

(cherry picked from commit 0eef3d01c22a5e00cd2cf10c34871eddbfd22aa0)
DeltaFile
+1-1usr.bin/xinstall/xinstall.c
+1-11 files

FreeBSD/src a1a98ddusr.bin/xinstall install.1

install.1: Convert link flags to a table

The five link flags get lost in prose.

Reviewed by:    ziaee
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57418

(cherry picked from commit 248dd56d2dea03e4723e8225b890d02fcc10973f)
DeltaFile
+13-10usr.bin/xinstall/install.1
+13-101 files

FreeBSD/src 48e85d9usr.bin/xinstall install.1

install.1: Document options incompatible with -s

Reported by:    des
Reviewed by:    ziaee
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57409

(cherry picked from commit b49021b49a78ca6a9e3a1a59c5aa6f2fec503afb)
DeltaFile
+5-1usr.bin/xinstall/install.1
+5-11 files

FreeBSD/src 23f153ausr.bin/xinstall/tests install_test.sh

xinstall: Add test for -d -s not allowed together

Reviewed by:    des
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57403

(cherry picked from commit 4908bea5b7f5de70032e201e718958ef40bc3b03)
DeltaFile
+7-0usr.bin/xinstall/tests/install_test.sh
+7-01 files

FreeBSD/src 44eb447usr.bin/xinstall xinstall.c, usr.bin/xinstall/tests install_test.sh

xinstall: Do not allow -l and -s together

Cannot strip the target if creating a link.

Reviewed by:    des
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57398

(cherry picked from commit 521afce6a859c1d7ac9674e8f21ff45418becaf5)
DeltaFile
+6-0usr.bin/xinstall/xinstall.c
+3-0usr.bin/xinstall/tests/install_test.sh
+9-02 files

FreeBSD/src 81004eeusr.bin/xinstall Makefile install.1

install: drop obsolete file size limit for -C

Removes the file size limit for -C comparisons. The limit was
meant to prevent oversized mmap allocations, which is no longer
relevant as mmap is no longer used here (removed by
a0439a1b820fa0e742c00d095f5f5c06f5f19432, review D44809).
Credit to bdrewery.
See: https://reviews.freebsd.org/D57230

Reviewed by:    bdrewery, glebius, ziaee
Approved by:    glebius (mentor)
Obtained from:  Fudo Security
MFC after:      2 weeks
Sponsored by:   Fudo Security
Differential Revision:  https://reviews.freebsd.org/D57503

(cherry picked from commit 9d10b4d2c9e86d8f6ff1b654f468381a4a4cad6d)
DeltaFile
+45-60usr.bin/xinstall/xinstall.c
+2-11usr.bin/xinstall/install.1
+1-1usr.bin/xinstall/Makefile
+48-723 files

FreeBSD/src ce59deausr.bin/xinstall xinstall.c

install: Bump compare size limit (128MB) to support large binaries

Preserve metadata and prevent redundant disk writes during builds with
the install's -C (compare) flag.

The previous historical comparison limit of 16MB is insufficient for
modern toolchains, frequently choked or bypassed by a large base
components like LLVM/Clang, kernels, Rust apps, and large runtime
libraries.

By leaving matching files alone, install keeps their modification timestamps
intact. make(1) safely ignores those files on subsequent runs.

Base examples: 15.0 amd64 GENERIC kernel - 28MB, clang - 105MB, lldb - 97MB, etc.

Reviewed by:    glebius
Approved by:    glebius (mentor)
Obtained from:  Fudo Security
MFC after:      2 weeks

    [4 lines not shown]
DeltaFile
+1-1usr.bin/xinstall/xinstall.c
+1-11 files

FreeBSD/src 25e6632usr.bin/xinstall Makefile install.1

install: add -z <max_cmp_size> option

Introduces the -z <max_cmp_size> flag, enabling users to set a custom file
size limit for pre-installation change checks and avoiding future hard-coded
limit modifications.

Reviewed by:    glebius
Approved by:    glebius (mentor)
Obtained from:  Fudo Security
MFC after:      2 weeks
Sponsored by:   Fudo Security
Differential Revision:  https://reviews.freebsd.org/D57230

(cherry picked from commit 97cad013a50a4012328e11424ed2350c1efc036c)
DeltaFile
+14-4usr.bin/xinstall/xinstall.c
+11-2usr.bin/xinstall/install.1
+1-1usr.bin/xinstall/Makefile
+26-73 files

FreeBSD/src baf4c59usr.bin/xinstall Makefile install.1

install: drop obsolete file size limit for -C

Removes the file size limit for -C comparisons. The limit was
meant to prevent oversized mmap allocations, which is no longer
relevant as mmap is no longer used here (removed by
a0439a1b820fa0e742c00d095f5f5c06f5f19432, review D44809).
Credit to bdrewery.
See: https://reviews.freebsd.org/D57230

Reviewed by:    bdrewery, glebius, ziaee
Approved by:    glebius (mentor)
Obtained from:  Fudo Security
MFC after:      2 weeks
Sponsored by:   Fudo Security
Differential Revision:  https://reviews.freebsd.org/D57503

(cherry picked from commit 9d10b4d2c9e86d8f6ff1b654f468381a4a4cad6d)
DeltaFile
+45-60usr.bin/xinstall/xinstall.c
+2-11usr.bin/xinstall/install.1
+1-1usr.bin/xinstall/Makefile
+48-723 files