LLVM/project a227dc7llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp, llvm/test/CodeGen/RISCV combine-is_fpclass.ll

[DAG] visitIS_FPCLASS - fold to constant when result is fully determined by KnownFPClass (#193737)

This PR teaches `DAGCombiner::visitIS_FPCLASS` to fold directly to
constant `true` based on the source's `KnownFPClass`, instead of only
narrowing the test mask.

Prep work to help with https://github.com/llvm/llvm-project/pull/193672
DeltaFile
+10-0llvm/test/CodeGen/RISCV/combine-is_fpclass.ll
+4-0llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+14-02 files

LLVM/project f64e8d1llvm/include/llvm/Analysis VecFuncs.def, llvm/include/llvm/IR RuntimeLibcalls.td

[AMDLIBM] Remove the mapping of the deleted vector call (#193760)

Removing the mapping of deleted vector from the
[amdlibm_vec.h](https://github.com/amd/aocl-libm-ose/blob/master/include/external/amdlibm_vec.h)
DeltaFile
+58-0llvm/test/Transforms/LoopVectorize/X86/amdlibm-calls.ll
+0-1llvm/include/llvm/Analysis/VecFuncs.def
+0-1llvm/include/llvm/IR/RuntimeLibcalls.td
+58-23 files

LLVM/project 2155bfbllvm/include/llvm/CodeGen TargetInstrInfo.h

Update llvm/include/llvm/CodeGen/TargetInstrInfo.h

Co-authored-by: Sam Elliott <aelliott at qti.qualcomm.com>
DeltaFile
+1-1llvm/include/llvm/CodeGen/TargetInstrInfo.h
+1-11 files

LLVM/project a48159dllvm/lib/Target/AArch64 AArch64SystemOperands.td, llvm/lib/Target/AArch64/AsmParser AArch64AsmParser.cpp

[AArch64][llvm] Remove support for FEAT_MPAMv2_VID (#193191)

`FEAT_MPAMv2_VID` instructions and system registers, as introduced
in change d30f18d2c, are being removed at this time, as they've been
removed from the latest Arm ARM, which doesn't preclude them returning
in some form in future.

Other system registers introduced with `FEAT_MPAMv2` are unaffected,
and these continue to be ungated, but since `+mpamv2` gating is now
empty,
I'm removing this superfluous gating code.
DeltaFile
+5-86llvm/test/MC/AArch64/armv9.7a-mpamv2.s
+0-36llvm/lib/Target/AArch64/AArch64SystemOperands.td
+5-17llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+0-18llvm/test/MC/AArch64/armv9.7a-mpamv2-diagnostics.s
+2-12llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
+0-10llvm/test/CodeGen/AArch64/aarch64-sys-intrinsic.ll
+12-1797 files not shown
+13-20513 files

LLVM/project cedcf18clang/include/clang/Sema Sema.h, clang/lib/Sema SemaDecl.cpp

[Clang][Sema] Change `ExtnameUndeclaredIdentifiers` to MapVector. (#193924)

Iteration order of this map does not matter for compilation, except that
since 475f71e8fa15ee71f99e450a0e1c90d3961005f9, this data is dumped into
precompiled header files and thus affects content of those files.

To make precompiled header file contents deterministic, changing its
type to one that has deterministic iteration order, matching the nearby
`WeakUndeclaredIdentifiers`.

Fixes #193923
DeltaFile
+102-0clang/test/PCH/pragma-redefine-extname.h
+10-0clang/test/PCH/pragma-redefine-extname.c
+3-3clang/lib/Sema/SemaDecl.cpp
+2-1clang/include/clang/Sema/Sema.h
+117-44 files

LLVM/project 9002048llvm/test/CodeGen/X86 masked-srem.ll masked-urem.ll

[X86] masked div/rem tests - fix avx512 and add sse4/avx2 test coverage (#193933)

Noticed the incorrect "-mattr=+avx512" attribute, and replaced it with proper x86-64-v* level test coverage
DeltaFile
+836-297llvm/test/CodeGen/X86/masked-srem.ll
+828-305llvm/test/CodeGen/X86/masked-urem.ll
+836-297llvm/test/CodeGen/X86/masked-sdiv.ll
+826-302llvm/test/CodeGen/X86/masked-udiv.ll
+3,326-1,2014 files

LLVM/project 3fa0ac2lldb/include/lldb/Target MemoryRegionInfo.h, lldb/source/Target MemoryRegionInfo.cpp

Reland "[lldb][Linux] Read memory protection keys for memory regions (#193934)" (#193936)

This reverts commit 390a29ea833965f481a7011b07deed9612229d6e.

Two tests failed on the X86 buildbot but not in GitHub CI because the
buildbot has protection keys and the CI machines do not. I ran the tests
on an AArch64 host without protection keys, and only selected tests on a
simulated AArch64 machine with protection keys, so I did not find this
earlier.

The fix was to add "protection-key" to the list of possible
qMemoryRegionInfo response keys.
DeltaFile
+40-0lldb/unittests/Process/Utility/LinuxProcMapsTest.cpp
+20-0lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
+17-0lldb/test/API/linux/aarch64/permission_overlay/TestAArch64LinuxPOE.py
+8-8lldb/source/Target/MemoryRegionInfo.cpp
+10-1lldb/include/lldb/Target/MemoryRegionInfo.h
+5-0lldb/test/API/linux/aarch64/permission_overlay/main.c
+100-96 files not shown
+116-912 files

FreeBSD/ports b39c6f1devel Makefile, devel/lazymake Makefile distinfo

devel/lazymake: New port: TUI for browsing and executing Makefile targets
DeltaFile
+20-0devel/lazymake/Makefile
+5-0devel/lazymake/distinfo
+4-0devel/lazymake/pkg-descr
+1-0devel/Makefile
+30-04 files

LLVM/project cc0913eclang/lib/AST/ByteCode Compiler.cpp, clang/test/AST/ByteCode records.cpp

[clang][bytecode] Fix `MemberExpr`s with a static member (#193902)

We need logic to load from the reference pointer, similar to the one we
have for regular `DeclRefExpr`s.
DeltaFile
+19-14clang/lib/AST/ByteCode/Compiler.cpp
+31-0clang/test/AST/ByteCode/libcxx/static-reference-load.cpp
+16-1clang/test/AST/ByteCode/records.cpp
+66-153 files

LLVM/project 9df51a9mlir/include/mlir/Dialect/LLVMIR NVVMOps.td, mlir/lib/Dialect/LLVMIR/IR NVVMDialect.cpp

[MLIR][NVVM] Add `nvvm.sin` OP (#193775)

Implement `nvvm.sin` with ftz flag
DeltaFile
+25-0mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
+15-0mlir/test/Dialect/LLVMIR/nvvm-transcendentals.mlir
+15-0mlir/test/Target/LLVMIR/nvvm/transcendentals.mlir
+10-0mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
+65-04 files

LLVM/project 23ea736llvm/lib/Analysis AliasAnalysisEvaluator.cpp, llvm/test/Analysis/BasicAA atomics.ll

[AAEval] Print ModRefInfo for atomic operations (#193935)

Print ModRefInfo for fence, atomicrmw, etc. Also for atomic
load and store, as these may have additional effects beyond
what is implied by the simple alias result.
DeltaFile
+181-0llvm/test/Analysis/BasicAA/atomics.ll
+26-23llvm/lib/Analysis/AliasAnalysisEvaluator.cpp
+207-232 files

LLVM/project 6771384llvm/docs LangRef.rst

[LangRef] Specify that syncscopes can affect the monotonic modification order

If a target specifies that atomics with mismatching syncscopes appear
non-atomic to each other, there is no point in requiring them to be ordered in
the monotonic modification order. Notably, the [AMDGPU target user
guide](https://llvm.org/docs/AMDGPUUsage.html#memory-scopes) has specified
syncscopes to relax the modification order for years.

So far, I haven't found an example where this less constrained ordering would
be observable (at least with the AMDGPU inclusive scope rules). Whenever a load
would be able to see two monotonic stores with non-inclusive scope, that's
considered a data race (i.e., the load would return `undef`), so it cannot be
used to observe the order of the stores.
DeltaFile
+13-9llvm/docs/LangRef.rst
+13-91 files

LLVM/project 390a29elldb/include/lldb/Target MemoryRegionInfo.h, lldb/source/Target MemoryRegionInfo.cpp

Revert "[lldb][Linux] Read memory protection keys for memory regions" (#193934)

Reverts llvm/llvm-project#182246

Test failures on x86 bot:
```
Failed Tests (2):
  lldb-api :: tools/lldb-server/TestGdbRemote_qMemoryRegion.py
  lldb-api :: tools/lldb-server/libraries-svr4/TestGdbRemoteLibrariesSvr4Support.py
```
DeltaFile
+0-40lldb/unittests/Process/Utility/LinuxProcMapsTest.cpp
+0-20lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
+0-17lldb/test/API/linux/aarch64/permission_overlay/TestAArch64LinuxPOE.py
+8-8lldb/source/Target/MemoryRegionInfo.cpp
+1-10lldb/include/lldb/Target/MemoryRegionInfo.h
+0-5lldb/test/API/linux/aarch64/permission_overlay/main.c
+9-1005 files not shown
+9-11511 files

LLVM/project d60a0e2llvm/docs AMDGPUUsage.rst

[AMDGPUUsage] Specify what one-as syncscopes do

This matches the currently implemented and (as far as I could determine)
intended semantics of these syncscopes.
The sync scope table is unchanged except for removing its indentation;
otherwise it would be rendered as part of the preceding note.
DeltaFile
+89-77llvm/docs/AMDGPUUsage.rst
+89-771 files

LLVM/project ee4f9e0llvm/docs AMDGPUUsage.rst LangRef.rst

[LangRef][AMDGPU] Specify that syncscope can cause atomic operations to race

Targets should be able to specify that the syncscope of atomic operations
influences whether they participate in data races with each other.

For example, in AMDGPU, we want (and already implement) the load in the
following case to be in a data race (i.e., return `undef` according to the
current definition), because there is an atomic store with workgroup syncscope
executing in a different workgroup:

```
; workgroup 0:
  store atomic i32 1, ptr %p syncscope("workgroup") monotonic, align 4

; workgroup 1:
  store atomic i32 2, ptr %p syncscope("workgroup") monotonic, align 4
  load atomic i32, ptr %p syncscope("workgroup") monotonic, align 4
```


    [3 lines not shown]
DeltaFile
+4-1llvm/docs/AMDGPUUsage.rst
+2-1llvm/docs/LangRef.rst
+6-22 files

LLVM/project e2159f8llvm/docs LangRef.rst

[LangRef] Allow monotonic & seq_cst accesses to inter-operate with other accesses (#189014)

Currently, the LangRef says that atomic operations (which includes `unordered`
operations, which don't participate in the monotonic modification order) must
read a value from the modification order of monotonic operations.

In the following example, this means that the load does not have a store it
could read from, because all stores it may see do not participate in the
monotonic modification order:

```
; thread 0:
  store atomic i32 1, ptr %p unordered, align 4

; thread 1:
  store atomic i32 2, ptr %p unordered, align 4
  load atomic i32, ptr %p unordered, align 4
```


    [19 lines not shown]
DeltaFile
+12-10llvm/docs/LangRef.rst
+12-101 files

NetBSD/pkgsrc Pwcm87pdoc CHANGES-2026

   Updated www/py-scrapy, converters/py-simplejson
VersionDeltaFile
1.2556+3-1doc/CHANGES-2026
+3-11 files

NetBSD/pkgsrc pzcf4ZPconverters/py-simplejson distinfo Makefile

   py-simplejson: updated to 4.1.0

   Version 4.1.0 released 2026-04-22

   * The C extension now accelerates encoding when ``indent=`` is set.
     Previously the encoder fell back to the pure-Python implementation
     whenever a non-None ``indent`` was passed; now the C encoder emits
     the newline-plus-indent prefix, the level-aware item separator, and
     the closing indent directly.  A representative nested-dict workload
     benchmarks about 4-5x faster end-to-end, and the ``indent=0`` and
     empty-container edge cases continue to match the Python output
     byte-for-byte.

   * The C extension now emits PEP 678 ``exc.add_note()`` annotations on
     serialization failures, matching the pure-Python encoder.  A chained
     error on ``{'a': [1, object(), 3]}`` produces the same three notes
     (``when serializing object object``, ``when serializing list item 1``,
     ``when serializing dict item 'a'``) whether the speedups are loaded
     or not, so the add_note assertions in ``test_errors.py`` no longer
     need ``indent=2`` to force the Python path.
VersionDeltaFile
1.46+4-4converters/py-simplejson/distinfo
1.59+2-2converters/py-simplejson/Makefile
+6-62 files

NetBSD/pkgsrc 9BwsuoGwww/py-scrapy distinfo Makefile

   py-scrapy: updated to 2.15.1

   Scrapy 2.15.1 (2026-04-23)

   Bug fixes

   - Sharing of the SSL context between multiple connections, introduced in
     Scrapy 2.15.0, is reverted as it caused problems and wasn't actually
     needed.

   - Fixed :meth:`scrapy.settings.BaseSettings.getwithbase` failing on keys with
     dots that aren't import names. It now works the way it worked before Scrapy
     2.15.0, without trying to match class objects and import path. A separate
     method,
     :func:`~scrapy.settings.BaseSettings.get_component_priority_dict_with_base`,
     was added that does that, and it is now used for :ref:`component priority
     dictionaries <component-priority-dictionaries>`.

   - Documentation rendering improvements.
VersionDeltaFile
1.28+4-4www/py-scrapy/distinfo
1.38+2-2www/py-scrapy/Makefile
+6-62 files

LLVM/project 69724c8lldb/include/lldb/Target MemoryRegionInfo.h, lldb/source/Target MemoryRegionInfo.cpp

[lldb][Linux] Read memory protection keys for memory regions (#182246)

Memory protection keys
(https://docs.kernel.org/core-api/protection-keys.html) are implemented
using two things:
* A key value attached to each page table entry.
* A set of permissions stored somewhere else (in a register on AArch64
and X86), which is indexed into by that protection key.

So far I have updated LLDB to show the permissions part on AArch64 Linux
by reading the por register. Now I am adding the ability to see which
key each memory region is using.

```
(lldb) memory region --all
[0x0000000000000000-0x000aaaae3b140000) ---
[0x000aaaae3b140000-0x000aaaae3b150000) r-x /tmp/test_lldb/linux/aarch64/permission_overlay/2/TestAArch64LinuxPOE/a.out PT_LOAD[0]
protection key: 0
[0x000aaaae3b150000-0x000aaaae3b160000) rw- /tmp/test_lldb/linux/aarch64/permission_overlay/2/TestAArch64LinuxPOE/a.out

    [27 lines not shown]
DeltaFile
+40-0lldb/unittests/Process/Utility/LinuxProcMapsTest.cpp
+20-0lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
+17-0lldb/test/API/linux/aarch64/permission_overlay/TestAArch64LinuxPOE.py
+8-8lldb/source/Target/MemoryRegionInfo.cpp
+10-1lldb/include/lldb/Target/MemoryRegionInfo.h
+5-0lldb/test/API/linux/aarch64/permission_overlay/main.c
+100-95 files not shown
+115-911 files

NetBSD/pkgsrc tbcGQjcdoc CHANGES-2026

   Updated devel/py-filelock, devel/py-faker
VersionDeltaFile
1.2555+3-1doc/CHANGES-2026
+3-11 files

NetBSD/pkgsrc KUTwlpIdevel/py-faker PLIST distinfo

   py-faker: updated to 40.15.0

   40.15.0 - 2026-04-17

   * Add job providers for `ar_DZ` and `fr_DZ` locales
   * Add company providers for `ar_DZ` and `fr_DZ` locales
   * Add geo providers for `ar_DZ` and `fr_DZ` locales
   * Add currency providers for `ar_DZ` and `fr_DZ` locales
   * Add `date_time` provider for `ar_DZ` locale
   * Add ssn providers for `ar_DZ` and `fr_DZ` locales
VersionDeltaFile
1.71+34-1devel/py-faker/PLIST
1.111+4-4devel/py-faker/distinfo
1.117+2-2devel/py-faker/Makefile
+40-73 files

NetBSD/pkgsrc 2Gaxpwrdevel/py-filelock distinfo Makefile

   py-filelock: updated to 3.29.0

   3.29.0

   fix(async): use single-thread executor for lock consistency
   feat(soft): enable stale lock detection on Windows
VersionDeltaFile
1.44+4-4devel/py-filelock/distinfo
1.45+2-2devel/py-filelock/Makefile
+6-62 files

NetBSD/pkgsrc Wc4sEvCdoc CHANGES-2026

   Updated security/opensc, devel/py-greenlet
VersionDeltaFile
1.2554+3-1doc/CHANGES-2026
+3-11 files

NetBSD/pkgsrc Q5Wct6Zdevel/py-virtualenv Makefile

   py-virtualenv: use PY_RENAME_BINARIES
VersionDeltaFile
1.108+4-6devel/py-virtualenv/Makefile
+4-61 files

NetBSD/pkgsrc ya1hjgMdevel/py-greenlet distinfo Makefile

   py-greenlet: updated to 3.4.0

   3.4.0 (2026-04-08)

   - Publish binary wheels for RiscV 64.
   - Fix multiple rare crash paths during interpreter shutdown.

     Note that this now relies on the ``atexit`` module, and introduces
     subtle API changes during interpreter shutdown (for example,
     ``getcurrent`` is no longer available once the ``atexit`` callback fires).

   - Address the results of an automated code audit performed by
     Daniel Diniz. This includes several minor correctness changes that
     theoretically could have been crashing bugs, but typically only in
     very rare circumstances.

   - Fix several race conditions that could arise in free-threaded
     builds when using greenlet objects from multiple threads, some of
     which could lead to assertion failures or interpreter crashes.
VersionDeltaFile
1.37+4-4devel/py-greenlet/distinfo
1.39+2-2devel/py-greenlet/Makefile
+6-62 files

FreeBSD/ports 6261726x11-wm/mango distinfo Makefile

x11-wm/mango: Update to 0.12.9

ChangeLog:      https://github.com/mangowm/mango/releases/tag/0.12.9
Reported by:    DreamMaoMao <notifications at github.com>
DeltaFile
+3-3x11-wm/mango/distinfo
+1-1x11-wm/mango/Makefile
+4-42 files

NetBSD/pkgsrc DLRTOjBsecurity/opensc distinfo Makefile

   opensc: updated to 0.27.1

   New in 0.27.1; 2026-03-31

   * Bugfix release to fix up infrastructure issues.

   New in 0.27.0; 2026-03-30

   Security
   * CVE-2025-13763: Several uses of potentially uninitialized memory detected by fuzzers
   * CVE-2025-49010: Possible write beyond buffer bounds during processing of GET RESPONSE APDU
   * CVE-2025-66215: Possible write beyond buffer bounds in oberthur driver
   * CVE-2025-66038: Possible read beyond buffer bounds when parsing historical bytes in PIV driver
   * CVE-2025-66037: Possible buffer overrun while parsing SPKI
   * More low-severity data handling issues when parsing profile configuration

   General improvements
   * Added support for PKCS#11 3.2 in tools and pkcs11-spy and p11test
   * Added support for Ed448, X448 mechanisms and improve support for

    [52 lines not shown]
VersionDeltaFile
1.27+4-4security/opensc/distinfo
1.57+2-3security/opensc/Makefile
+6-72 files

LLVM/project faf37adclang/utils/TableGen ClangOptionDocEmitter.cpp

[Clang] Use const std::string & in ClangOptionDocEmitter. NFC. (#193926)

Fixes #94373
DeltaFile
+1-1clang/utils/TableGen/ClangOptionDocEmitter.cpp
+1-11 files

FreeBSD/ports 8b32d76lang/gnat14 pkg-plist

lang/gnat14: fix plist on aarch64
DeltaFile
+1-1lang/gnat14/pkg-plist
+1-11 files