[GlobalISel][AArch64] Legalize PHIs with vectors smaller than 64-bits (#207356)
New legalization rule added as the last to not change legalization of
small vectors in existing tests.
[libc++] Run the libcxx-run-benchmarks action on macOS in addition to Linux (#207780)
The libcxx-run-benchmarks action is triggered when a specially formatted
comment is posted on a PR, requesting benchmarks to be run against that
PR. This patch expands the Github action so it also runs benchmarks on
the macOS CI resources that were added recently.
[AMDGPU] Fix printf %s buffer slot oversized when strlen % 4 == 0 (#207772)
The metadata slot for a constant string %s used alignTo(strlen + 1, 4),
but the store loop only writes ceil(strlen / 4) dwords (no trailing
NUL), so every following argument was read from offset shifted by +4
[libc][test] Remove internal linkage from ErrnoSetterMatcher helpers (NFC) (#207707)
`Succeeds`, `Fails`, and `returns` are static function templates in a
header, so any test TU that includes it without using all of them trips
`-Wunused-template`. Dropping static also matches the neighboring EQ/NE
helpers, which are already non-static.
Part of #202945.
if_ovpn: Fix memory leak in VNET during unload
Unloading if_ovpn while it's in use by other vnets causes
memory leaks and panics.
Fix this by reverting VNET_SYSUNINIT and adjusting the SI_SUB
initialization order.
Reviewed by: markj
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D54175
ValueTracking: Improve frexp known range from dominating conditions
Try to restrict the known range of the exponent result of llvm.frexp
based on dominating conditions. Identify comparisons that imply the
incoming value cannot introduce an overflow in a downstream ldexp
use. This pattern appears in the implementation of some complex math
functions and allows finite only math to prune out more edge case
paths.
One attributor test for ldexp regresses due to the switch from
computeKnownBits to computeConstantRange. computeConstantRange
does not try to handle non-splat vector constants for the binary
operators.
As a side effect, this also improves knowing that ldexp can't
introduce overflow for the 0 case.
[IR][NVVM] Fixed null pointer deference in AsmWriter pretty printer (#207223)
ASMWriter can deference a null pointer on intrinsics with pretty printed
args when those intrinsics are called with an invalid number of
arguments. This check avoids the null dereference and turns this into a
graceful failure.
py-responses: updated to 0.26.2
0.26.2
* Default headers (such as ``Content-Type``, ``Date`` and ``Server``) are now stripped
from recorded files regardless of header name case. Previously, responses recorded from
servers that send lowercase header names (for example over HTTP/2) kept these redundant
headers in the generated file.
* Fixed `query_param_matcher` mutating the caller's params dict when numeric
values are provided.
[TableGen][CC][NFC] Emit idiomatic guards for CallingConv. (#207758)
Emit independent guards for the two existing sections rather than the
if-else done today. This is in preparation for adding other sections
that must be includable exclusive of the other sections.
This also eliminates the current asymmetry between the automatic
IfGuardEmitter for the "if" portion vs the manually emitted "else"
section.
py-readme_renderer: updated to 45.0
45.0
* Replace ``cmarkgfm`` with ``comrak``
* Support footnotes in Markdown
* Support inline link anchors
* Allow ``class`` attribute on ``<pre>`` tags
* Advertise support for Python 3.13
* Remove support for Python 3.9, pypy 3.9, 3.10
* Remove `python3` alias from Pygments
* Fix test suite for Pygments update
* Fix mypy annotations
* Fix test failure with docutils 0.22
* Fix package metadata
* Fix ignored allowlists on ``clean()``
* Don't abort reStructuredText rendering when a ``:scale:`` image can't be sized
* Disable active input controls in rendered output
[11 lines not shown]
py-nh3: updated to 0.3.6
0.3.6
Validate clean_content_tags conflict with tags
Document tag_attribute_values as alternate to attributes
Add nh3.escape alias for clean_text
Bump pyo3 from 0.28.3 to 0.29.0
Expose ammonia's url_relative policy via url_relative kwarg
[SandboxIR] Fix pass pipeline parsing after aux arguments (#207237)
## Summary
- Fix `sandboxir::PassManager::setPassPipeline` to resume scanning pass
names after a pass aux argument when the next token is a delimiter.
- Add a unit test covering flat pipelines like `foo(aux1),bar`.
This fixes parsing of region pass pipelines such as
`bottom-up-vec(top-down),tr-accept` that will be used by the
SandboxVectorizer.
## Test plan
- [x] `ninja SandboxIRTests`
- [x] `./unittests/SandboxIR/SandboxIRTests
--gtest_filter=PassTest.SetPassPipeline`
Made with [Cursor](https://cursor.com)
Co-authored-by: Cursor <cursoragent at cursor.com>
fssconfig(8): Fix punctuation-o noticed milliseconds after commit.
Prompted by the persistent confusion on my part that led to:
PR bin/60383: fssconfig(8): distinguish between taking and loading a
snapshot
[MIR] Serialize/Deserialize MachineInstr::LRSplit flag (#197362)
The LRSplit MachineInstr flag is set by SplitKit on copies inserted for
live-range splitting.
Until now the flag had no MIR-text representation.
This patch fixes that so that it gets easier to reproduce/capture issues
that involves SplitKit.
Round-trip coverage in
llvm/test/CodeGen/MIR/AMDGPU/lr-split-flag.mir.
fssconfig(8) Rework man page and give more practical examples.
Prompted by the persistent confusion on my part that led to:
PR bin/60383: fssconfig(8): distinguish between taking and loading a
snapshot