[mlir] Add shouldPromoteIfSingleIteration option to loopUnrollByFactor (#215080)
Add a shouldPromoteIfSingleIteration parameter to loopUnrollByFactor to
control whether single-iteration loops are promoted during unrolling.
When set to false, the function skips calls to promoteIfSingleIteration
on the main loop, epilogue loop, and the unroll-factor-1 early-exit
path.
The parameter defaults to true to preserve existing behavior.
[lldb-dap][NFC] Use wildcard imports for test decorators (#216235)
Replace explicit imports `from ... import (a, b, c)` with wildcard
imports `from ... import *` for `lldbsuite.test.decorators`,
This lets downstream forks introduce extra decorators (e.g. to skip
tests on private configurations) without needing to patch each test's
import list.
[Related
discourse](https://discourse.llvm.org/t/do-we-want-to-tighten-up-imports-in-the-api-testcases/91557/3)
[AArch64][CostModel] Adjust the cost of pure partial add reductions. (#214723)
These reductions can lower to a [SU]ADALP rather than a widening add
pair, so using partial reductions becomes profitable for two-way
widening reduction loops such as (https://godbolt.org/z/v8vr9Pzqb):
```c
long sadalp(const int *a, long n) {
long s = 0;
for (long i = 0; i < n; i++)
s += (long)a[i];
return s;
}
```
[Clang][Sema] Fix an ICE where structured binding packs within a lambda were not added to the CapturingScopeInfo (#214716)
Fixed a bug where structured binding packs within a lambda were not
added to the `CapturingScopeInfo` during `ActOnDecompositionDeclarator`,
which also led to invalid expressions being considered for delayed
lambda diagnostics, when they should have been diagnosed immediately.
Fixes #214160
Signed-off-by: Baba Dan Constantin <babadany2999 at gmail.com>
www/code-server: Update to 4.132.0
Update to code-server 4.132.0, which bundles VS Code 1.132.0.
Changelog: https://github.com/coder/code-server/releases
Sponsored by: Netzkommune GmbH
CodeGen: Remove TargetOptions::FloatABIType
This is now fully replaced with the "float-abi" module flag.
If the module flag is not present, the default is computed
from the triple. Consumers are updated to read the module flag.
RuntimeLibraryAnalysis now defers analysis until run() on a Module,
instead of during the pass constructor as before. This requires copying
all of the remaining relevant TargetOptions so they are available
when the module is seen.
Unfortunately, ARM still depends on TargetOptions for determining
the float-abi. -target-abi=aapcs16 still changes the default float-abi,
but an explicit module flag wins.
Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
CodeGen: Synthesize "float-abi" module flag from -float-abi
Avoid annoying test updates when the corresponding TargetOptions
field is removed. Make the -float-abi llc/opt option a lit test
convenience that records the floating-point ABI in the IR,
mirroring how -mcpu/-mattr are recorded as function attributes.
Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
lli: Record the host triple on triple-less modules (#216132)
The JIT compiles for the host, but modules without a target triple kept
an empty triple, which module-triple-based analyses (e.g. runtime
libcall selection) cannot resolve. Set the resolved JIT triple on the
module. This defends against jit test regressions when
RuntimeLibraryInfo
starts getting computed from the module instead of TargetOptions.
Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
[AMDGPU] Fix performFMACombine FDOT2 fold for subnormal handling (#205101)
The fold from v_fma_mix_f32 pairs to v_dot2_f32_f16/v_dot2c_f32_f16
was gated only on fp-contract flags, ignoring how each instruction
handles f16 subnormal inputs under different denormal modes.
Hardware testing across multiple GPU generations shows that gfx90a
(CDNA2) is the sole outlier: v_dot2c unconditionally flushes f16
subnormal inputs to zero in all MODE configurations, while v_fma_mix_f32
preserves them when ieee=1 (the default compute kernel mode). All other
tested GPUs with dot2 instruction do not flush f16 subnormal inputs.
Add GCNSubtarget::dot2UnconditionalFlush() to capture this hardware
quirk.
Gate the fold on the function's f32 denormal mode:
- dot2UnconditionalFlush(): allow fold only when f32 denorm =
PreserveSign, so both instructions flush f16 subnormals.
- All other GPUs: allow fold only when f32 denorm = IEEE, so both
instructions preserve f16 subnormals. Dynamic mode is also rejected
[9 lines not shown]
graphics/qgis-ltr: Update to 3.44.13
In preparation for a major release upgrade from 3.x to 4.x in
graphics/qgis, move the current version 3.44 from graphics/qgis
to graphics/qgis-ltr.
- Switch from Qt5 to Qt6
- Use PDF4QT for better rendering in PDF
- Resolve FreeBSD-specific issues when using the QGIS-internal versions
of spatialindex and lazperf
Changelog: From 3.40.15 to 3.44.13
https://github.com/qgis/QGIS/compare/final-3_40_15%5E...final-3_44_13
graphics/qgis: Update to 4.2.1
Major release update from QGIS 3.x to 4.x, which brings many changes
and new features.
Users who previously used 3.x can transfer their configuration to
separate configuration directories in 4.x. This happens automatically
upon the first launch, unless the user declines it. The configuration
for 3.x versions is therefore preserved.
Since many, but not yet all, of the plugins familiar from 3.x work in
the 4.x versions, you can continue working with QGIS 3.x for now. To do
so, replace the existing installation from graphics/qgis with the one
from graphics/qgis-ltr, where 3.x versions will continue to be
maintained until further notice.
- 4.x versions are real Qt6 ones
- Use PDF4QT for better rendering in PDF
When building in an unclean environment, the port should now be
[5 lines not shown]
if_vmx: fix panic during kldload
Just like vmxnet3_intr_disable_all, iflib may invoke this routine
before vmxnet3_attach_post() has run, which is before the top-level
shared data area is initialized and the device made aware of it.
PR: 294312
Sponsored by: Dell Inc.
(cherry picked from commit 01b0690c495e1043a72cae9ee945f9f2c2adc216)
if_vmx: fix panic during kldload
Just like vmxnet3_intr_disable_all, iflib may invoke this routine
before vmxnet3_attach_post() has run, which is before the top-level
shared data area is initialized and the device made aware of it.
PR: 294312
Sponsored by: Dell Inc.
(cherry picked from commit 01b0690c495e1043a72cae9ee945f9f2c2adc216)