VirtRegMap: Pass instruction and operand to readsUndefSubreg
The helper recovered the instruction from the operand's parent to look up its
slot index. Pass the containing instruction and the operand directly so it no
longer depends on MachineOperand::getParent().
Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
[AMDGPU] Update MIR syntax for REG_SEQUENCE in tests (#219469)
Use names instead of numbers for the subreg index operands in
REG_SEQUENCE instructions.
I went back to when these tests were created to get the correct mapping:
sub0, // 1
sub1, // 2
sub2, // 3
sub3, // 4
sub0_sub1, // 17
sub2_sub3, // 18
rc: add watchdog to shutdown, reboot and reload_all cases (#10813)
This will prevent shutdown/reboot actions from getting stuck indefinitely if a process misbehaves by ignoring the term signal. The timeout is set to 30 seconds and relies on the rc status call to provide a valid pid to determine if a process is stuck.
py-ipython: updated to 9.17.0
IPython 9.17
Summary
This release is mostly about how long IPython takes to start. Two further
passes over the startup path -- deferring imports to their use sites, keeping
pygments' plugin machinery out of it, and declaring IPython's own magics
lazily -- together cut a large fraction off ``import IPython`` and off getting
to a prompt, without any change in behaviour. Alongside that: a new
``IPYTHON_KITTY_GRAPHICS`` environment variable to override terminal graphics
detection, ``as`` aliasing in :magic:`aimport`, and two input- and
output-handling fixes.
There are no backwards-incompatible changes in this release.
sys/param.h: Welcome to 11.99.8, courtsey of struct proc reordering.
PR kern/60653: posix_spawn(3) causes incorrect stack base information
XXX kernel ABI revbump -- NOT FOR PULLUP
faac: updated to 1.50
1.50
Build quantize_sse library with hidden symbols
Don't call exit() from the library
Define some more default_options in Meson build
Fix some warnings in frontend/maingui.c
Default to buildtype=release in Meson build
Initialize data variable in huffcode()
Remove the faulty HAVE_STRCASECMP check and other pointless header checks
CI: Let Meson build set CFLAGS
Disallow PNS in MPEG-2 mode to match spec
frontend: Change default to MPEG-4 as MPEG-2 is obsolete
Add max-channels option to change MAX_CHANNELS from 64
Fix PNS to stay on in JOINT_MS for low-bitrate accuracy
Replace redundant cpe, sce, and lfe boolean flags in ChannelInfo with an enum
Reduce MAX_CHANNELS to 8 for ADTS compliance
tns: Prevent division-by-zero or instability on highly correlated signals
[7 lines not shown]
RegAllocFast: Pass instruction and operand to isTiedToNotUndef
The helper recovered the instruction from the operand's parent to look up the
tied operand. Pass the containing instruction and the operand directly so it
no longer depends on MachineOperand::getParent().
Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
struct proc: Put p_stackbase in the [p_startcopy,p_endcopy) range.
It is inherited by the child because the child has exactly the same
memory layout as the parent.
Cleanup after:
PR kern/60653: posix_spawn(3) causes incorrect stack base information
XXX kernel ABI revbump -- NOT FOR PULLUP
Speed up pre-C++20 operator<(std::tuple, std::tuple) (#214646)
Reduces the compile time of `operator<` for tuples, as `std::get` appears slow to compile.
pf: Send syncookies from the receiving thread
pf sends outbound packets by offloading them to a single per-vnet SWI handler
through the `V_pf_sendqueue` mbuf queue. A large DDoS attack may overwhelm
that per-vnet queue with syncookie packets and cause contention in the SWI
handler that negatively affects other pf operations.
Fix this by sending the initial syncookie challenge from the context
of the receiving thread. This avoids the syncookie-induced contention on
the `pf_intr` mbuf queue.
Sponsored by: Klara, Inc.
Sponsored by: Entersekt
MFC after: 3 weeks
Reviewed by: kp
Differential Revision: https://reviews.freebsd.org/D59068
CodeGen: Pass instruction to DetectDeadLanes::isUndefInput (#219467)
The helper only used the operand to recover its parent instruction. Pass
the containing instruction directly so it no longer depends on the
MachineOperand's parent.
Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
CodeGen: Pass instruction to LiveRangeEdit::useIsKill (#219466)
The helper only used the operand to recover its parent instruction. Pass
the containing instruction directly so it no longer depends on the
MachineOperand parent.
Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
AMDGPU: Pass instruction and operand to isKImmOperand/isKUImmOperand
These helpers recovered the instruction and operand index from the operand's
parent to call isInlineConstant. Pass the containing instruction and the
operand directly so they no longer depend on MachineOperand::getParent().
Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
[InstCombine] Remove INT_MIN poison check from abs(X) u< C --> X + (C-1) u<= 2*(C-1) fold. (#219264)
Removed the check from this fold for the second argument of abs being
true (meaning the call returns poison for INT_MIN). This works because
if the second argument of abs is false, abs will return INT_MIN when
called on INT_MIN which results in false for both the original form and
the folded form due to the use of unsigned comparisons.
Proof: https://alive2.llvm.org/ce/z/qJRB-b
Closes #219163
misc/codex: Directly use install command instead of CARGO_INSTALL_PATH
Using the ports framework's install target (from cargo.mk) with
CARGO_INSTALL_PATH specified seems to run build again, which consumes
too much time, even when the build phase has successfully finished. To
avoid that, use custom do-install target with install command.
While here, remove extraneous binary (logs_client) from installation.
PR: 297995
Reported by: Robert Cina <transitive at gmail.com>
Co-authored-by: Robert Cina <transitive at gmail.com>
AMDGPU: Avoid querying operand parent in isLegalRegOperand (#219464)
This is accessible through MachineRegisterInfo and doesn't need to
look at the operand parent chain.
Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
AMDGPU: Harden assumed subarch triple spelling
Guard against values that require multiple hex digits or
don't fit in the IsaVersion struct fields.
Co-Authored-By: Claude <noreply at anthropic.com> (Claude Opus 4.8)
[VPlan] Pass the mask's compare predicate when costing a blend. (#218422)
Pass the predicate to getCmpSelInstrCost in VPBlendRecipe if the mask is
a compare. This improves cost estimates on targets like AArch64 where
selects on compares can be lowered more efficiently.
18377 hma conflates CPU ID with sequence ID
Reviewed by: Hans Rosenfeld <rosenfeld at grumpf.hope-2000.org>
Reviewed by: Toomas Soome <tsoome at me.com>
Approved by: Gordon Ross <gordon.w.ross at gmail.com>
X86: Pass instruction to inline asm register printing helpers
printAsmMRegister and printAsmVRegister only used the operand to recover its
parent instruction's inline asm dialect. Pass the containing instruction
directly so they no longer depend on MachineOperand::getParent().
Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
AArch64: Pass instruction and operand to load/store rename helpers
isRewritableImplicitDef and canRenameMOP only used the operand to recover its
parent instruction. Pass the containing instruction and the operand directly
so they no longer depend on MachineOperand::getParent().
Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>