py-astroid: updated to 4.1.1
4.1.1
Let UnboundMethodModel inherit from FunctionModel to improve inference of
dunder methods for unbound methods.
Filter Unknown from UnboundMethod and Super special attribute
lookup to prevent placeholder nodes from leaking during inference.
[VPlan] Remove verifyEVLRecipe (#182798)
In #182254 we want to start aborting compilation when the verifier fails
between passes, but currently we run into various EVL related failures.
The EVL is used in quite a few more places than when the verification
was originally added, all of which need to be handled by the verifier. I
think this is also exacerbated by the fact that many recipes nowadays
are converted to concrete recipes later in the pipeline which duplicates
the number of patterns we need to match.
The EVL transform itself has also changed much since its original
implementation, i.e. non-trapping recipes don't use EVL (#127180) and VP
recipes are generated via pattern matching instead of unconditionally
(#155394), so I'm not sure if the verification is as relevant today.
Rather than try to add more patterns this PR removes the verification to
reduce the maintainence cost. Split off from #182254
sys/_offsetof.h: pacify GCC 12's macro redefinition check
GCC 12 has a strict definition of identity (all characters including
whitespace must be identical) when comparing "redefined" macros. Make
our definition exactly match the stddef.h that comes with GCC to fix
test-includes of netlink/netlink_snl.h. (Note: later versions of GCC
are a bit more flexible and don't have this problem.)
Reported by: des
Sponsored by: DARPA, AFRL
Fixes: 2adc3f0db187 ("stddef.h: centralize definition of offsetof()")
py-stevedore: updated to 5.7.0
5.7.0
* Add typing classifier
* Enable logging related ruff checks
* Run mypy from tox
* Delay string interpolations at logging calls
* Remove reference to tag framework
[InstCombine] Fold icmp (vreduce_(or|and) %x), (0|-1) (#182684)
We can just compare the entire bitcasted value against Zero or AllOnes
in this case.
It is profitable on all major targets: https://godbolt.org/z/o7ecKjbsK
textproc/tree-sitter: update to version v0.25.10.
Although there are newer versions, this is the newest version that will work
with our in-tree editors/neovim.
Diff from Laurent Cheylus. I added/adjusted some comments to better reflect the
situation WRT versions and the tree-sitter-cli program.
[AArch64][GlobalISel] Combine to sqxtn pre legalization for FewerElements (#181163)
Post legalization we will not have v2i64 MIN and MAX, which prevents the
recognition of saturating truncates. This changes the combiner rules to
combine pre-legalization, providing that the vector operation will be
clamped (like a v4i64).
rework grabword() a bit; plug a leak
spotted thanks to Han Boetes (hboetes at gmail) providing a diff to plug
a leak in the asprintf() usage. While here though, rework it to avoid
hitting asprintf() per character. Han agrees.
[CMake] Don't try to reuse PCH if PCH is disabled (#182819)
Very recently, CMake started to emit warnings if REUSE_FROM is used but
the source has PCH disabled. Therefore, before using REUSE_FROM, check
that PCH is not disabled.
[MLIR][Python] Add C and Python API for `mlir::DynamicAttr` (#182820)
This PR adds C and Python API support for `mlir::DynamicAttr`. It
primarily enables attributes in dialects that are dynamically generated
via IRDL to be constructed in Python, and allows retrieving the
parameters contained in a dynamic attribute from Python.
This PR is quite similiar to #182751, so I use tab to autocomplete some
code via github copilot, but manually verified.
[Flang][OpenMP] Fix crash privatizing USE'd module variable in BLOCK (#182060)
Module variables accessed via USE inside a BLOCK nested in an OpenMP
construct (parallel do, taskloop) crash during lowering because the host
symbol box doesn't exist yet — the BLOCK hasn't been lowered when
privatization runs.
The fix instantiates the module global on demand in the
DataSharingProcessor before privatization, and adds a fallback from
lookupOneLevelUpSymbol to lookupSymbol in privatizeSymbol for symbols
bound at the current scope level.
Fixes : [#161183 ](https://github.com/llvm/llvm-project/issues/161183)
---------
Co-authored-by: Chandra Ghale <ghale at pe31.hpc.amslabs.hpecorp.net>
[lldb] address memory leakage in lldb-server (#177572)
lldb-server has exhibited fairly unexpected behaviour. The time each
iteration of the main loop takes (attach + spawn a child process) has
been progressively increasing over the course of the lldb-server
execution. For instance, at the beginning of the remote tests run (when
a single instance of lldb-server on the remote side processes all the
incoming connections), each iteration took approximately 0.1 seconds,
increasing to 1.5 seconds by the end.
The analysis of the lldb-server application indicates that the
__libc_fork function takes more and more time on each iteration. The
most plausible interpretation of this fact would appear to be that the
application accumulates a certain resource that the fork function
subsequently had to process.
The following investigation has shown that the memory leakage did seem
to take place during the lldb-server execution. After the spawn of a
child process lldb-server additionally creates a monitoring thread, the
[25 lines not shown]