[NVPTX] Avoid double rounding in integer to bf16 conversions (#244801)
Below sm_90, int to bf16 is lowered through f32, which rounds twice and can
be off by one ulp, e.g. `uitofp i32 16842753` gives 0x4B80 instead of 0x4B81.
Convert to f32 rounding towards zero and set the lowest bit if inexact
(round to odd), so the final rounding to bf16 is correct. Operands known to
fit in 24 bits keep the direct conversion. The first commit adds the tests.
Fixes #244593
Assisted-by: Claude Code (Claude Opus 5.5)
[ORC][C API] Add LLVMOrcThreadSafeContextWithContextDo (#232676)
LLVMOrcThreadSafeContextGetContext was removed in 0bfa0bcd79f7 along
with ThreadSafeContext::getContext, but no C API replacement for
ThreadSafeContext::withContextDo was added. As a result, C API clients
have no way to safely access the LLVMContext wrapped by an existing
LLVMOrcThreadSafeContextRef, e.g. to create a new module in it.
This patch adds LLVMOrcThreadSafeContextWithContextDo, which mirrors
LLVMOrcThreadSafeModuleWithModuleDo: the given callback is invoked with
the wrapped LLVMContext while the context lock is held.
Assisted-by: Claude Opus 5.5
Co-authored-by: Lang Hames <lhames at gmail.com>
there are some cases where we can't track the lifecycle of the
fork()ed ProxyCommand, e.g. when we've done a ControlPersist detach
or if we do a ~^Z background operations. In both these cases ssh(1)
is no longer the parent of the ProxyCommand and so can't see its
SIGCHLD to get a reliable notification of it exiting.
So let's not try to kill(2) the ProxyCommand on these paths, in case
it has already exited and its PID has been recycled.
Followup to the ANT-2026-ODQD8QBH fix
Interprocessor interrupt infrastructure. Dispatch cribbed from Alpha
and streamlined a bit. Low-level interrupt stub assumes a vectored
interrupt and pushes a full FMT0 trap frame rather than the minimal
clockframe (since at least one of the IPI handlers needs it).
IPI polling (which can be required when sending synchronous IPIs from
an interrupt handler) is achieved with a small ipi_poll() stub that
either returns immediately if cpuinfo.ci_ipis == 0, or creates the base
FMT0 exception frame and jumping to the main ipi_intrstub; when complete,
the RTE will return directly to the caller of ipi_poll().
clnt_rdma.c: Change handling of a 0 credit request
Although I do not think it should ever happen, if a
server replies with an rdma_credit == 0, the Linux
client just sets it to 1.
This patch makes the FreeBSD NFS over RDMA client
do the same.
Reported by: llm-postcr
MFC after: 1 month
Fixes: 80bee4d83637 ("nfsclrdma: Add code to support client side NFS over RDMA")
[lldb] Declare darwin-log enable options in TableGen
The --filter option of `plugin structured-data darwin-log enable` took
eArgRawInput, which describes free-form text passed after ' -- ' and so
contradicts how the option works: each --filter takes one rule, which
must be quoted if it contains spaces, and the option may be repeated.
Replace it with the newly introduced eArgTypeDarwinLogFilter and declare
the options of the command in TableGen like the other commands.
This was the only use of eArgRawInput as an argument type. The
corresponding entry in the option argument table is kept so that
`help raw-input` still works.
The multi-line description of --filter contains manual formatting, but
apparently it has been broken since 23dffff4 (tracked by #246769).
Assisted-by: Claude
[lldb] Declare darwin-log enable options in TableGen
The --filter option of `plugin structured-data darwin-log enable` took
eArgRawInput, which describes free-form text passed after ' -- ' and so
contradicts how the option works: each --filter takes one rule, which
must be quoted if it contains spaces, and the option may be repeated.
Replace it with the newly introduced eArgTypeDarwinLogFilter and declare
the options of the command in TableGen like the other commands.
This was the only use of eArgRawInput as an argument type. The
corresponding entry in the option argument table is kept so that
`help raw-input` still works.
The multi-line description of --filter contains manual formatting, but
apparently it has been broken since 23dffff4 (tracked by #246769).
Assisted-by: Claude
games/linux-steam-utils: Update pkg-message for the new setup
The sysctls and nullfs are now set up on install, and Steam is
bootstrapped from the application menu on first start, so drop those
manual steps. Remove the pkg32.sh step, which wine-proton 11 no longer
needs or installs, and point to the Proton 11.0 appid.
[lldb] Declare darwin-log enable options in TableGen
The --filter option of `plugin structured-data darwin-log enable` took
eArgRawInput, which describes free-form text passed after ' -- ' and so
contradicts how the option works: each --filter takes one rule, which
must be quoted if it contains spaces, and the option may be repeated.
Replace it with the newly introduced eArgTypeDarwinLogFilter and declare
the options of the command in TableGen like the other commands.
This was the only use of eArgRawInput as an argument type. The
corresponding entry in the option argument table is kept so that
`help raw-input` still works.
The multi-line description of --filter contains manual formatting, but
apparently it has been broken since 23dffff4 (tracked by #246769).
Assisted-by: Claude
www/apache24: Make PROXY a group of options
OPTIONS_MULTI_PROXY required at least one PROXY module to be selected
whenever the PROXY option was enabled, although Apache can be built
without any proxy module. Make the proxy modules an options group and
drop the PROXY option. mod_proxy is built whenever any proxy module is
selected. The LBMETHOD options need mod_proxy_balancer, so they now
imply PROXY_BALANCER.
PR: 295073
Sponsored by: Netzkommune GmbH
[lld][MachO] Reuse symbol string offsets in STABS
`SymtabSection::emitStabs()` calls `stringTableSection.addString()` for
every defined symbol's name, even though `SymtabSection::finalizeContents()`
already added those exact strings to the string table for the ordinary
symbol table. On large debug links, repeating the hash and `DenseMap`
probe for every STABS symbol accounts for a substantial share of
`__LINKEDIT` finalization.
This PR carries each symbol's existing `strx` alongside its `fileId` in
`symbolsNeedingStabs` (fitting in the existing struct padding) and reuses
it directly in `emitStabs()`.
We reuse `strx` unconditionally, including under
`-no-deduplicate-symbol-strings`. That flag (`c676104875f3`) was added as
a link-time speedup trade-off rather than to force STABS entries to
duplicate ordinary symbol names. Re-appending STABS strings in that mode
bloated outputs by 15-40% and slowed down several links due to extra
output writing and code signing; reusing `strx` avoids both while keeping
[2 lines not shown]
[VectorCombine] Fix crash on bitcasts of pointer vectors
foldBitcastShuffle divides by the scalar sizes of the source and
destination element types, which are zero for pointers. A bitcast of a
shuffled pointer vector, or one between a byte vector and a pointer
vector, then crashes with a division by zero. Take the sizes from the
DataLayout, so these bitcasts are folded too.
Fixes #246659
Assisted-by: Claude Code (Claude Opus 5.5)