system: revisit edbfc5318557 since hardcoding is not necessary here
While here wrap the returned values in html_safe(). If we want to
enforce 'en_US' we should do it in config.xml.sample or add it as
a model default once we get to it.
[Support] Remove deprecated CTLog2 from MathExtras.h (#218274)
CTLog2 was deprecated in favor of ConstantLog2 and has no remaining
in-tree users, so drop it.
Co-authored-by: Claude <noreply at anthropic.com>
ModuloSchedule: Fix using getVRegDef/getUniqueVRegDef on physregs (#216795)
These should be invalid to use on physical registers, but are currently
permissive. Avoid calling them so in the future they can assert.
Also this pass seems to run in SSA, so shouldn't really be using
getUniqueVRegDef.
Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
[X86] Widen non-power-of-two vector div/rem under strictfp (#217572)
Non power of two vectors bail out of the FP divide fold under strictfp
and scalarize. The SAE forms are 512-bit only so operands widen into a
zmm, and a non power of two lane count has no machine type to widen
through.
This widens to the next power of two first but only while the result
still fits one divide. Past that it splits into two chains and a scalar
divide on the odd lane is cheaper so a shape like v9i32 is unchanged.
Fixes #217558
RISCV: Fix VectorPeephole null dereference on an undef vmerge true operand
Also since this is an SSA pass, switch to using getVRegDef instead of
getUniqueVRegDef
Co-Authored-By: Claude <noreply at anthropic.com> (Claude Opus 4.8)
RISCV: Fix VLOptimizer null dereference on an undef slide amount
Also since this is an SSA pass, switch from getUniqueVRegDef
to regular getVRegDef.
Co-Authored-By: Claude <noreply at anthropic.com> (Claude Opus 4.8)
[AMDGPU] Model ordered XDL writes in expert scheduling
Treat qualifying XDL WMMA as VA_VDST fences so expert scheduling can use
nonzero waits after out-of-order event mixes.
An XDL instruction with a destination register of 8 or more VGPRs decrements
VA_VDST after all instructions that were issued earlier.
This offers a significant benefit in compute bound kernels since we are not
required to pessimistically wait for WMMAs to write their results when
interleaving LDS.
```
VALU def r0
TRANS
VALU
TRANS
WMMA
va_vdst(1) # previously this would require va_vdst(0)
[2 lines not shown]
ipfilter: Fix checksum update for NAT_DIVERTOUT
When taking a snapshot of the before ip_len (s1) for comparison with the
after-translated ip_len (s2), we must convert it from network to host
byte order before we can use it. Add the missing ntohs() call.
PR: 296944
MFC after: 3 days
(cherry picked from commit c08a97fa27b914988ef092352872b2f455abb7c3)