[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.
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.
[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.
[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).
[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.
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)
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)
sound: Allocate mpu401 with M_WAITOK
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
(cherry picked from commit fd1312d3629cda9691c67af6154946cd55467076)
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)
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)
sound: Make mpu_if definitions static
No functional change intended.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
(cherry picked from commit 3094c5e388df296f1b84579f70a5583ddc3bc26a)
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)
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)