[lldb][test] Rewrite TestStringPrinter.py in a non-inline API test style (#174385)
Motivation here is that I'm planning to add more test cases to this and
it's easier to read/maintain as an API test.
Drive-by:
* I also removed the `std::string` checks since those belong in the STL
formatter tests.
[AMDGPU] Make WaitcntBrackets::simplifyWaitcnt const again (#173390)
The original design was:
- WaitcntBrackets::simplifyWaitcnt(Wait) updates Wait based on the
current state of WaitcntBrackets, removing unnecesary waits.
- WaitcntBrackets::applyWaitcnt(Wait) updates WaitBrackets based on
Wait, updating the state by applying the specified waits.
This was changed by #164357 which started calling applyWaitcnt from
simplifyWaitcnt.
This patch restores the original design without any significant
functional changes. There is some code duplication because both
simplifyWaitcnt and applyWaitcnt need to understand how XCNT interacts
with other counters like LOADCNT and KMCNT.
[AMDGPU] Simplify and document waitcnt handling on call and return (#172453)
Start documenting the ABI conventions for dependency counters on
function call and return.
Stop pretending that SIInsertWaitcnts can handle anything other than the
default documented behavior.
compiler.mk: Update COMPILER_VERSION comment
The comment was not correct for compilers with a major version >= 10.
Reviewed by: bapt, dim
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54509
[X86] combineConcatVectorOps - concat fma chains which share concatenated operands (#174401)
We often have fma chains that reuse operands down the chain (e.g mathlib
taylor series expansion) - FMA(FMA(X,Y,Z),X,W) etc.
This patch attempts to at least see if there is an inner FMA node with
repeated operands that could share the cost of concatenation (but not if
they are free already)
Enable printing newlines and indents in attribute and type printers (#87948)
This commit moves the code responsible for adding newlines and tracking
indent, so that it can be used not only for operation printers, but also
for attribute and type printers.
It could be useful for nested attributes, where proper formatting with
newlines and indents would benefit the readability of the IR. Currently,
everything is printed on one line, which makes it difficult to read if
the attribute is more verbose and there are multiple levels of nesting.
Co-authored-by: Andruszkiewicz, Jacenty <andruszkiewicz.jacenty at intel.com>
divert: Use a jenkins hash to select the target socket
Using the pf state ID turned out to be a bad choice: we store the
big-endian representation of a global counter, so low bits are typically
zero.
divert: Define semantics for SO_REUSEPORT_LB on divert sockets
Allow SO_REUSEPORT_LB to be set on divert sockets. If set, then bind()
will add the socket to a "load-balancing group". When a divert-to rule
matches a port with an associated group, the corresponding state ID is
used to select a specific socket from the group. Packets without an
associated state are simply forwarded to the first socket in the group.
This implementation is simple but has some caveats, the main one being
that if sockets are added to the group while flows are being processed,
the size of the group will change and this changes the mapping of state
IDs to sockets. So, to get a consistent mapping, the divert socket
application must bind all of its sockets before any traffic is processed
by pf.
pf: Rationalize the ip_divert_ptr test
If a rule has a divert port set, then we can reasonably predict that
ipdivert.ko is loaded, and in particular that ip_divert_ptr is set.
Moreover, in this case, if ipdivert.ko is not loaded we should just drop
the packet instead of ignoring the divert rule.
No functional change intended.
ipdivert: Use CK_SLISTs for the divcb hash table
The hash table is accessed in ip_divert_packet(), and there the accesses
are synchronized only by the net epoch, so plain SLIST is not safe.
accessibility/accesskit-c: add 0.17
Note that this is not the latest upstream version. This specific
version is required for an optional x11-toolkits/gtk40 feature in
the next update.
PR: 292048
glib2 glib2-tools gdbus-codegen: updated to 2.86.3
Overview of changes in GLib 2.86.3, 2025-12-08
* Fix several security vulnerabilities of varying severity (see below for
details)
* Bugs fixed:
- (CVE-2025-13601) (#YWH-PGM9867-134) Incorrect calculation of buffer
size in g_escape_uri_string() (Philip Withnall)
- (#YWH-PGM9867-145) Buffer underflow on Glib through glib/gvariant via
bytestring_parse() or string_parse() leads to OOB Write (Philip Withnall)
- GIO: Integer overflow in file attribute escaping (Philip Withnall)
- Backport !4901 “Issue 3819: G_FILE_MONITOR_WATCH_HARD_LINK does not
monitor files on Windows.” to glib-2-86
- Backport !4914 “gconvert: Error out if g_escape_uri_string() would
overflow” to glib-2-86
- Backport !4933 “gvariant-parser: Fix potential integer overflow
parsing (byte)strings” to glib-2-86
[133 lines not shown]
[flang] change yielded iv value to be `iv + step` (#174124)
In cases where induction variables are used after the loop, like
```
write(*,*) (a(j),j=1,10)
print *, j
```
the incremented value should be used. Updating the FIRToSCF pass to
support this.
Start adding an exercise mode for programs under test.
In exercise mode we collect data for every available counter on a
program and keep all of that in a directory in /tmp.
Start adding an exercise mode for programs under test.
In exercise mode we collect data for every available counter on a
program and keep all of that in a directory in /tmp.
[ThinLTO][COFF] Pass loop and slp vectorize options to LTO backend (#173041)
Commit 21a4710c67 added this for ELF, this patch does the same for COFF.
The differences in codegen were noticed whilst testing DTLTO for COFF.