LLVM/project f842c96clang/include/clang/Basic HLSLIntrinsics.td, clang/lib/Headers/hlsl hlsl_intrinsic_helpers.h

[HLSL][LongVector] Implement fmod (#224123)

resolves https://github.com/llvm/llvm-project/issues/220649

This is as much a refactor as it is adding long vector support.

I noticed the fmod helper had many issues. THe SPIR-V implementatiion
wasn't properly put into a SPIR-V macro

fmod had a scalar \ vector version that was unecessary.

The tests seemed to be raw register defines so
source code changes caused the names to all change.

Fixing this meant we could simplify the tablegen
and helpers.

Also the tests are much more clean with no -D defines
DeltaFile
+99-102clang/test/CodeGenHLSL/builtins/fmod.hlsl
+4-17clang/lib/Headers/hlsl/hlsl_intrinsic_helpers.h
+2-11clang/include/clang/Basic/HLSLIntrinsics.td
+2-10clang/test/SemaHLSL/BuiltIns/fmod-errors.hlsl
+107-1404 files

LLVM/project 5a24d15libc/src/grp getgrgid.cpp getgrnam.cpp, libc/test/src/grp CMakeLists.txt getgrgid_test.cpp

[libc] Add getgrnam and getgrgid entrypoints (#224858)

Add the non-reentrant group database lookup entrypoints getgrnam and
getgrgid.

Both entrypoints delegate to grp::find_by_name and grp::find_by_gid,
sharing the single static DynamicBuffer and struct group with getgrent
as permitted by POSIX. Because endgrent closes the file stream without
freeing the shared buffer, calling endgrent does not invalidate pointers
returned by getgrnam or getgrgid.

* Add getgrnam and getgrgid entrypoints
* Add non-reentrant find_by_name and find_by_gid overloads in grp_utils
* Define getgrnam and getgrgid in include/grp.yaml
* Add hermetic unit tests for getgrnam and getgrgid

Assisted-by: Automated tooling, human reviewed.
DeltaFile
+199-0libc/test/src/grp/getgrnam_test.cpp
+180-0libc/test/src/grp/getgrgid_test.cpp
+50-17libc/src/grp/grp_utils.cpp
+57-0libc/test/src/grp/CMakeLists.txt
+36-0libc/src/grp/getgrnam.cpp
+33-0libc/src/grp/getgrgid.cpp
+555-1710 files not shown
+666-1716 files

LLVM/project 63d3506compiler-rt/test/hwasan/TestCases/Linux decorate-proc-maps.c

[compiler-rt][hwasan] Fix decorate-proc-maps.c test (#225496)

Avoid returning the heap pointer address from main, which causes the
process to exit with a non-zero exit status whenever the lowest byte of
the allocated address is non-zero.

Previously, `malloc(100)` (size class 112) was the first allocation in
its size class, returning page-aligned chunk 0 (`offset 0x00`, exit
code 0). Commit 5a50c15fa686 (#224953) removed `SinkOpts` (48 bytes)
from `llvm::cl::SubCommand`, shrinking `sizeof(SubCommand)` from 160 to
112 bytes. With the internal symbolizer enabled, two pre-main
`ManagedStatic<SubCommand>` allocations now take chunks 0 and 1 in the
112-byte size class, pushing `malloc(100)` to chunk 2 (`offset 0xe0`,
exit code 224).

Assisted-by: Gemini
DeltaFile
+1-2compiler-rt/test/hwasan/TestCases/Linux/decorate-proc-maps.c
+1-21 files

LLVM/project 2bb58d1llvm/lib/Target/AMDGPU SIInstrInfo.cpp GCNDPPCombine.cpp, llvm/lib/Target/AMDGPU/AsmParser AMDGPUAsmParser.cpp

[NFC][AMDGPU] Refactor isDPALU_DPP to only check if the instruction requires the feature (#224373)

Previously the helper function was a combination of checking if the
instruction required the feature and if the feature is available. This
behavior diverges from similar isDPALU_DPP32BitOpc and can cause
confusion. This refactor aligns the two for consistency, and users
should also check if the feature is available if needed.
DeltaFile
+11-12llvm/lib/Target/AMDGPU/GCNDPPCombine.cpp
+4-6llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
+0-4llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
+1-0llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+1-0llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
+1-0llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+18-226 files

FreeBSD/ports e0297e9Mk/Uses npm.mk

Mk/Uses/npm.mk: Preserve WRKDIR itself after archiving node modules

Removing WRKDIR itself breaks the makesum phase. So only removes the
contents of WRKDIR (node-modules-cache directory and
node-modules-cache.mtree file).
DeltaFile
+4-6Mk/Uses/npm.mk
+4-61 files

LLVM/project 1d471b2libc/include fcntl.yaml, libc/src/fcntl posix_fallocate.h

[libc] Implement posix_fallocate in fcntl (#225475)

Implement the standard POSIX.1-2008 / POSIX.1-2024 function
`posix_fallocate` in `<fcntl.h>`.

Fixes #225469
DeltaFile
+106-0libc/test/src/fcntl/posix_fallocate_test.cpp
+34-0libc/src/fcntl/linux/posix_fallocate.cpp
+26-0libc/src/fcntl/posix_fallocate.h
+23-0libc/test/src/fcntl/CMakeLists.txt
+14-0libc/src/fcntl/linux/CMakeLists.txt
+8-0libc/include/fcntl.yaml
+211-04 files not shown
+221-010 files

FreeBSD/ports 83ba250devel/nanobind distinfo Makefile, devel/nanobind/files patch-cmake_nanobind-config.cmake patch-CMakeLists.txt

devel/nanobind: update 3.0.1 → 3.1.0
DeltaFile
+11-11devel/nanobind/Makefile
+17-0devel/nanobind/files/patch-include_nanobind_eigen_tensor.h
+11-0devel/nanobind/files/patch-tests_CMakeLists.txt
+3-3devel/nanobind/distinfo
+2-2devel/nanobind/files/patch-cmake_nanobind-config.cmake
+2-2devel/nanobind/files/patch-CMakeLists.txt
+46-186 files

FreeNAS/freenas 387b8c0src/middlewared/middlewared/utils disks.py, src/middlewared/middlewared/utils/disks_ identifier.py disk_class.py

Build a disk's identifier in one place instead of two
DeltaFile
+13-21src/middlewared/middlewared/utils/disks_/disk_class.py
+33-0src/middlewared/middlewared/utils/disks_/identifier.py
+9-10src/middlewared/middlewared/utils/disks.py
+55-313 files

LLVM/project cdaed31llvm/test/CodeGen/AMDGPU llvm.amdgcn.wqm.vote.ll

[AMDGPU][NFC] Auto-generate llvm.amdgcn.wqm.vote test checks (#224772)
DeltaFile
+118-31llvm/test/CodeGen/AMDGPU/llvm.amdgcn.wqm.vote.ll
+118-311 files

Illumos/gate 5dc8ec7usr/src/cmd/bhyve/common pci_emul.c

18460 bhyve: fix boot device ordering
Reviewed by: Bill Sommerfeld <sommerfeld at hamachi.org>
Reviewed by: Andy Fiddaman <illumos at fiddaman.net>
Approved by: Gordon Ross <gordon.w.ross at gmail.com>
DeltaFile
+1-1usr/src/cmd/bhyve/common/pci_emul.c
+1-11 files

LLVM/project cf82cfamlir/docs/Tutorials/Toy Ch-6.md

[mlir][docs] Regenerate Toy Ch6 sample output against current main (#225457)

The Ch6 tutorial tells you to run toyc-ch6 with `-emit=mlir-llvm` and
compare against the chapter, but the listings still show typed pointers
like `!llvm<"double*">` and a four-field memref descriptor, and some
lines don't parse at all. #224908 is a beginner hitting exactly that.

This replaces the three listings (LLVM dialect, LLVM IR, optimized LLVM
IR) with what the tool prints today on
`test/Examples/Toy/Ch6/llvm-lowering.mlir`. The LLVM IR listings leave
out the target triple, data layout and `!dbg` metadata since those
depend on the host machine, and the text now says so.

The C++ snippets in the same chapter quoted the old typed-pointer API
for the printf declaration and a pattern list without the memref
patterns, so I updated those to match what's in `examples/toy/Ch6` now,
along with the `dumpLLVMIR` and `runJit` listings. If you'd prefer this
PR stick to the IR output, I can drop those hunks.


    [6 lines not shown]
DeltaFile
+143-98mlir/docs/Tutorials/Toy/Ch-6.md
+143-981 files

FreeNAS/freenas efb639bsrc/middlewared/middlewared/api/v26_0_0 s3.py, src/middlewared/middlewared/plugins/truenas_s3 config.py

NAS-144030 / 26.0.0-RC.1 / Raise the S3 service server cap from 8 to 12 (by yocalebo) (#19846)

The plugin ceiling, both API models and the bounds test now allow up to
twelve reactor threads. The per CPU limit is unchanged.

Original PR: https://github.com/truenas/middleware/pull/19844

Co-authored-by: Caleb St. John <30729806+yocalebo at users.noreply.github.com>
DeltaFile
+2-2tests/api2/test_s3_config.py
+2-2src/middlewared/middlewared/plugins/truenas_s3/config.py
+2-2src/middlewared/middlewared/api/v26_0_0/s3.py
+6-63 files

FreeNAS/freenas b019558src/middlewared/middlewared/api/v26_0_0 s3.py, src/middlewared/middlewared/plugins/truenas_s3 config.py

NAS-144030 / 26.0.0 / Raise the S3 service server cap from 8 to 12 (by yocalebo) (#19845)

The plugin ceiling, both API models and the bounds test now allow up to
twelve reactor threads. The per CPU limit is unchanged.

Original PR: https://github.com/truenas/middleware/pull/19844

Co-authored-by: Caleb St. John <30729806+yocalebo at users.noreply.github.com>
DeltaFile
+2-2tests/api2/test_s3_config.py
+2-2src/middlewared/middlewared/plugins/truenas_s3/config.py
+2-2src/middlewared/middlewared/api/v26_0_0/s3.py
+6-63 files

LLVM/project b2ccb92.github/workflows ids-check.yml

workflows/ids-check: Don't enable clang project (#225215)

We are only checking the llvm attributes right now, so there is no
reason to enable clang.
DeltaFile
+0-2.github/workflows/ids-check.yml
+0-21 files

LLVM/project b30377ccompiler-rt/test/hwasan/TestCases/Linux decorate-proc-maps.c

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+2-3compiler-rt/test/hwasan/TestCases/Linux/decorate-proc-maps.c
+2-31 files

LLVM/project 892b0a9compiler-rt/test/hwasan/TestCases/Linux decorate-proc-maps.c

split

Created using spr 1.3.7
DeltaFile
+3-2compiler-rt/test/hwasan/TestCases/Linux/decorate-proc-maps.c
+3-21 files

FreeBSD/ports 8af01f3lang/ldc pkg-plist Makefile

lang/ldc: Fix build LLVM > 19

PR:             298648
Reported by:    Gerard Seibert <gerard_seibert __at_ outlook.com>
DeltaFile
+9-2lang/ldc/Makefile
+4-4lang/ldc/pkg-plist
+13-62 files

OPNSense/plugins a18b13b. README.md

README: sync
DeltaFile
+1-1README.md
+1-11 files

OpenBSD/src Yfvs7dNlib/libssl Makefile tls12_internal.h

   Add TLSv1.2 error handling

   Provide error handling for use with the TLSv1.2 context - for now this
   is a duplicate of the TLSv1.3 error handling, which we may deduplicate
   in the future.

   ok tb@
VersionDeltaFile
1.1+99-0lib/libssl/tls12_error.c
1.7+26-1lib/libssl/tls12_internal.h
1.91+2-1lib/libssl/Makefile
+127-23 files

LLVM/project 55ee392compiler-rt/test/hwasan/TestCases/Linux decorate-proc-maps.c

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+3-5compiler-rt/test/hwasan/TestCases/Linux/decorate-proc-maps.c
+3-51 files

LLVM/project 5c90e20.github/workflows libc-overlay-tests.yml libc-fullbuild-tests.yml

[libc] Bump containter to ubuntu 26.04 (#225298)

To pull in the latest CMake.
DeltaFile
+5-5.github/workflows/libc-shared-tests.yml
+2-2.github/workflows/libc-overlay-tests.yml
+2-2.github/workflows/libc-fullbuild-tests.yml
+9-93 files

LLVM/project 623fbcbllvm/test/CodeGen/PISA asm-printer-unsupported-vector-hint-fp128.ll

Add asm-printer-unsupported-vector-hint-fp128.ll test
DeltaFile
+11-0llvm/test/CodeGen/PISA/asm-printer-unsupported-vector-hint-fp128.ll
+11-01 files

LLVM/project d9a1cfallvm/test/CodeGen/PISA asm-printer-special-globals.ll

Add asm-printer-special-globals.ll to test isIgnoredIntrinsicGlobal
DeltaFile
+48-0llvm/test/CodeGen/PISA/asm-printer-special-globals.ll
+48-01 files

LLVM/project b44e203llvm/lib/Target/PISA PISAAsmPrinter.cpp, llvm/test/CodeGen/PISA asm-printer-annotation-globals.ll

Remove the user scan and add a test
DeltaFile
+19-0llvm/test/CodeGen/PISA/asm-printer-annotation-globals.ll
+0-18llvm/lib/Target/PISA/PISAAsmPrinter.cpp
+19-182 files

LLVM/project a126dc0llvm/lib/Target/PISA PISAAsmPrinter.cpp

Document why AsmPrinter::emitGlobalConstant is not used
DeltaFile
+4-0llvm/lib/Target/PISA/PISAAsmPrinter.cpp
+4-01 files

LLVM/project adaa302llvm/lib/Analysis ScalarEvolution.cpp, llvm/test/Transforms/IndVarSimplify exit-value-nowrap-flags.ll

[SCEV] Use SCEVUse to access MulOpLists. (#225450)

After https://github.com/llvm/llvm-project/pull/224974, we can reach
this patch with SCEV Mul expressions with operands that have use-flags.

Update loop to access map with SCEVUse instead of const SCEV *.

Fixes a crash in the added test case.
DeltaFile
+58-0llvm/test/Transforms/IndVarSimplify/exit-value-nowrap-flags.ll
+1-1llvm/lib/Analysis/ScalarEvolution.cpp
+59-12 files

LLVM/project da9d653llvm/lib/Target/PISA PISAAsmPrinter.cpp, llvm/test/CodeGen/PISA asm-printer-unusual-vector-global.ll

Add a test for reportFatalUsageError
DeltaFile
+8-0llvm/test/CodeGen/PISA/asm-printer-unusual-vector-global.ll
+2-3llvm/lib/Target/PISA/PISAAsmPrinter.cpp
+10-32 files

LLVM/project 7fcee06llvm/test/CodeGen/PISA load.ll

Remove -verify-machineinstr
DeltaFile
+2-3llvm/test/CodeGen/PISA/load.ll
+2-31 files

LLVM/project b798e15llvm/lib/Target/PISA PISAAsmPrinter.cpp, llvm/test/CodeGen/PISA asm-printer-fp-inline-asm.mir

Fix printing FP immediates
DeltaFile
+23-0llvm/test/CodeGen/PISA/asm-printer-fp-inline-asm.mir
+9-2llvm/lib/Target/PISA/PISAAsmPrinter.cpp
+32-22 files

LLVM/project 3e921a3llvm/lib/Target/PISA PISAAsmPrinter.cpp

Inline comparison into the assertion
DeltaFile
+3-3llvm/lib/Target/PISA/PISAAsmPrinter.cpp
+3-31 files