LLVM/project 8153f78libc/src/__support wctype_utils.h CMakeLists.txt, libc/test/src/__support wctype_utils_test.cpp CMakeLists.txt

[libc][wctype] Reland internal UTF8 wctype classification functions (#181468)

Reland #174607

#174607 broke libc++ because the LIBC_CONF_WCTYPE_MODE macro wasn't
defined when called from libc++. Defaulted LIBC_CONF_WCTYPE_MODE to
LIBC_WCTYPE_MODE_ASCII when not configured
(https://github.com/llvm/llvm-project/commit/ffd355b0879066adc9889593570af8f0df85f1a8)
DeltaFile
+536-0libc/test/src/__support/wctype_utils_test.cpp
+361-145libc/src/__support/wctype_utils.h
+12-0libc/test/src/__support/CMakeLists.txt
+11-1libc/src/__support/CMakeLists.txt
+920-1464 files

FreeBSD/ports 81da79bx11-fonts/bdf2sfd distinfo Makefile

x11-fonts/bdf2sfd: Update to 1.2.0
DeltaFile
+3-3x11-fonts/bdf2sfd/distinfo
+1-1x11-fonts/bdf2sfd/Makefile
+4-42 files

LLVM/project e316ea1libc/utils/docgen wctype.yaml

[libc][wctype] Add missing functions to wctype docs (#181478)

#170525

Adds missing wctype.h functions to docs.
DeltaFile
+56-1libc/utils/docgen/wctype.yaml
+56-11 files

LLVM/project e698d03llvm/lib/Analysis ScalarEvolutionDivision.cpp, llvm/test/Analysis/Delinearization wraps.ll multidim_ivs_and_integer_offsets_nts_3d.ll

[SCEVDivision] Prevent propagating nowrap flags when numerator is an addrec (#154745)

In ScalarEvolutionDivision, when the numerator is an addrec, its nowrap
flags are unconditionally propagated to the quotient and remainder.
However, this is not always correct.
This pass is only used by Delinearization, and just dropping these flags
doesn't affect Delinearization's accuracy in almost all cases.
Therefore, this patch conservatively stop propagating the nowrap flags
from the numerator to the quotient and remainder.

Fix #152566
DeltaFile
+145-0llvm/test/Analysis/Delinearization/wraps.ll
+7-7llvm/test/Analysis/ScalarEvolutionDivision/sdiv.ll
+3-2llvm/lib/Analysis/ScalarEvolutionDivision.cpp
+1-1llvm/test/Analysis/Delinearization/multidim_ivs_and_integer_offsets_nts_3d.ll
+1-1llvm/test/Analysis/Delinearization/a.ll
+1-1llvm/test/Analysis/Delinearization/divide_by_one.ll
+158-122 files not shown
+161-138 files

LLVM/project 2bb9885libcxx/docs index.rst, libcxx/docs/ReleaseNotes 22.rst

[libc++] Increase the minimum deployment target on macOS to 11.0 (#176094)

#166172 moved the effective minimum deployment target on macOS to 10.15
(because `aligned_alloc` is not defined before that in the C stdlib),
and indeed, it was mentioned in that PR that libc++ only supports macOS
11 and later.

This PR rectifies the documentation and the code to reflect the actually
supported deployment targets on macOS. See [1] for additional discussion
about this.

[1]: https://discourse.llvm.org/t/minimum-macos-deployment-target-increases-to-11-0-in-v22-1-visibility-discussion-on-update-policy

(cherry picked from commit d4854177dd0513a07e3f2d8b1b5642f8226cead5)
DeltaFile
+3-3libcxx/include/__configuration/availability.h
+1-1libcxx/docs/index.rst
+2-0libcxx/docs/ReleaseNotes/22.rst
+6-43 files

FreeBSD/ports bd02cebdatabases/pg_citus distinfo Makefile

databases/pg_citus: update to 14.0.0

Changes:        https://github.com/citusdata/citus/blob/v14.0.0/CHANGELOG.md

PR:     292443
Reported by:    Kevin Bowling
DeltaFile
+3-3databases/pg_citus/distinfo
+2-2databases/pg_citus/Makefile
+2-0databases/pg_citus/pkg-plist
+7-53 files

LLVM/project 1b246e0lldb/packages/Python/lldbsuite/test/tools/lldb-dap dap_server.py, lldb/test/API/tools/lldb-dap/unknown TestDAP_unknownRequest.py main.c

[lldb-dap] Add unknown request handler (#181109)

Added unknown request handler to avoid crash. Returning error in this
case looks better than stopping entire debug session.

(cherry picked from commit b447f5d9763010f8c6806c578533291aef2bd484)
DeltaFile
+35-0lldb/test/API/tools/lldb-dap/unknown/TestDAP_unknownRequest.py
+19-0lldb/tools/lldb-dap/Handler/UnknownRequestHandler.cpp
+4-6lldb/tools/lldb-dap/DAP.cpp
+9-0lldb/tools/lldb-dap/Handler/RequestHandler.h
+8-0lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py
+6-0lldb/test/API/tools/lldb-dap/unknown/main.c
+81-64 files not shown
+91-610 files

LLVM/project f152625llvm/unittests/Support FormatVariadicTest.cpp

[Support] Fixup for formatting hex on 32 bit (#181338)

Without the `PRIx64`, the test won't work on 32 bit architectures.

See this comment:
https://github.com/llvm/llvm-project/pull/180498#issuecomment-3891979182

The issue is that `PRIx64` expands differently depending on the
architecture. In the original code modified in #180498 the [macro was
used](https://github.com/llvm/llvm-project/pull/180498/changes#diff-5dcf6451d2bf9e9e3a8d28b0212263a8db576045b1d4eab80cca1bfd13a3bb76L356):

```diff
-  OS << format("0x%*.*" PRIx64, HexDigits, HexDigits, Address);
+  OS << formatv("0x{0:x-}",
+                fmt_align(Address, AlignStyle::Right, HexDigits, '0'));
```

I simply didn't use it in my test because on my architecture the
`PRIx64` wasn't necessary.

    [3 lines not shown]
DeltaFile
+3-2llvm/unittests/Support/FormatVariadicTest.cpp
+3-21 files

LLVM/project 8ebd354.github/workflows release-binaries.yml

workflows/release-binaries: Pass missing release-version input to upload-release-artifact (#180879)

This was causing the 22.1.0-rc3 uploads to fail.

(cherry picked from commit 127d77f7abe0b9c54562ee37ce474d99effa09c1)
DeltaFile
+1-0.github/workflows/release-binaries.yml
+1-01 files

LLVM/project e4564bb.github/workflows release-tasks.yml release-documentation.yml

workflows/release-documentation: Add release environment (#181063)

This way we can limit access to the secrets to the main and release
branches.

This is a partial re-commit of b6ee085068972a41f3b2735a9f7e3ca48eab0f00

(cherry picked from commit d0ff94fdeb0732124e163a68f821a8fe2e81013e)
DeltaFile
+0-4.github/workflows/release-tasks.yml
+1-0.github/workflows/release-documentation.yml
+1-42 files

LLVM/project 0211065mlir/lib/Target/LLVMIR/Dialect/OpenMP OpenMPToLLVMIRTranslation.cpp, mlir/test/Target/LLVMIR openmp-teams.mlir openmp-todo.mlir

[OpenMP][MLIR] Add thread_limit mlir->llvm lowering
DeltaFile
+82-49mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+36-0mlir/test/Target/LLVMIR/openmp-teams.mlir
+3-3mlir/test/Target/LLVMIR/openmp-todo.mlir
+3-3mlir/test/Target/LLVMIR/openmp-target-launch-host.mlir
+124-554 files

LLVM/project 2350d0fflang/include/flang/Optimizer/Transforms Passes.td, flang/lib/Optimizer/Passes Pipelines.cpp

[flang] Fix -fno-omit-frame-pointer (#180507)

The PR #163775 added `FramePointerKind::NonLeafNoReserve`. However it
seems it forgot to update some codes in Flang. By this bug,
`frame-pointer` attribute in IR was not set even if
`-fno-omit-frame-pointer` is specified.

Fixes #180118

(cherry picked from commit e2297da21660a0c9f3db90c3effd18f6c17e38e9)
DeltaFile
+5-0flang/test/Driver/func-attr.f90
+3-0flang/lib/Optimizer/Passes/Pipelines.cpp
+2-1flang/include/flang/Optimizer/Transforms/Passes.td
+10-13 files

LLVM/project 9254010clang/lib/Parse ParseTentative.cpp, clang/test/Interpreter access.cpp disambiguate-decl-stmt.cpp

[clang-repl] Fix disambiguation of out-of-line member with private types (#178842)

This patch fixes a bug in clang-repl where out-of-line member function
definitions were incorrectly identified as statements when they involved
private type aliases.

The issue occurred because `isCXXDeclarationStatement` would trigger
immediate access checks during tentative parsing. Since the context of
an out-of-line definition isn't fully established during this phase,
Sema would incorrectly flag private members as inaccessible, causing
the parser to fail the declaration check and fall back to statement
parsing.

Changes:
- In `isCXXDeclarationStatement`, use `TentativeParsingAction` to
  ensure the token stream is fully restored.
- Use `SuppressAccessChecks` during the tentative disambiguation phase
  to prevent premature access errors.
- Ensure that formal access verification still occurs during the

    [8 lines not shown]
DeltaFile
+16-0clang/lib/Parse/ParseTentative.cpp
+15-0clang/test/Interpreter/access.cpp
+2-3clang/test/Interpreter/disambiguate-decl-stmt.cpp
+33-33 files

LLVM/project 88c0a1dllvm/lib/Target/WebAssembly WebAssemblyTargetTransformInfo.cpp WebAssemblyTargetTransformInfo.h, llvm/test/Analysis/CostModel/WebAssembly extract-last-active.ll lit.local.cfg

Revert "[WebAssembly] Mark extract.last.active as having invalid cost." (#181545)

The failures should have been resolved with
https://github.com/llvm/llvm-project/pull/180290 (which also added
WebAssembly tests).

This reverts commit
https://github.com/llvm/llvm-project/commit/811fb223af2b3e2d68c99b346f4b75dcf3de3417.

---

This is the same as #180942, but with a `lit.local.cfg` added to the
CostModel test folder.
DeltaFile
+26-0llvm/test/Analysis/CostModel/WebAssembly/extract-last-active.ll
+0-13llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.cpp
+0-4llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.h
+2-0llvm/test/Analysis/CostModel/WebAssembly/lit.local.cfg
+28-174 files

LLVM/project 074391ellvm/lib/CodeGen TwoAddressInstructionPass.cpp, llvm/test/CodeGen/RISCV twoaddr-tied.mir

[TwoAddressInstruction] Iterate through tied regs when analyzing revcopy (#179940)

Reversed copy is the following chain from FromReg to ToReg:
    %Tmp1 = copy %Tmp2;
    %FromReg = copy %Tmp1;
    %ToReg = add %FromReg ...
    %Tmp2 = copy %ToReg;

TwoAddressInstruction pass tries to preserve or create (by commuting)
such chains. Otherwise, there will be unavoidable copy.

This patch considers operations with tied operand a copy-like ones (in
terms of reversed copy chain), e.g.:
    %Tmp1 = copy %Tmp2;
    %Tmp1 = fma %Tmp1 (tied-def 0), ...
    %FromReg = copy %Tmp1;
    %ToReg = add %FromReg ...
    %Tmp2 = copy %ToReg;


    [16 lines not shown]
DeltaFile
+30-36llvm/test/CodeGen/X86/pmulh.ll
+53-0llvm/test/CodeGen/RISCV/twoaddr-tied.mir
+27-3llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
+110-393 files

LLVM/project 0a3db57bolt/test/runtime/AArch64 instrumentation-ind-call.c

[bolt][nfc] fix typo in test (#181611)

Fixed the typo in instrument-ind-call test
DeltaFile
+2-2bolt/test/runtime/AArch64/instrumentation-ind-call.c
+2-21 files

LLVM/project ee57019libcxx/include/__atomic atomic_waitable_traits.h, libcxx/src atomic.cpp

[libc++] Fix native wait alignment (#180928)

This PR fixes two issues regarding the alignment of native wait:
- In the internal platform call, the local variable is copied from a
potentially non-aligned buffer
- Under the unstable ABI, the predicate to test eligibility of a type
being able to do native wait is purely on size. We should test also the
alignment of such type is qualified for platform call

---------

Co-authored-by: Louis Dionne <ldionne.2 at gmail.com>
(cherry picked from commit 155beb97492e14e29ab7af3a805bbfb97bee1e6b)
DeltaFile
+45-0libcxx/test/libcxx/atomics/atomics.syn/wait.native.compile.pass.cpp
+9-6libcxx/src/atomic.cpp
+6-3libcxx/include/__atomic/atomic_waitable_traits.h
+60-93 files

LLVM/project 51df921llvm/lib/CodeGen/SelectionDAG TargetLowering.cpp DAGCombiner.cpp, llvm/test/CodeGen/X86 vector-fshr-512.ll insertelement-zero.ll

[SelectionDAG] Make sure demanded lanes for AND/MUL-by-zero are frozen (#180727)

DAGCombiner can fold a chain of INSERT_VECTOR_ELT into a vector AND/OR
operation. This patch adds protection to avoid that we end up making the
vector more poisonous by freezing the source vector when the elements
that should be set to 0/-1 may be poison in the source vector.

The patch also fixes a bug in SimplifyDemandedVectorElts for
MUL/MULHU/MULHS/AND that could result in making the vector more
poisonous. Problem was that we skipped demanding elements from Op0 that
were known to be zero in Op1. But that could result in elements being
simplified into poison when simplifying Op0, and then the result would
be poison and not zero after the MUL/MULHU/MULHS/AND. The solution is to
defensively make sure that we demand all the elements originally
demanded also when simplifying Op0.

This bugs were found when analysing the miscompiles in
https://github.com/llvm/llvm-project/issues/179448


    [9 lines not shown]
DeltaFile
+24-22llvm/test/CodeGen/X86/vector-fshr-512.ll
+40-0llvm/test/CodeGen/X86/insertelement-zero.ll
+20-18llvm/test/CodeGen/X86/vector-fshr-rot-512.ll
+12-9llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+10-1llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+7-0llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+113-5010 files not shown
+151-5416 files

LLVM/project bc0a819llvm/lib/Transforms/AggressiveInstCombine AggressiveInstCombine.cpp, llvm/test/Transforms/AggressiveInstCombine/X86 store-merge.ll

[AggressiveInstCombine] Create zext during store merge (#181125)

The top extracted value can include shifted-in zero bits. In that case
we should emit a zext before the new store.

Fixes https://github.com/llvm/llvm-project/issues/181117.

(cherry picked from commit 4167b285e228ee1cfff77f30eee66cbc7b4dd3db)
DeltaFile
+17-0llvm/test/Transforms/AggressiveInstCombine/X86/store-merge.ll
+1-1llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
+18-12 files

OPNSense/core 11ae93asrc/etc/inc interfaces.inc, src/opnsense/scripts/interfaces rtsold_script.sh

interfaces: multi-dhcp6c support and custom PD association #7647

This splits off rtsold and dhcp6c into separate processes
which frees us from the restrictions of faked iterative IDs
for PD associations.  For NA we simply default to 0 now.

I'm not entirely sure why we settled for a single deamon of
dhcp6c back in the day, but there are certianly downsides to
it and I don't see something that wasn't fixed in the meantime
that makes this not work.
DeltaFile
+22-58src/etc/inc/interfaces.inc
+58-4src/www/interfaces.php
+6-6src/opnsense/scripts/interfaces/rtsold_script.sh
+86-683 files

OPNSense/core d976ae7src/opnsense/mvc/app/views/OPNsense/Firewall filter_rule.volt, src/www firewall_rule_lookup.php

Firewall: Rules [new]: Reduce complexity in url hash handling and when using firewall_rule_lookup (#9773)

* Reduce complexity of firewall_rule_lookup, we have an all rules entrypoint now, so potentially we could just search for the UUID of the rule without concerning us with interfaces anymore

* Clean up URL hash logic, we only allow #search and #interface now and need no special handling

* Only get the hash once, use it everywhere, re-add missing null fallback and initialized interface variable

* The hash was consumed too early now, fix it by shifting to the new spot where the variable is used last
DeltaFile
+7-17src/opnsense/mvc/app/views/OPNsense/Firewall/filter_rule.volt
+1-12src/www/firewall_rule_lookup.php
+8-292 files

NetBSD/pkgsrc QYyCSYRwm/wmctrl Makefile

   wmctrl: comment out dead site
VersionDeltaFile
1.23+3-3wm/wmctrl/Makefile
+3-31 files

NetBSD/pkgsrc rxvngGswm/wmakerconf Makefile

   wmakerconf: comment out spam site
VersionDeltaFile
1.114+3-3wm/wmakerconf/Makefile
+3-31 files

NetBSD/pkgsrc osHpNnKmail/wl-snapshot Makefile

   wl-snapshot: switch to github, original page is gone
VersionDeltaFile
1.18+2-2mail/wl-snapshot/Makefile
+2-21 files

OPNSense/core 7738d7e. plist, src/opnsense/mvc/app/controllers/OPNsense/Base ApiMutableModelControllerBase.php

mvc: collect uuid field so it can be searched, but only if the searchPhrase contains a valid UUID (#9780)

Add UUID to the fields that can be searched, but only if the searchPhrase contains a valid UUID. That way it won't match on partial strings.

* Create new Type class in core library and add isUUID static, replace individual callers with the new static.

* Add a new static function containsUUID() to the new Type class.

* Move searchPhrase tokenization to ApiMutableControllerBase searchBase()
Determine if search_tokens contain a valid UUID, if yes collect the uuid field so it can be searched. Doing this prevents finding partial strings in UUIDs, but allows to find exact UUIDs.
Inside UIModelGrid fetchBindRequest(), use the search_tokens directly. A compatability case makes this backwards compatible for callers that do not know about search_tokens.
Pass the search_tokens directky into UIModelGrid fetch() instead of the raw searchPhrase.
DeltaFile
+58-0src/opnsense/mvc/app/library/OPNsense/Core/Type.php
+17-9src/opnsense/mvc/app/library/OPNsense/Base/UIModelGrid.php
+11-14src/opnsense/mvc/app/controllers/OPNsense/Base/ApiMutableModelControllerBase.php
+3-2src/opnsense/mvc/app/controllers/OPNsense/Routing/Api/SettingsController.php
+1-0plist
+90-255 files

NetBSD/pkgsrc bQLiqXenet/wistumbler2 Makefile.common

   wistumbler2: comment out dead link
VersionDeltaFile
1.17+2-2net/wistumbler2/Makefile.common
+2-21 files

NetBSD/pkgsrc EcQjFvasysutils/whowatch Makefile

   whowatch: comment out dead sites
VersionDeltaFile
1.24+4-4sysutils/whowatch/Makefile
+4-41 files

NetBSD/pkgsrc dFCKMcBwm/weewm Makefile

   weewm: comment out dead site
VersionDeltaFile
1.13+3-4wm/weewm/Makefile
+3-41 files

NetBSD/pkgsrc uwKXz4uwww/websvn Makefile

   websvn: comment out dead site
VersionDeltaFile
1.29+2-3www/websvn/Makefile
+2-31 files

NetBSD/pkgsrc OAnAAV1www/wdg-validate Makefile

   wdg-validate: comment out dead link
VersionDeltaFile
1.36+3-4www/wdg-validate/Makefile
+3-41 files