[clang-repl] Fix Value's move ctor releasing storage on construction (#200888)
Value::Value(Value &&) called Release() on the just-moved-into storage,
decrementing the refcount to zero on the only remaining reference.
Subsequent reads -- including ~Value() running clear(), which calls
Release() a second time on the now-freed allocation -- hit
use-after-free.
The move should transfer the existing reference: the source clears
IsManuallyAlloc so its destructor will not Release, and *this assumes
ownership of the same refcount. Neither side needs to Retain or Release
to keep the count correct.
Add a regression test exercising move-construction, move-assignment, and
follow-on copy-construction on a K_PtrOrObj Value. AddressSanitizer
catches the bug without the fix.
[InstCombine] Drop `ninf` FMF when input element can be `Inf` in shuffle-select transform (#201315)
Solves https://github.com/llvm/llvm-project/issues/74326
When binary operation has `ninf` FMF, but the input does not have
`nofpclass(inf)`, we should not propagate the `ninf` FMF. Because the
transformation may produce poison value when the input has an `Inf`
element, whereas the original code will simply pass through the `Inf`
element.
Alive proof: https://alive2.llvm.org/ce/z/nkv-vE
[InstCombine] Migrate undef -> poison only for certain cast-related optimizations (#201631)
Further deprecate UndefValue by restricting several related
optimizations in InstCombineCasts to PoisonValue only. Update regression
tests to reflect these changes.
tnfrepo-dev: Update to tnfrepo-0.0a20250823.dev151
- Eliminate spurious warnings when there are no draft topics to push
and no draft topics to prune in the anongit bridge.
- Link to some hg issues.
- Fix bug in suppression of hg<7.2 and hg>=7.2 differences in test.
tnfrepo-dev: Update to tnfrepo-0.0a20250823.dev142
- Fix issues with hg>=7.2.
- Specify default branch name in git tests to avoid reliance on my
~/.gitconfig (should maybe run all the tests with GIT_CONFIG set to
avoid thsi!).
tnfrepo-dev: Update to tnfrepo-0.0a20250823.dev140
- Add support for anonymous host.
- Make git-cvsmirror slightly less noisy.
- Make synchronous git-cvsmirror optional.
- New git netbsd.draft-view hack in lieu of GIT_NAMESPACE for cgit.
- Set various config options:
. disable streaming clones without bundles to reduce server locks
. set web.deny_pushes to more nicely decline pushes via http
- Fix and test external http(s) URLs in build-clonebundles.
- Disable stream bundles for now because nonreproducible hashes.
tnfrepo-dev: Update to tnfrepo-0.a20250823.dev127
- New github-mirror script.
- Add uwsgi and cgit dependencies. Not really needed for main repo
server, but it will be convenient for anonymous repo server.
- Various minor fixes.
tnfrepo-dev: Update to tnfrepo-0.0a20250823.dev92.
Reject certain patterns of commit messages: fixup!, squash!, WIP;
this will help to avoid mistakes in drafting changes.
tnfrepo-dev: Update to tnfrepo-0.0a20250823.dev95
- Git configuration is now consolidated.
- Git upload filters for partial clones (tree:0, blob:none) are now
allowed allowed.
- Git maintenance is now configured.
tnfrepo-dev: Update to tnfrepo-0.0a20250823.dev79.
- Fix ACLs so users can't publish drafts they couldn't push as public
to begin with.
- Fix some reject_hgmeta patterns for evil file paths.
- Reduce ACL checks from O(n^2) time to O(n) time for n changesets.
- Avoid long error.Abort(...) messages to avoid server-side crashes:
Mercurial issue 10042: hook API: raise error.Abort(...) string
limited to 255 bytes
https://foss.heptapod.net/mercurial/mercurial-devel/-/issues/10042
tnfrepo-dev: Update to tnfrepo-0.0a20250823.dev57.
Lots of changes in preparation for deployment, including an
almost-complete releng process, updated ACLs, and certain defences
against dark arts.
tnfrepo-dev: Update to tnfrepo-0.0a20250823.dev21.
Fixes one rough edge in git-pushing topics: force-pushes that replace
multiple commits by multiple commits.
tnfrepo-dev: Update to tnfrepo-0.0a20250823.dev20.
Brings support for pushing and pulling topics, as a proof of concept.
Some rough edges doubtless remain.