[AArch64][SVE] Implement demanded bits for @llvm.aarch64.sve.cntp (#168714)
This allows DemandedBits to see that the SVE CNTP intrinsic will only
ever produce small positive integers. The maximum value you could get
here is 256, which is CNTP on a nxv16i1 on a machine with a 2048bit
vector size (the maximum for SVE).
Using this various redundant operations (zexts, sexts, ands, ors, etc)
can be eliminated.
Use install instead of cp to copy bootstrap tools
We need to preserve modification times on bootstrap tools, but `cp -p`
also tries to preserve flags, which fails if OBJROOT is on NFS. A -N
option was added to cp for this purpose, but trying to use that would
break cross-building on hosts that don't have that option. The best
remaining option is `install -p`, which we already assume is present.
PR: 275030
Reviewed by: imp, emaste
Differential Revision: https://reviews.freebsd.org/D53751
(cherry picked from commit f3cf4c0af5af6ce95065a615f998117ec1cd63aa)
[MLIR][LLVM] Extend DIScopeForLLVMFuncOp to handle cross-file operatio… (#167844)
The current `DIScopeForLLVMFuncOp` pass handles debug information for
inlined code by processing `CallSiteLoc` attributes. However, some
compilation scenarios compose code from multiple source files directly
into a single function without generating `CallSiteLoc`.
**Scenario:**
```python
# a.py
def kernel_a(tensor):
print("a: {}", tensor) # a.py:3
jit_func_b(tensor) # Calls b.py code
# b.py
def func_b(tensor):
print("b: {}", tensor) # b.py:7
```
[18 lines not shown]
[X86] BuiltinsX86.td - attempt to pack the builtins for each SSE level close together. NFC. (#168844)
Avoid some repeated feature blocks - we should have a single place in
each file that we can find most builtins for a particular ISA level.
Also, avoid some of the 80col wrapping that just makes it harder to find
anything at all.
There's a lot more we can do - but I don't want to completely refactor
this while we still have so much work to do for #30794
[LV] Allow partial reductions with an extended bin op (#165536)
A pattern of the form reduce.add(ext(mul)) is valid for a partial
reduction as long as the mul and its operands fulfill the requirements
of a normal partial reduction. The mul's extend operands will be
optimised to the wider extend, and we already have oneUse checks in
place to make sure the mul and operands can be modified safely.
1. -> https://github.com/llvm/llvm-project/pull/165536
2. https://github.com/llvm/llvm-project/pull/165543
[DebugInfo] Force early line-zero calls to have meaningful locations (#156850)
In functions that have been seriously deformed during optimisation,
there can be call instructions with line-zero immediately after frame
setup (see C reproducer in the test added). Our previous algorithms for
prologue_end ignored these, meaning someone entering a function at
prologue_end would break-in after a function call had completed. Prefer
instead to place prologue_end and the function scope-line on the line
zero call: this isn't false (it's the first meaningful instruction of the
function) and is approximately true. Given a less than ideal function,
this is an OK solution.
net/bind918: update BIND to version 9.18.42.
Pkgsrc changes:
* version bump, checksum updates.
Upstream changes:
BIND 9.18.42
------------
Bug Fixes
~~~~~~~~~
- Skip unsupported algorithms when looking for signing key.
``2882dbfc803``
A mix of supported and unsupported DNSSEC algorithms in the same zone
could have caused validation failures. Ignore the DNSSEC keys with
unsupported algorithm when looking for the signing keys. :gl:`#5622`
:gl:`!11211`
pkg_generate_checsum: make it more robust
With some buggy metadata, when parsing the manifest we may end up requesting
to generate the checksum for a package with files informations but no
checksum associated with the files, which mean f->sum would be NULL.
Accept to generate checksum in this case by processing an empty string instead of
crashing because process NULL.
Fixes: #2560
multimedia/mediaelch: Fix build
Add upstream patch to suppress -Wno-c++20-extensions. With -pedantic,
this warning is treated as an error.
Reported by: pkg-fallout
MFH: 2025Q4
(cherry picked from commit 7d1558b2cf1b9ed36cad8931f16aa2df9283d37e)
multimedia/mediaelch: Fix build
Add upstream patch to suppress -Wno-c++20-extensions. With -pedantic,
this warning is treated as an error.
Reported by: pkg-fallout
MFH: 2025Q4
bind920: update to BIND version 9.20.16.
Pkgsrc changes:
* Remove patch for problem now solved upstream.
* Version bump, checksums.
Upstream changes:
BIND 9.20.16
------------
Feature Changes
~~~~~~~~~~~~~~~
- Fix assertion failure from arc4random_uniform with invalid limit.
``1040282de7e``
When the arc4random_uniform() is called on NetBSD with upper_bound
that makes no sense statistically (0 or 1), the call crashes the
[58 lines not shown]