[NFC][clang][analyzer] Complete enumeration in emitCrossTUDiagnostics (#187646)
Make handling of all `index_error_code` values in
`CrossTranslationUnitContext::emitCrossTUDiagnostics` explicit.
--
CPP-7804
bootgrid: set visibility hidden for base_bootgrid_table
Since the structure is used to initialize the bootgrid, we shouldn't render
the original structure possibly causing a flash of content.
[DAGCombine] Optimize away cond ? 1 : 0 post-legalization (#186771)
Selects of the form `cond ? 1 : 0` are created during unrolling of
setcc+vselect. Currently these are not optimized away post-legalization
even if fully redundant. Having these extra selects sitting between
things can prevent other folds from applying.
Enabling this requires some mitigations in the ARM backend, in
particular in the interaction with MVE support. There's two changes
here:
* Form CSINV/CSNEG/CSINC from CMOV, rather than only creating it during
SELECT_CC lowering. (After this change, the lowering in SELECT_CC can be
dropped without test changes, let me know if I should do that.)
* Support pushing negations through CMOV in more cases, in particular if
the operands are constant or the negation can be handled by flipping
lshr/ashr.
Additionally, in the X86 backend, try to simplify CMOV to SETCC if only the
low bit is demanded.
[libc++] Fix random_shuffle signature in C++03 mode with frozen headers (#186443)
The frozen C++03 headers got an invalid simplification in #134045 that
changed the signature of random_shuffle to use a forwarding reference
instead of a lvalue reference. This patch fixes it and adds a test.
---------
Co-authored-by: Louis Dionne <ldionne.2 at gmail.com>
[llc] Flatten SkipModule branch and sink defs to their use(NFC) (#187661)
- Invert the condition to make the code more straight and sink
single-use variables there.
- Add a comment about on `createTargetMachine` side effects for
`-mcpu=help`.
- Remove redundant call to `setPGOOptions`
Use netlink API for default interface detection with IPv6 fallback
This commit fixes Apps/Docker setup failing on IPv6 single-stack
deployments with "Unable to determine interface" error. The existing
get_default_interface() only read /proc/net/route (IPv4). This replaces
the procfs text parsing with the truenas_pynetif netlink API
(get_default_route), which tries IPv4 first and falls back to IPv6.
Dead constants RTF_GATEWAY and RTF_UP are removed.
[MLIR][XeGPU] Enhance multi-reduction layout propagation rules (#186308)
This PR enhance the multi-reduction layout propagation:
1. improve inst_data and lane_data to support fractional subgroup size
2. improve subgroup_layout/data setup to utilize the (nested) slice
layout from consumer op
It also removes the restriction in load_matrix/store_matrix layout
propagation to allow nd (n>2) layout
net/samba423: Add patches to fix ndr.h consumers (i.e. SSSD)
This is the same change that was applied to net/samba416 in
fd6a710e199bdba2b2df37a481038e743da895dd
PR: 293566
Approved by: samba (maintainer timeout)
net/samba422: Add patches to fix ndr.h consumers (i.e. SSSD)
This is the same change that was applied to net/samba416 in
fd6a710e199bdba2b2df37a481038e743da895dd
PR: 293566
Approved by: samba (maintainer timeout)
net/samba420: Add patches to fix ndr.h consumers (i.e. SSSD)
This is the same change that was applied to net/samba416 in
fd6a710e199bdba2b2df37a481038e743da895dd
PR: 293566
Approved by: samba (maintainer timeout)
net/samba419: Add patches to fix ndr.h consumers (i.e. SSSD)
This is the same change that was applied to net/samba416 in
fd6a710e199bdba2b2df37a481038e743da895dd
PR: 293566
Approved by: samba (maintainer timeout)
The Coprocessor Protocol Violation trap is not present on the 68010
(the vector is "unassigned, reserved"), so don't install a handler
for it on that CPU.
[clang] Don't dllexport inherited constructors with -fno-dllexport-inlines (#187684)
The inherited constructors are inline thunks, so like other inline
functions they are exempted from ABI compatibility concerns with this
flag, and should not be exported.
This is a follow-up to #182706
[llvm] Restrict llvm-debginfod-find test to localhost to fix winhttp case (#187705)
Listening on all interfaces is probably not permitted on the bots and
causes failures of llvm-debuginfod-find/headers-winhttp.test after
39d6bb21804d21abe2fa0ec019919d72104827ac. Restricting them to localhost
should fix that.
dwcotg.4: Initial manual page
Create visibility in apropos and the Hardware Release Notes.
MFC after: 3 days
Reviewed by: pauamma, ray
Differential Revision: https://reviews.freebsd.org/D53287
[CIR] Make the -save-temps flag emit .cir and .mlir files (#186814)
This patch makes ClangIR emit .cir and .mlir files when the-save-temps
flag is specified. Having these files emitted is useful e.g. when
inspecting the generated code for OpenMP offloading.
Co-authored-by: Claude Opus 4.6 noreply at anthropic.com
[Flang] - Fix AliasAnalysis to preserve Allocate source kind through box loads (#187152)
When a boxed array is privatized via `omp.private`, the `SourceKind` of
the loaded box data was being misclassified as `SourceKind::Indirect` by
the alias analyzer. Instead its `SourceKind::Allocate` should be
preserved. This caused AliasAnalysis to conservatively return `MayAlias`
for accesses to privatized arrays vs dummy arguments. This prevented
InlineHLFIRAssign from inlining array section assignments.
Propagate the Allocate source kind when the box source is classified as
`Allocate`, so that alias analysis correctly returns `NoAlias`.
loader(8): embedded MD should be the most preferred currdev
A loader built with MD_IMAGE_SIZE is almost always meant for use with
its embedded image and should try that as currdev before anything else.
Recent changes (d69fc3a9dc71, 784150fd2535) seem to have relaxed the ZFS
code's search for a rootfs and exposed this problem.
Reviewed by: imp, tsoome
MFC after: 1 week
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D55979