NAS-140431 / 27.0.0-BETA.1 / Propagate tunable changes to the backup node (by themylogin) (by bugclerk) (#18633)
Automatic cherry-pick failed. Please resolve conflicts by running:
git reset --hard HEAD~1
git cherry-pick -x bfde08c08eb12dc5cf57858d173550450d9ee49f
If the original PR was merged via a squash, you can just cherry-pick the
squashed commit:
git reset --hard HEAD~1
git cherry-pick -x 52e6f759a02f0c5d9abf695eb576c8d456e6f342
Original PR: https://github.com/truenas/middleware/pull/18603
Co-authored-by: themylogin <themylogin at gmail.com>
[libc] Fix return code after rewriting GPU printf support (#190797)
Summary:
This just blindly accumulated the return values without checking if they
were errors. printf returns `-1` on failure and fwrite returns the
number successfully written. Because we split these up we need to handle
that correctly.
HIPSPV: a fix for Assertion `isFilename() && "Invalid accessor."' failed (#187655)
AFAICT, this assertion failure was introduced by #181870 and #182930.
These PRs introduced linker options that got passed down to
HIPSPV::Linker which wasn't prepared for any non-file inputs.
Fixed by ignoring non-file arguments.
[LV] Return best plan directly from selectBestEpiloguePlan (NFC). (#190608)
Change selectEpilogueVectorizationFactor to directly select the best
VPlan and return a clone of it with the VF set to the selected VF.
This this replaces a getPlanFor outside of LVP and makes the interface
more direct and more in line with computeBestVF after
https://github.com/llvm/llvm-project/pull/190385.
PR: https://github.com/llvm/llvm-project/pull/190608
[lldb][NFC] Adapt missed call-sites to AsCString changes (#190798)
https://github.com/llvm/llvm-project/pull/190183 made the
`ConstString::AsCString` explicit. This patch adjusts some callsites
which now fail to compile but were missed in that PR.
[lldb][test] PlatformDarwinTest: remove redundant usage of TestingProperties (#190799)
This was failing to compile on Windows bots that built without
assertions:
```
C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\unittests\Platform\PlatformDarwinTest.cpp
C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\unittests\Platform\PlatformDarwinTest.cpp(554,3): error: use of undeclared identifier 'TestingProperties'
554 | TestingProperties::GetGlobalTestingProperties().AppendSafeAutoLoadPaths(
| ^
1 error generated.
```
We don't need to set the safe-paths in this particular test, so just
remove it.
[clang][Lex] add -Wnonportable-include-path-separator (#186770)
Emit an warning when #include paths contain backslashes, with a fixit to
convert them all to '/'. This can help users that build only on Windows
to automatically make their #includes more portable. The warning is off
by default due to being noisy and not always desirable.
netstat: Add -F support for -g
This change adds the ability to examine the contents of multicast
routing tables for other FIBs without the need for executing
`netstat` with `setfib(1)`.
MFC after: 3 days
Sponsored by: Klara, Inc.
Sponsored by: Stormshield
Differential Revision: https://reviews.freebsd.org/D56205
Reviewed by: glebius, markj, zlei
[WebAssembly] Fix operand order in performBitcastCombine (#190361)
Fix operand order in performBitcastCombine for wide <N x i1> -> iN
bitmask reconstruction.
In performBitcastCombine, when reconstructing i32/i64 bitmask from
multiple v16i1 SetCC results (for N=32 and N=64 cases), the code
incorrectly built SHL nodes with reversed operands:
SHL(16, ReturningInteger) // wrong
SelectionDAG::getNode(ISD::SHL, ...) expects operand 0 to be the value
to shift and operand 1 to be the shift amount.
This produced incorrect DAGs like shl Constant<16>, xxx, leading to
wrong codegen for vector bitmask patterns.
Fixed by swapping the operands:
[6 lines not shown]
mail/rspamd: fix plist on !amd64
Plist token %%HYPERSCAN%% is not substituted if the corresponding
option doesn't exist. Manually add HYPERSCAN="@comment" when the
option is not defined.
Tested on armv7. The arm64 build is still broken due to an outdated
bundled simdutf, which should probably be unbundled.
Approved by: portmgr (build fix blanket)
MFH: 2026Q2
(cherry picked from commit c6b24b28a177f3bb93463f3987372938b104343f)