[mlir][SPIR-V] Support SaturatedConversion serialization (#231622)
Handle SaturatedConversion as an operand-free decoration during SPIR-V
serialization and deserialization, represented by a unit attribute in
MLIR. This allows saturated integer conversions to round-trip instead of
failing with an unhandled decoration error.
Add round-trip coverage for scalar and vector saturated conversions,
including saturation combined with FPRoundingMode. Also extend rounding
mode coverage across floating-point conversion instructions.
[test][sanitizer_common] Add unit tests for operator new failure handling (#226832)
Test `RunNewHandlerChain`, `NewImplThrowing`, `NewImplNothrow` and
`InvokeOnExhausted` with fake allocation and exhaustion callbacks. The
tests cover handler retries, chain exhaustion, exceptions thrown by a
`std::new_handler`, and the `allocator_may_return_null` exhaustion
policy for throwing and nothrow `operator new`. Sanitizers that adopt
the framework then only need to test their own wiring.
The tests build only where the header includes `<new>` and supports
exceptions, which excludes Windows.
Assisted-by: Claude Opus 5.5
[lldb] Add `scripting extension list --instances` (#226043)
There is currently no way to tell which scripted extensions are alive in
a debug session, or which script file a given extension class came from.
This patch addresses that by resolving, for each extension object, the
file of the module that defines its class, and attributing it to the
object's `ScriptedMetadata`. It tracks every successfully created
extension object in a registry owned by the script interpreter, and
lists them with the new `--instances` flag of `scripting extension
list`, grouped by class. Each instance shows a UUID, the address of its
script object and the arguments it was created with:
```
(lldb) scripting extension list --instances
Instantiated scripted extensions:
--------------------------------------------------------------------------------
Class: resolver.Resolver
Extension: ScriptedBreakpointResolver
[23 lines not shown]
[NVPTX] Set default value of nvptx-allow-ftz-atomics to false
This restores the strict FTZ default originally introduced in #200732
and temporarily relaxed in #206154.
Frontends can now explicitly opt in to native FTZ-mismatched atomics on a
per-instruction basis using !atomic.ignore.denormal.mode metadata (#217585,
#217586), which is supported in Clang, MLIR, and XLA. Users who need the
previous behavior globally can still pass -nvptx-allow-ftz-atomics=true.
Update test cases to verify the new default disallow behavior.
[SimplifyLibCalls] Fix ConstantInt construction based on char (#231159)
char has system-dependent signedness. If it is signed, then these
ConstantInt::get() uses would assert because the value is not a valid 8
bit unsigned value.
Cast to unsigned char to make sure we get a valid value on all
platforms.
Fixes https://github.com/llvm/llvm-project/issues/228213.
(cherry picked from commit b3fe8bb231fb43ae186c9ad38766bffb1e7f8e9a)
[AIX]Fix StaticDiagInfoRec size assertion on AIX (#231576)
#[202624](https://github.com/llvm/llvm-project/pull/202624)
(ee0ff209c3aa) added `static_assert(sizeof(StaticDiagInfoRec) == 10)`,
which breaks the build on AIX
On AIX, the canonical layout of bit-fields stores them in four-byte
words regardless of their declared type, which raises the struct's
alignment to four and pads it to twelve bytes. Applying the `pack`
pragma for compilers that employ the AIX canonical layout allows the
struct to fit within the expected ten bytes. This PR applies the same
fix as 844a02e509a4c, just to a different type.
[LoopIdiom] Recognize terminating right-shift bit tests (#231226)
A guarded hand-written `ctz` loop stays scalar in Clang while GCC
removes it. Recognize the terminating right-shift bit-test pattern so
the loop can become `cttz`; keep loops without a termination proof
unchanged.
Fixes #231219.
[test][llvm-ar] Document chmod cleanup in error-opening-permission.test (#231345)
Add a comment explaining why `chmod 700` is chained with both `&&` and
`|| not`, addressing post-commit review on #230361.
Assisted-by: Gemini
textproc/agcre: Add new package which uses the libagcre library to provide
an egrep-style program for searching.
This is agcre, the egrep-alike which uses the libagcre regular expression
library (see pkgsrc/devel/libagcre) to search for regular expressions
in files or in data streams.
In general, the emphasis is on using a modern, predictable, VM-style,
well-featured regexp library, in C, with an MIT license. In
particular, most Perl regexp features are supported, as are back
references, and UTF-8, and wide characters (wchar_t).
I wouldn't expect anyone to use this as their main regex engine a la egrep
but this may prove food for thought:
% time agcre '(a?){9999}aaaaaaaaaaaaaaaaaaaaaaaaaaaaa' dist/tests/2.in
aaaaaaaaaaaaaaaaaaaaaaaaaaaaa
0.063u 0.000s 0:00.06 100.0% 0+0k 0+0io 0pf+0w
% time egrep '(a?){9999}aaaaaaaaaaaaaaaaaaaaaaaaaaaaa' dist/tests/2.in
[2 lines not shown]
[flang][cuda] register type information pages after all units register (#231619)
Registering the pages of the shared type information calls the CUDA
runtime, which initializes the module. With relocatable device code, the
managed variables registered by later units were then never populated.
Register the pages in the initialization constructor, which runs after
the registration constructors of all the units.
net/liveMedia: Update to 2026.10.13
Add local backup to MASTER_SITES. Upstream doesn't keep an archive of
older releases, so I've set up a script to automatically archive them
locally and to remind me to update the port. This is a team port, so if
anyone else on multimedia@ wants the script, just let me know, but for
now, I'm limited to using my own public_distfiles dir on freefall.
https://download.live555.com/changelog.txt
MFH: 2026Q4
(cherry picked from commit 772c94181c30c549229771e657dbde27da03d9c8)
[ORC] Remove unused RemoteSymbolLookup and signatures. NFC. (#231732)
RemoteSymbolLookup, its SPS serialization, and the SPSLoadDylibSignature
and SPSLookupSymbolsSignature typedefs in SimpleRemoteEPCUtils.h have no
users. (The only user of RemoteSymbolLookup was the unused
SPSLookupSymbolsSignature.)
net/liveMedia: Update to 2026.10.13
Add local backup to MASTER_SITES. Upstream doesn't keep an archive of
older releases, so I've set up a script to automatically archive them
locally and to remind me to update the port. This is a team port, so if
anyone else on multimedia@ wants the script, just let me know, but for
now, I'm limited to using my own public_distfiles dir on freefall.
https://download.live555.com/changelog.txt
MFH: 2026Q4