[lldb] Highlight matching keywords in apropos output (#194997)
When color is enabled, `apropos` now highlights occurrences of the
search term in both command names/help text and settings descriptions
using the configurable regex match ANSI settings.
Implements #194877
clang: Use correct triple when constructing offload bundler command (#195271)
Use the toolchain triple for the particular input instead of the top
level toolchain. NFC for now, but avoids mismatched triples in
a future change.
[LLVM] Refactor intrinsic validation (#194061)
Refactor intrinsic validation to generate an error message as a part of
validation and using this functionality in various places. The main
parts of the change are:
1. Change `matchIntrinsicSignature` to return a bool and print an error
message when the match fails to a `raw_ostream`. The intent is that
`matchIntrinsicSignature` can be improved to generate more precise error
message instead of a simple pass/fail signal (not done in this change).
2. Absorb the validation of variadic argument into
`matchIntrinsicSignature`.
3. Rename `getIntrinsicSignature` to `isSignatureValid` to better
reflect its meaning and have it write an error message to a passed in
`raw_ostream` when it returns false.
4. Change verifier to use `isSignatureValid` to validate the intrinsic
declaration.
5. Make error messages related to intrinsics in Verifier start with
lower case, to that the same error message can be shared between
[4 lines not shown]
bsdinstall: Improve auto-partition message
Manually tuning ZFS for systems with <8GB ram hasn't been necessary at
least since the switch to OpenZFS. We have users reporting using 1GB RAM
with no manual tuning/issues. Further, the page this links to is a stale
wiki page, which is causing complaints. Remove this misleading note and
replace it with a similar message for UFS. While here, reword that note
to be a bit clearer.
PR: 287719
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D50971
(cherry picked from commit 5ed26c21e4ff1d478d4611abbf3dc14cc1b77244)
groups.7: New manual page of standard group names
Import groups(7) from NetBSD, with tweaks for our system. The group
list is sorted by GID. All the group names from /usr/src/etc/group
are described, except "uucp". The FILES section was added on top of
the original manual page.
PR: 264966
Relnotes: yes
MFC after: 3 days
Obtained from: NetBSD
Reviewed by: des, ziaee
Differential Revision: https://reviews.freebsd.org/D54114
(cherry picked from commit e09104dfb76a36b65a64bd315bd1520941c4beed)
[lldb-dap] Add more logs when running in server mode (#195249)
Had a recent failure in server mode but could not find the reason for
the failure.
```
[09:26:05.247] lldb-dap.cpp:552 started with connection listeners connection://[127.0.0.1]:34035
[09:26:05.258] lldb-dap.cpp:587 (conn0) client connected
[09:26:05.263] lldb-dap.cpp:630 server shutting down, disconnecting remaining clients
[09:26:05.263] (conn0) <-- {"event":"terminated","seq":1,"type":"event"}
[09:26:05.263] DAP.cpp:1005 (conn0) transport closed
[09:26:05.272] lldb-dap.cpp:609 (conn0) client disconnected
```
clang: Use correct triple when constructing offload bundler command
Use the toolchain triple for the particular input instead of the top
level toolchain. NFC for now, but avoids mismatched triples in
a future change.
[ARM] Remove unneeded AND node, now that ARM does not do UndefinedBooleanContent anymore (NFC) (#194253)
It has ZeroOrOneBooleanContent now, so it is optimized away in all cases
anyway.
[RISCV] Optimize scalable multiply reductions lowerings (#193528)
Now that we can correctly lower a scalable multiply reduction, lets
improve the lowering for two common cases.
1) If we have exact VLEN, just convert to the fixed vector
form and lower so that we get shuffles instead of the
slow painful loop.
2) Handle the high LMUL case by splitting down to m1 via
a reduce tree. It's only at the final stage that we need
to use the loop to handle the unknown number of elements.
For context, this is mostly for completeness. I don't plan on going any
further to improve the code quality here. There's more we can do (e.g.
exploiting minimum element count to use shuffles for the first couple
stages), but that can be future work.
Code written by Claude with heavy guidance and review by me.
[LoopUnroll] Fix freqs for unconditional latches: N>2, fast (#182404)
This patch extends PR #179520 to the N > 2 case, where N is the number
of remaining conditional latches. Its strategy is to apply the original
loop's probability to all N latches and then, as needed, adjust as few
of them as possible.
clang: Use correct triple when constructing offload bundler command
Use the toolchain triple for the particular input instead of the top
level toolchain. NFC for now, but avoids mismatched triples in
a future change.
clang: Use correct triple when constructing offload bundler command
Use the toolchain triple for the particular input instead of the top
level toolchain. NFC for now, but avoids mismatched triples in
a future change.
[clang][NFC] Mark CWG2780 as implemented and add a test (#195127)
[CWG2780](https://wg21.link/cwg2780) allows `reinterpret_cast`ing to a
reference-to-function type. Clang already supports this:
https://godbolt.org/z/c37hsvKnn