[VPlan] Add transform to replace VPWidenCanonicalIV with wide IV. (#194267)
Add a new cost-based transform that replaces VPWidenCanonicalIVRecipe
with a canonical VPWidenIntOrFpInductionPHIRecipe, if it does not
increase spills.
The main benefit of VPWidenCanonicalIVRecipe is that it has shorter
live-ranges than wide IV phis. The new transform introduces wide IV
unless VPWidenCanonicalIVRecipe is cheaper or the wide IV introduces
additional spills.
This introduces wide IVs in a number of cases, where previously had
VPWidenCanonicalIVRecipe, because there was no existing wide canonical
IV we could re-use. It should also help avoid somewhat unrelated changes
in https://github.com/llvm/llvm-project/pull/190191.
PR: https://github.com/llvm/llvm-project/pull/194267
workflows/new-prs: Use a GitHub app token (#194092)
This removes one user of the ISSUE_SUBSCRIBER_TOKEN secret, which we
want to eventually remove since secrets are more difficult to maintain.
This also allows use to scope the token with less permissions since it
isn't shared with other workflows.
workflows/pr-subscriber: Use a GitHub app token (#194083)
This removes one user of the ISSUE_SUBSCRIBER_TOKEN secret, which we
want to eventually remove since secrets are more difficult to maintain.
workflows/new-issues: Use a GitHub app token (#194091)
This removes one user of the ISSUE_SUBSCRIBER_TOKEN secret, which we
want to eventually remove since secrets are more difficult to maintain.
This also allows use to scope the token with less permissions since it
isn't shared with other workflows.
[llvm-cov] Use JSON streaming instead of in-memory DOM (#192457)
Use JSON streaming to reduce memory consumption.
JSON output changes for Object. Keys order used to be sorted. Keys are now emitted in the order they are encountered in the code. Updated some tests to match changed order of keys.
Fixes #192465
[libcxx] Remove NODEBUG, ALWAYS_INLINE from __swap_layouts (#194931)
This addresses reviewer feedback on #180102.
We've seen
```
error: No debug information found in function
_ZNSt4__Cr6vectorIN4bssl3der5InputENS_9allocatorIS3_EEE14__swap_layoutsERNS_14__split_bufferIS3_S5_NS_29__split_buffer_pointer_layoutEEE:
Function profile not used [-Werror,-Wbackend-plugin]
```
on an internal bot due to the _LIBCPP_NODEBUG.
games/setrixtui: import setrixtui-0.4.1
Packaged for wip by pin@
Setrixtui is a Setris/Sandtrix-style game in the terminal. Place
coloured blocks; when they lock, they turn into sand.
Clear lines by making a single colour connect the left edge to the
right edge (8-neighbour, path can be diagonal).
Matching piece colours and completing those spans scores points;
remaining sand falls under gravity.
ipsec: fancy up the connections dialog
It's a bit special but save is for the form in particular
and this way we can have native striping. The grids save
on their own and hopefully UI will be clearer now.
Revert "Search for @_thisIsNotAPipe vs _thisIsNotAPipe" (#194929)
Reverts llvm/llvm-project#192132, which broke the `Clang ::
CodeGen/2008-07-31-asm-labels.c` test on mac.
[LifetimeSafety] Generalize invalidating member function detection (#194907)
This PR adds support for invalidating references after reassigning a
`unique_ptr` or calling its `reset` member function.
Previously, invalidation handling was limited to container-like types.
This PR generalizes the helper for detecting invalidating member calls
and adds `unique_ptr`'s `reset` member function as an invalidating one.
Since `unique_ptr` is now handled by this helper, reassignment through
`operator=` is also treated as invalidating.
Fixes #184630
if_gre(4): Fix gre_clone_dump_nl address dump
Fix stack overflow by passing in_aliasreq instead of ifr
during netlink dump.
Fixes: e1e18cc12e68 ("if_gre: Add netlink support with tests")
[CIR] Add some missing NYIs for WeakRefAttr/AliasAttr (#194913)
I found these while poking through something else, we should make sure
these don't get lost, particularly as alias has some significant
functionality.
NAS-140845 / 27.0.0-BETA.1 / Make `pool.is_upgraded` return `false` only if pool needs an upgrade (#18848)
Making `pool.is_upgraded` return `false` for non-existing pools makes
ZFS event handler create false `pool is not upgraded` alerts on pool
removal. `test_outdated_pool_alert_removed_on_pool_delete` test fails.
`ZfsConfigSyncEvent` for removed pool arrives after
`ZfsPoolDestroyEvent`. That provokes `pool.is_upgraded` call for the
pool, which, with old logic, returns `false` (as the pool does not exist
anymore) and a false alert is created.
The best fix performance-wise is to just pass the exception from
`pool.is_upgraded`. There are no external callers for this API, and all
the internal callers are now guarded with `try`/`except` block.
As there are no external callers, let's remove this method from public
API in `27`.
NAS-140496 / 27.0.0-BETA.1 / fix shell for alpine containers (#18789)
Opening a shell from the UI into an Alpine-based container failed with:
```
nsenter: failed to execute capsh: No such file or directory
```
The UI then reconnected in a tight loop, occasionally taking the whole
session offline. Debian/Ubuntu containers were unaffected.
`container.nsenter` built the command:
```
/usr/bin/nsenter --target PID --mount ... -- capsh [opts] -- -c <cmd>
```
`nsenter` switches into the container's mount namespace **before**
exec'ing `capsh`, so `capsh` was looked up inside the container's
[24 lines not shown]