LLVM/project e971c3ellvm/lib/CodeGen CFIInstrInserter.cpp

[CFIInserter] Improve `CSRSavedLocation` struct. (#168869)

(1) Define `CSRSavedLocation::Kind` and use it in the code. This makes
the code more readable and allows to extend it to new kinds. For
example, soon I want to add "scalable offset from a given register"
kind.

(2) Store the contents in a union. This should reduce memory usage.
DeltaFile
+73-20llvm/lib/CodeGen/CFIInstrInserter.cpp
+73-201 files

LLVM/project 597ffbeclang/lib/Basic Targets.cpp, clang/lib/Basic/Targets OSTargets.h

Rename wasm32-wasi to wasm32-wasip1. (#165345)

This adds code to recognize "wasm32-wasip1", "wasm32-wasip2", and
"wasm32-wasip3" as explicit targets, and adds a deprecation warning when
the "wasm32-wasi" target is used, pointing users to the "wasm32-wasip1"
target.

Fixes #165344.

I'm filing this as a draft PR for now, as I've only just now proposed to
make this change in #165344.
DeltaFile
+36-0llvm/unittests/TargetParser/TripleTest.cpp
+33-2clang/lib/Basic/Targets/OSTargets.h
+23-8clang/test/Preprocessor/init.c
+22-8clang/lib/Basic/Targets.cpp
+9-0llvm/lib/TargetParser/Triple.cpp
+6-2llvm/include/llvm/TargetParser/Triple.h
+129-204 files not shown
+146-2010 files

FreeBSD/src 17ba6f4sys/fs/fuse fuse_vnops.c fuse_ipc.c, tests/sys/fs/fusefs ioctl.cc mockfs.cc

fusefs: support FUSE_IOCTL

MFC After: 1 week
Signed-off-by: CismonX <admin at cismon.net>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1470
DeltaFile
+213-0tests/sys/fs/fusefs/ioctl.cc
+89-6sys/fs/fuse/fuse_vnops.c
+12-1tests/sys/fs/fusefs/mockfs.cc
+4-0sys/fs/fuse/fuse_ipc.c
+1-2sys/fs/fuse/fuse_internal.c
+2-0tests/sys/fs/fusefs/mockfs.hh
+321-91 files not shown
+322-97 files

LLVM/project 632a557clang-tools-extra/clang-doc/assets clang-doc-mustache.css navbar-template.mustache, clang-tools-extra/test/clang-doc basic-project.mustache.test

[clang-doc] Move navbar and sidebar into normal document flow (#175110)

The navbar and sidebar caused spacing and alignment issues since they
were fixed elements with defined height/width. It was difficult to have
all elements below them correctly offset the height. This patch changes
them
to sticky elements within the normal document flow that don't define
their
height/width explicitly. This actually lets us use existing HTML/CSS
properties (like the "content" div) more naturally.

This also changes the navbar behavior to not follow while scrolling.
DeltaFile
+26-24clang-tools-extra/clang-doc/assets/clang-doc-mustache.css
+12-12clang-tools-extra/test/clang-doc/basic-project.mustache.test
+7-7clang-tools-extra/clang-doc/assets/navbar-template.mustache
+3-1clang-tools-extra/clang-doc/assets/namespace-template.mustache
+3-1clang-tools-extra/clang-doc/assets/index-template.mustache
+3-1clang-tools-extra/clang-doc/assets/class-template.mustache
+54-466 files

LLVM/project ab5ec54libc/test/src/__support/wctype/conversion/utils enumerate_test.cpp CMakeLists.txt

add tests
DeltaFile
+74-0libc/test/src/__support/wctype/conversion/utils/enumerate_test.cpp
+12-0libc/test/src/__support/wctype/conversion/utils/CMakeLists.txt
+86-02 files

LLVM/project 30a0053libc/src/__support/wctype/conversion/utils enumerate.h CMakeLists.txt

use forward decl
DeltaFile
+6-7libc/src/__support/wctype/conversion/utils/enumerate.h
+1-0libc/src/__support/wctype/conversion/utils/CMakeLists.txt
+7-72 files

LLVM/project f323fd7libc/src/__support/wctype/conversion/utils enumerate.hpp CMakeLists.txt

[libc][wctype] Upstream enumerate header from PtrHash-cc prototype to LLVM libc
DeltaFile
+66-0libc/src/__support/wctype/conversion/utils/enumerate.hpp
+10-0libc/src/__support/wctype/conversion/utils/CMakeLists.txt
+76-02 files

LLVM/project c9d354alibc/src/__support/wctype/conversion/random vec512_storage.cpp imm.h

[libc][wctype] Upstream immintrin storage from PtrHash-cc prototype to LLVM libc
DeltaFile
+342-0libc/src/__support/wctype/conversion/random/vec512_storage.cpp
+268-0libc/src/__support/wctype/conversion/random/imm.h
+82-0libc/src/__support/wctype/conversion/random/vec512_storage.h
+76-0libc/src/__support/wctype/conversion/random/vec128_storage.h
+63-0libc/src/__support/wctype/conversion/random/vec256_storage.h
+60-0libc/src/__support/wctype/conversion/random/vec256_storage.cpp
+891-01 files not shown
+913-07 files

LLVM/project d35d4edlibc/src/__support/wctype/conversion CMakeLists.txt, libc/src/__support/wctype/conversion/random fastrand.h CMakeLists.txt

[libc][wctype] Upstream fastrand from PtrHash-cc prototype to LLVM libc
DeltaFile
+78-0libc/src/__support/wctype/conversion/random/fastrand.h
+7-0libc/src/__support/wctype/conversion/random/CMakeLists.txt
+1-0libc/src/__support/wctype/conversion/CMakeLists.txt
+86-03 files

LLVM/project 7deda18libc/src/__support/wctype/conversion/utils enumerate.h CMakeLists.txt

work around for no cpp::pair
DeltaFile
+5-3libc/src/__support/wctype/conversion/utils/enumerate.h
+1-3libc/src/__support/wctype/conversion/utils/CMakeLists.txt
+6-62 files

LLVM/project d426010libc/src/__support/wctype/conversion/utils enumerate.h enumerate.hpp

fix extension
DeltaFile
+70-0libc/src/__support/wctype/conversion/utils/enumerate.h
+0-70libc/src/__support/wctype/conversion/utils/enumerate.hpp
+70-702 files

LLVM/project dd87ffalibc/src/__support/wctype/conversion/random stdrng.h CMakeLists.txt

[libc][wctype] Upstream StdRng from PtrHash-cc prototype to LLVM libc
DeltaFile
+269-0libc/src/__support/wctype/conversion/random/stdrng.h
+10-0libc/src/__support/wctype/conversion/random/CMakeLists.txt
+279-02 files

LLVM/project 0216430libc/src/__support/wctype/conversion/utils enumerate.hpp

fix nesting
DeltaFile
+6-2libc/src/__support/wctype/conversion/utils/enumerate.hpp
+6-21 files

LLVM/project db8f098libc/src/__support/wctype/conversion/utils utils.h shared_utils.h, libc/test/src/__support/wctype/conversion/utils utils_test.cpp shared_utils_test.cpp

remove used once functions
DeltaFile
+0-377libc/src/__support/wctype/conversion/utils/utils.h
+0-236libc/test/src/__support/wctype/conversion/utils/utils_test.cpp
+52-0libc/src/__support/wctype/conversion/utils/shared_utils.h
+44-0libc/test/src/__support/wctype/conversion/utils/shared_utils_test.cpp
+2-2libc/src/__support/wctype/conversion/utils/CMakeLists.txt
+2-2libc/test/src/__support/wctype/conversion/utils/CMakeLists.txt
+100-6176 files

FreeBSD/doc 2415995website/content/en/releases/14.4R schedule.adoc

14.4: On schedule

Developers have been reminded (via internal project mailing list) about
the upcoming release.
DeltaFile
+1-1website/content/en/releases/14.4R/schedule.adoc
+1-11 files

FreeNAS/freenas 1a4b491src/middlewared/middlewared/plugins/system_dataset mount.py

Fix
DeltaFile
+3-3src/middlewared/middlewared/plugins/system_dataset/mount.py
+3-31 files

FreeBSD/doc 55d599cwebsite/content/en/releases/14.4R hardware.adoc

14.4: Regenerate hardware notes from archetype
DeltaFile
+81-36website/content/en/releases/14.4R/hardware.adoc
+81-361 files

FreeNAS/freenas af165dasrc/middlewared/middlewared/plugins sysdataset.py

Fix
DeltaFile
+1-1src/middlewared/middlewared/plugins/sysdataset.py
+1-11 files

LLVM/project 8b09e47clang/include/clang/CIR/Dialect/IR CIROps.td, clang/lib/CIR/CodeGen CIRGenBuiltinX86.cpp

[CIR][X86] Add support for `cpuid`/`cpuidex` (#173197)

Adds support for the `__builtin_ia32_cpuid` and `__builtin_ia32_cpuidex`
X86 builtins.

Part of [167765](https://github.com/llvm/llvm-project/issues/167765).
DeltaFile
+149-0clang/test/CIR/CodeGenBuiltins/X86/ms-x86-intrinsics.c
+66-0clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+41-0clang/include/clang/CIR/Dialect/IR/CIROps.td
+9-1clang/lib/CIR/CodeGen/CIRGenBuiltinX86.cpp
+265-14 files

LLVM/project e21fcc2clang/include/clang/CIR/Dialect/IR CIROps.td, clang/lib/CIR/CodeGen CIRGenExprScalar.cpp

[CIR] Upstream handling for data member pointer casts (#171950)

This adds the CIR basic handling for casts of data member pointers. Cast
to bool and null, as well as member function pointer casts will be
handled in followup PRs.
DeltaFile
+135-0clang/test/CIR/CodeGen/pointer-to-data-member-cast.cpp
+54-0clang/include/clang/CIR/Dialect/IR/CIROps.td
+52-0clang/lib/CIR/Dialect/Transforms/TargetLowering/LowerItaniumCXXABI.cpp
+34-0clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
+32-0clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+20-1clang/lib/CIR/Dialect/Transforms/CXXABILowering.cpp
+327-13 files not shown
+342-19 files

FreeBSD/src 3ecd098sys/dev/sound/midi midi.c

sound: Retire unused snd_midi->name

No functional change intended.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week

(cherry picked from commit a9c3bb39bc9181b8762e67c40d00886474e9ae06)
DeltaFile
+0-1sys/dev/sound/midi/midi.c
+0-11 files

FreeBSD/src 2ded9e1sys/dev/sound/midi midiq.h

sound: Get rid of unused MIDIQ macros

No functional change intended.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week

(cherry picked from commit 3f8a85a085c710f50b8bcd4efe915268882129d2)
DeltaFile
+0-2sys/dev/sound/midi/midiq.h
+0-21 files

FreeBSD/src 0c7eb49sys/dev/sound/pcm channel.c channel.h

sound: Merge chn_intr() with chn_intr_locked()

There is no scenario where chn_intr() is called with the channel lock
already held.

No functional change intended.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Reviewed by:    kib, markj
Differential Revision:  https://reviews.freebsd.org/D53854

(cherry picked from commit 0794365d5d3cc93940b873553382288a2a2c88c4)
DeltaFile
+2-18sys/dev/sound/pcm/channel.c
+0-1sys/dev/sound/pcm/channel.h
+2-192 files

FreeBSD/src 76a53e1sys/dev/sound/midi mpu401.c

sound: Allocate mpu401 with M_WAITOK

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week

(cherry picked from commit fd1312d3629cda9691c67af6154946cd55467076)
DeltaFile
+1-4sys/dev/sound/midi/mpu401.c
+1-41 files

FreeBSD/src 982dabcsys/conf files

sys/conf/files: Fix sndstat path

Reported by:    CI
Fixes:          bafa8c951d8c ("sound: Move sndstat out of pcm/")
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week

(cherry picked from commit 8c7a7d7df508faa75515d4f0b8ef58c30ad4ccc9)
DeltaFile
+1-1sys/conf/files
+1-11 files

FreeBSD/src f309214sys/dev/sound/usb uaudio.c

snd_uaudio: Do not use pcm_channel->lock to protect uaudio_chan

This is a layering violation, but it also makes the control flow
confusing; snd_uaudio(4) should have its own lock to protect its
structures.

Fixes:          5cc34a83e1 ("Revert "sound: Merge chn_intr() with chn_intr_locked()"")
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54102

(cherry picked from commit c234740c9d34c2b953c6010f6a01b0aca9648c08)
DeltaFile
+12-15sys/dev/sound/usb/uaudio.c
+12-151 files

FreeBSD/src efca639sys/dev/sound/midi mpu401.c

sound: Make mpu_if definitions static

No functional change intended.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week

(cherry picked from commit 3094c5e388df296f1b84579f70a5583ddc3bc26a)
DeltaFile
+3-3sys/dev/sound/midi/mpu401.c
+3-31 files

FreeBSD/src 2a8f866sys/dev/sound/midi mpu401.c mpu_if.m

sound: Retire mpu_callbackp()

It is the exact same as mpu_callback().

No functional changed intended.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week

(cherry picked from commit e3b57ceffef0158a72a7a5aedfa9df88b3a8a88b)
DeltaFile
+0-8sys/dev/sound/midi/mpu401.c
+0-6sys/dev/sound/midi/mpu_if.m
+1-1sys/dev/sound/midi/midi.c
+1-153 files

FreeBSD/src 209cfbbsys/dev/sound/midi midi.c

sound: Get rid of unused midi/midi.c defines

No functional change intended.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week

(cherry picked from commit 4a2d1532e84135a50ba8414ceaafc0c3a1bfe94b)
DeltaFile
+0-13sys/dev/sound/midi/midi.c
+0-131 files

FreeBSD/src 4fc99fcsys/dev/sound/midi midi.c, sys/dev/sound/pci hdsp-pcm.c hdspe-pcm.c

sound: Do not check for NULL before free()

No functional change intended.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D54174

(cherry picked from commit 792251295cdf6c3e1cbb1aa6291434539632912f)
DeltaFile
+12-25sys/dev/sound/pcm/feeder_rate.c
+6-13sys/dev/sound/pcm/buffer.c
+4-8sys/dev/sound/pci/hdsp-pcm.c
+4-8sys/dev/sound/pci/hdspe-pcm.c
+2-4sys/dev/sound/pci/envy24ht.c
+2-4sys/dev/sound/midi/midi.c
+30-6214 files not shown
+47-9520 files