LLVM/project 14f097elibc/src/pwd CMakeLists.txt getpwuid.cpp, libc/test/src/pwd CMakeLists.txt getpwuid_test.cpp

[libc] Add getpwnam and getpwuid entrypoints (#221169)

Added non-reentrant getpwnam and getpwuid functions using the shared
process-global buffer.

* Implemented getpwnam and getpwuid entrypoints
* Added non-reentrant find_by_name and find_by_uid lookups
* Added function specifications to include/pwd.yaml
* Registered entrypoints in config/linux/*/entrypoints.txt
* Added unit tests in libc/test/src/pwd/getpwnam_test.cpp and
libc/test/src/pwd/getpwuid_test.cpp

Assisted-by: Automated tooling, human reviewed.
DeltaFile
+118-0libc/test/src/pwd/getpwnam_test.cpp
+117-0libc/test/src/pwd/getpwuid_test.cpp
+46-0libc/test/src/pwd/CMakeLists.txt
+34-0libc/src/pwd/getpwnam.cpp
+32-0libc/src/pwd/getpwuid.cpp
+30-0libc/src/pwd/CMakeLists.txt
+377-010 files not shown
+482-016 files

FreeNAS/freenas d5f3939src/middlewared/middlewared/api/v27_0_0 interface.py

Drop `extra = "allow"` from interfaces schema
DeltaFile
+56-37src/middlewared/middlewared/api/v27_0_0/interface.py
+56-371 files

LLVM/project ca7890eclang/include/clang/AST NestedNameSpecifier.h NestedNameSpecifierBase.h, clang/lib/AST ASTImporter.cpp

[clang] remove unused NestedNameSpecifier 'Invalid' constructor (#221128)

These invalid NNS were used as thombstone keys for DenseMap, but the
DenseMap implementation changed and that's not needed anymore.
DeltaFile
+22-16clang/lib/AST/ASTImporter.cpp
+2-6clang/include/clang/AST/NestedNameSpecifierBase.h
+0-2clang/include/clang/AST/NestedNameSpecifier.h
+24-243 files

LLVM/project 9024ba7llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/AArch64 splat-gather-subtree-store-chain.ll

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+7-12llvm/test/Transforms/SLPVectorizer/AArch64/splat-gather-subtree-store-chain.ll
+12-1llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+19-132 files

LLVM/project 117e53cllvm/lib/Target/X86 X86InstrInfo.cpp, llvm/test/CodeGen/X86 cmp.ll optimize-compare.mir

[X86] Remove TEST after SHL by 1..3 when the shifted operand dies (#220744)

optimizeCompareInstr refuses to reuse the flags of a SHL by 1..3 so that
TwoAddressInstructionPass may still convert the shift into an LEA, which
sets no flags. That conversion exists to avoid a register copy, so it
can only pay off while the shifted operand has further uses; when the
shift is the operand's sole user, the reservation costs a TEST (2-3
bytes and a uop) for nothing. Allow the conversion in that case, as
already done for SHR, SAR, and larger SHL counts.

An x86lint audit of Firefox's libxul.so counted 4,369 redundant TESTs
after immediate shifts, dominated by single-use left shifts by a small
count feeding a compare against zero, e.g. Rust's Layout size checks
(shl $1; test; je). This also composes with dda2c12275e5: 63-bit lowmask
compares shrunken to SHL by 2 now drop their TEST as well.
DeltaFile
+202-0llvm/test/CodeGen/X86/peephole-test-after-shl.ll
+48-0llvm/test/CodeGen/X86/optimize-compare.mir
+9-2llvm/lib/Target/X86/X86InstrInfo.cpp
+2-4llvm/test/CodeGen/X86/cmp.ll
+261-64 files

LLVM/project 54f7d98libc/include netdb.yaml, libc/src/netdb CMakeLists.txt gai_strerror.h

[libc][netdb] Implement gai_strerror POSIX function. (#221138)

`gai_strerror` is defined in POSIX and used to provide human-readable
strings for `EAI_*` error codes returned by
`getaddrinfo` and `getnameinfo`.

Provide our implementation via simple switch. Provide string values
based on the POSIX documentation for `EAI_`
values in
https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/netdb.h.html,
but shorten them for brevity.
DeltaFile
+48-0libc/src/netdb/gai_strerror.cpp
+43-0libc/test/src/netdb/gai_strerror_test.cpp
+25-0libc/src/netdb/gai_strerror.h
+12-0libc/src/netdb/CMakeLists.txt
+11-0libc/test/src/netdb/CMakeLists.txt
+6-0libc/include/netdb.yaml
+145-02 files not shown
+147-08 files

FreeNAS/freenas ce34e41src/middlewared/middlewared/api/base/handler version.py, src/middlewared/middlewared/pytest/unit/api/handler/version test_adapt_extra_allow.py

Do not `pop` extra fields when adapting a model if new model has `extra="allow"`
DeltaFile
+75-0src/middlewared/middlewared/pytest/unit/api/handler/version/test_adapt_extra_allow.py
+2-1src/middlewared/middlewared/api/base/handler/version.py
+77-12 files

LLVM/project 9853cb5libcxx/include/__algorithm pstl.h, libcxx/include/__pstl/cpu_algos min_element.h

[libc++][pstl] Implementation of parallel std::min_element() based on parallel reduce (#219876)

This PR adds an implementation of parallel `std::min_element()` based on
parallel reduce.
`std::max_element()` is also added, implemented as a "one-liner" over
`min_element`.

The implementation formulates `min_element` as a reduction of iterators
over the input range.
The reduction is provided in two forms: 2-element reduction that picks
the iterator pointing to a smaller value, and a range-based reduction
with init value. The latter delegates the heavy-lifting to the serial
implementation of `std::min_element()`.

Part of #99938.
DeltaFile
+149-0libcxx/test/std/algorithms/alg.sorting/alg.min.max/pstl.max_element_comp.pass.cpp
+149-0libcxx/test/std/algorithms/alg.sorting/alg.min.max/pstl.min_element_comp.pass.cpp
+146-0libcxx/test/std/algorithms/alg.sorting/alg.min.max/pstl.max_element.pass.cpp
+146-0libcxx/test/std/algorithms/alg.sorting/alg.min.max/pstl.min_element.pass.cpp
+88-0libcxx/include/__pstl/cpu_algos/min_element.h
+50-0libcxx/include/__algorithm/pstl.h
+728-010 files not shown
+823-016 files

FreeBSD/ports c001466biology/jellyfish distinfo Makefile

biology/jellyfish: Update to 2.3.1

A few source code improvements
Changes: https://github.com/gmarcais/Jellyfish/releases

Reported by:    Repology
DeltaFile
+5-8biology/jellyfish/Makefile
+3-3biology/jellyfish/distinfo
+8-112 files

NetBSD/pkgsrc-wip 1d8340bspirv-llvm-translator PLIST

spirv-llvm-stranslator: catch up w/ llvm
DeltaFile
+1-1spirv-llvm-translator/PLIST
+1-11 files

NetBSD/pkgsrc-wip cbdb97cclang PLIST

clang: restore PLIST conditionals
DeltaFile
+9-9clang/PLIST
+9-91 files

FreeBSD/ports f33911bdeskutils/mindforger Makefile

deskutils/mindforger: Schedule for removal

Depends on deprecated Qt5 WebEngine

PR:             296230
(cherry picked from commit 60b408b520404132cac3bb60ea26616a06147882)
DeltaFile
+4-1deskutils/mindforger/Makefile
+4-11 files

FreeBSD/ports 723dbbcmisc/qt5-examples Makefile pkg-plist

misc/qt5-examples: Drop deprecated Qt5 WebEngine

PR:             296230
(cherry picked from commit d41a573a92e8a973cfa82bcc10c093860061d358)
DeltaFile
+0-332misc/qt5-examples/pkg-plist
+2-1misc/qt5-examples/Makefile
+2-3332 files

FreeBSD/ports 29f596ax11-toolkits/pythonqt Makefile

x11-toolkits/pythonqt: Schedule for removal

Depends on deprecated Qt5 WebEngine

PR:             296230
(cherry picked from commit 62edba39e51aae1339d7f9b0cdf46285ff98e9a9)
DeltaFile
+4-0x11-toolkits/pythonqt/Makefile
+4-01 files

FreeBSD/ports d15e11fdevel/pyside2-tools Makefile

devel/pyside2-tools: Schedule for removal

PR:             296230
(cherry picked from commit 487a3f3765323300fed63f5ecbd6cd33b80454aa)
DeltaFile
+4-0devel/pyside2-tools/Makefile
+4-01 files

FreeBSD/ports 84b145adevel/eql5 Makefile

devel/eql5: Schedule for removal

Abandoned, depends on deprecated Qt5 WebEngine

PR:             296230
(cherry picked from commit f5f44db19921e4638b9c105b56a4fa981c8b017f)
DeltaFile
+4-0devel/eql5/Makefile
+4-01 files

FreeBSD/ports 7d6ccacx11-toolkits/py-guietta Makefile

x11-toolkits/py-guietta: Schedule for removal

Depends on deprecated PySide2, not ported to Qt6

PR:             296230
(cherry picked from commit 6d52b7bae405f26c759bc468ce0b9cb84e17cd0a)
DeltaFile
+4-1x11-toolkits/py-guietta/Makefile
+4-11 files

FreeBSD/ports cfdd1a6graphics/natron Makefile

graphics/natron: Schedule for removal

Depends on deprecated Qt5 WebEngine, not ported to Qt6

PR:             296230
(cherry picked from commit 8cb08e4dc1fd7821a42c23ace45fa3aa5cab1d1c)
DeltaFile
+4-1graphics/natron/Makefile
+4-11 files

FreeBSD/ports db3a3e1net-im/cutegram Makefile

net-im/cutegram: Schedule for removal

Abandoned, depends on deprecated Qt5 WebEngine

PR:             296230
(cherry picked from commit 5e17e6e02d09554035dcead9f23f3e8d9da2c7d6)
DeltaFile
+4-1net-im/cutegram/Makefile
+4-11 files

FreeBSD/ports c8ad2eftextproc/goldendict Makefile

textproc/goldendict: Schedule for removal

Depends on deprecated Qt5 WebEngine, consider to use textproc/goldendict-ng

PR:             296230
(cherry picked from commit 3b45f9f3ba7052b114891568aeb8308a7770fc55)
DeltaFile
+4-1textproc/goldendict/Makefile
+4-11 files

FreeBSD/ports b589bfdaudio/musescore3 Makefile

audio/musescore3: Schedule for removal

Depends on deprecated Qt5 WebEngine, consider to use audio/musescore

PR:             296230
(cherry picked from commit 133164b3fe084b53861cabf62c881cc6aee10161)
DeltaFile
+4-1audio/musescore3/Makefile
+4-11 files

LLVM/project 71d8985llvm/lib/XRay InstrumentationMap.cpp, llvm/test/tools/llvm-xray/SystemZ extract-instrmap.test

[XRay] Enable XRay for SystemZ (#213577)

Fixes InstrumentationMap parsing for big-endian targets and adds SystemZ
support.
DeltaFile
+253-0llvm/test/tools/llvm-xray/SystemZ/Inputs/elf64-pic.yaml
+27-0llvm/test/tools/llvm-xray/SystemZ/extract-instrmap.test
+4-2llvm/lib/XRay/InstrumentationMap.cpp
+284-23 files

FreeBSD/src c0c7b56sys/dev/ntsync ntsync.c

ntsync(4): do not double-free the alert event when a dup was detected for WAIT_ALL

Reported by:    Andrew Griffiths <andrew at calif.io>
Reported by:    Chris Jarrett-Davies <chrisjd at openai.com>
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+2-0sys/dev/ntsync/ntsync.c
+2-01 files

LLVM/project 63aa7d5llvm/test/Transforms/SLPVectorizer/AArch64 splat-gather-subtree-store-chain.ll

[SLP][NFC]Add a test with missed vectorization due to tree size inflate for splats, NFC



Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/221237
DeltaFile
+63-0llvm/test/Transforms/SLPVectorizer/AArch64/splat-gather-subtree-store-chain.ll
+63-01 files

LLVM/project 4c986c2clang/include/clang/CodeGenUtils CodeGenUtils.h, clang/lib/CIR/CodeGen CIRGenModule.cpp

[NFCI] Extract out some functions into CodeGenUtils. (#221001)

I need to use these for CIR (see #220946). Also, its been a long-time
coming that we had a way to share stuff between both CodeGens.

This patch does (hopefully) the infrastructure work to get this running
right.

I asked Claude to help me with the CMake files, and best I can tell it
looks right? But if someone knows better, please let me know. I suspect
we might need to add dependencies along the way as we add new things,
but this seems to work at the moment?

Otherwise, this just moves a handful of trivial utilities that seemed
like a good starting point, plus one I need for CIR right away.
DeltaFile
+115-0clang/lib/CodeGenUtils/CodeGenUtils.cpp
+5-90clang/lib/CodeGen/CGClass.cpp
+42-0clang/include/clang/CodeGenUtils/CodeGenUtils.h
+2-21clang/lib/CodeGen/CodeGenModule.cpp
+2-19clang/lib/CIR/CodeGen/CIRGenModule.cpp
+6-9clang/lib/CodeGen/CGExpr.cpp
+172-1398 files not shown
+198-16714 files

FreeNAS/freenas adf6df7tests/api2 test_system_general_ui_allowlist.py

Change client IP detection method for `test_system_general_ui_allowlist`
DeltaFile
+3-5tests/api2/test_system_general_ui_allowlist.py
+3-51 files

FreeBSD/ports 56549eemisc/py-progressbar2 Makefile

misc/py-progressbar2: Allow flavors to be co-installed

(cherry picked from commit d00e6c310176db281f9b1d5f674f53e440d82042)
DeltaFile
+2-1misc/py-progressbar2/Makefile
+2-11 files

FreeBSD/ports d6786f8graphics/vulkan-caps-viewer Makefile distinfo

graphics/vulkan-caps-viewer: Update to 4.13

Release notes:
 https://github.com/SaschaWillems/VulkanCapsViewer/releases/tag/4.13

(cherry picked from commit fb5ba4c816182cd8394b5bb10b9954b7b3b0f29e)
DeltaFile
+3-3graphics/vulkan-caps-viewer/distinfo
+1-1graphics/vulkan-caps-viewer/Makefile
+4-42 files

FreeBSD/ports 5ff05bcdevel/py-numba Makefile distinfo

devel/py-numba: Update to 0.67.0

(cherry picked from commit 69f299a83441c34101d277e4d39c34ea503b7dee)
DeltaFile
+3-3devel/py-numba/distinfo
+1-1devel/py-numba/Makefile
+4-42 files

FreeBSD/ports cda5f35devel/py-llvmlite Makefile distinfo

devel/py-llvmlite: Update to 0.49.0

(cherry picked from commit 45ad2ecac672cb2cace9a3170bafa947589148c7)
DeltaFile
+3-3devel/py-llvmlite/distinfo
+1-1devel/py-llvmlite/Makefile
+4-42 files