[DA] Add tests that represent edge cases for the Weak Zero SIV tests (NFC) (#183735)
This patch adds test cases that capture edge cases for the Weak‑Zero SIV
tests. These cases involve loop‑invariant, non‑constant variables, and
special care is required when those variables may be zero.
[GVN] Fix crash when svcount is used with globals-aa (#184347)
When -globals-aa is used, `analyzeLoadAvailiability` calls
`analyzeLoadClobberringStore` which in turn calls
`isFirstClassAggregateOrScalableType` which is using
`isa<ScalableVectorType>`. Ideally it should use type's isScalableType()
method.
The crash does not occur when default (BasicAA) is used because
`analyzeLoadAvailiability` function does not take the load clobbering
path as BasicAA returns `Def`.
Fixes #159368
[RISCV] Remove OperandType OPERAND_SIMM10_UNSIGNED. Rename OPERAND_SIMM8_UNSIGNED->OPERAND_SIMM8 (#184540)
The UNSIGNED only refers to what we allow in assembly parsing. The
MachineInstr/MCInst should always be canonicalized to signed.
www/py-yt-dlp-ejs: Remove the IGNORE line
This do-fetch target does not repackage anything.
It fetches the tarball, extracts it, then fetches NodeJS dependencies
into the same folder, and packages this folder as a final tarball
used during build.
AFAIK there is nothing wrong with this port the way it is now.
This can't be done in post-extract due to internet access that is
required.
[clang-tidy] Fix false positive in readability-redundant-preprocessor for builtin checks (#181734)
Different `__has_builtin()` checks were incorrectly flagged as redundant
because ConditionRange collapsed after macro expansion. It now reads
condition text directly from source to fix this.
Assisted-by: Claude
Fixes #64825
If ksh is not interactive, do not initialize curses. Instrumentation
showed that during a typical build process the terminfo file was being
opened (and parsed) a gazilion times.
diagnosed with matthieu, ok millert
[clang][CIR] Pass VFS to command-line parsing (#184226)
This explicitly passes Clang's VFS to MLIR command-line parsing that
runs when ClangIR is enabled. This matches the rest of Clang and fixes a
sandbox violation.
[RISCV][GISel] Replace buildInstr with BuildMI (#183714)
As @arsenm mentioned in some of my PRs, such as:
https://github.com/llvm/llvm-project/pull/171092, we should use
`BuildMI` instead of `MachineInstrBuilder::buildInstr` in Selector.
This PR is tring to replace all `MachineInstrBuilder::buildInstr` with
`BuildMI`.
[Hexagon] Ignore formatting of generated proto files (#184427)
hexagon_protos.h, hexagon_circ_brev_intrinsics.h, and
hvx_hexagon_protos.h are generated C header files that consist of
macro definitions and help fields in comments. These files are large.
Automatic formatting of these files breaks their regular structure
and increases maintenance effort.
www/freenginx-devel: update njs module to 0.9.6
<ChangeLog>
nginx modules:
*) Bugfix: fixed expire field truncation in shared dict state files.
Millisecond timestamps were silently truncated to 10 digits,
making restored entries appear expired on restart.
The issue has been present since eca03622 (0.9.1).
*) Bugfix: suppressed slab log_nomem for evict shared dict zones.
When evict is enabled, memory allocation failures are expected
and handled by evicting old entries.
*) Bugfix: fixed stack trace for native fetch exceptions for QuickJS
engine.
Core:
[38 lines not shown]
NAS-139547 / 26.0.0-BETA.1 / Add network overlap validation and defaults for container config (#18335)
## Problem
1. **No network overlap validation for containers**: Docker validates
that its `address_pools` don't overlap with system IPs, but container
config (`lxc.config`) has no such check — a user could set
`v4_network`/`v6_network` to a subnet that overlaps a system interface,
breaking networking.
2. **Network columns are nullable without defaults**: The `v4_network`
and `v6_network` columns in `container_config` are nullable with no
defaults, meaning newly created configs start with no network —
containers can't communicate out of the box.
3. **Legacy virt_global network settings not migrated**: Existing Incus
`virt_global` network settings (bridge, v4/v6 networks) are not carried
over to the LXC configuration during migration, causing previously
working setups to lose their network config.
4. **Docker's overlap validation logic is inline and not reusable**: The
CIDR-building and overlap-checking code in Docker's
[27 lines not shown]
[Benchmark] Fix warnings around usage of __COUNTER__ (#184524)
Premerge CI is currently failing with the following after the update to
clang v22:
```
/home/gha/llvm-project/clang-tools-extra/clangd/benchmarks/IndexBenchmark.cpp:92:1: error: '__COUNTER__' is a C2y extension [-Werror,-Wc2y-extensions]
92 | BENCHMARK(dexQueries);
| ^
```
Some original work was done around this in
df1d786c460e0e47c9074f3533f098190ebfbc1b, which was then done in
upstream Google benchmark in
https://github.com/google/benchmark/commit/d8db2f90b643eb28a12976beb4d57bcfb639911d.
The original work done in the patch implementing this feature doesn't
seem to account for as many cases as the upstream patch does. This patch
reverts the diff in df1d786c460e0e47c9074f3533f098190ebfbc1b and applies
the applicable hunks from the upstream patch.
Follow pdma more closely in drq_intr.
Performing the first few bytes inidiviually has improved reliabiltiy for
SBC_INTR xfers. This follows what is done in pdma_out.
Thus far I've had only 1 error reading from a piscsi emulated cdrom drive,
continuously unpacking sets for at least 5 hrs. I'm now of the impression
that the piscsi cdrom emulation may have problems.
In any case the overall reliablity of drq_intr xfers has dramattically
improved.
[bazel] Fix building lldb with zlib disabled (#184525)
In cmake this value is set in llvm-config.h, we're not really handling
that the same way in bazel so we can just allow all targets to inherit
this disabled, otherwise it fails since lldb assumes it is always
something