Fix force_disable_versioning object lock test
## Problem
`sharing.s3.force_disable_versioning` refuses a bucket with object lock by raising a single `ValidationError`, which the API client re-raises as that same class. The test expected `ValidationErrors`, so the refusal escaped `pytest.raises` and the test failed.
## Solution
Catch `ValidationError` and assert on its `errmsg` directly. The latch xattr is now set with `os.setxattr` through `python3` over ssh instead of `setfattr`, following the precedent in `tests/sharing_protocols/smb/test_smb_protocol_base.py`, which sets xattrs on the remote host the same way.
[IR] Remove unused debug intrinsic methods (NFC) (#231075)
DbgVariableIntrinsic::replaceVariableLocationOp(unsigned, Value *),
DbgVariableIntrinsic::setKillLocation, and
DbgVariableIntrinsic::setRawLocation: The last callers were removed on
July 18, 2025 in commit c9d8b68676dbf51996a76475313088f750697343.
DbgVariableIntrinsic::addVariableLocationOps,
DbgAssignIntrinsic::setAddressExpression, and
DbgAssignIntrinsic::setKillAddress: The last callers were removed on
July 18, 2025 in commit 2a1869b9815c1f59af9eae91a3ef7e7d78e8f4f2,
leaving DbgAssignIntrinsic::isKillAddress unused as well.
DbgVariableIntrinsic::setVariable and DbgLabelInst::setLabel: The last
callers were removed on June 17, 2025 in commit
9eb0020555fc643582b2802abb8c1bc92059c248.
DbgVariableIntrinsic::isAddressOfVariable: The last caller was removed
on July 21, 2025 in commit c9ceb9b75fd547c7d2e79837075370f4c8db8faa.
Assisted-by: Antigravity
[clang] Replace PointerUnion::dyn_cast with llvm::dyn_cast (NFC) (#231074)
PointerUnion::dyn_cast has been soft-deprecated in favor of
llvm::dyn_cast and llvm::dyn_cast_if_present. This patch replaces the
former with llvm::dyn_cast where the operand is guaranteed to be
nonnull.
Note that VDTemplSpec->getInstantiatedFrom() here returns
getSpecializedTemplateOrPartial() because the enclosing if statement
checks isTemplateInstantiation(...). In turn,
getSpecializedTemplateOrPartial() always returns a nonnull pointer by
construction.
Assisted-by: Antigravity
print/miktex: update to 26.5
Build with -fsigned-char: the Pascal-to-C++ translation assumes a signed
char and corrupts its output on aarch64, armv7 and powerpc64le, which is
what NOT_FOR_ARCHS was hiding. hitex and luahbtex need libharfbuzz-subset
when built against the system HarfBuzz.
termcap: add missing capabilities to the xterm-ghostty entry
The entry was imported from the termcap source that Ghostty generates
with infotocap during its build. To fit within 1023 bytes, the
conversion dropped a number of capabilities, most notably all color
support, so termcap consumers such as ls -G and ncurses applications
treated Ghostty as a monochrome terminal.
Split the entry into xterm-ghostty and a ghostty+common fragment, and
restore the following from Ghostty's terminfo definition:
- colors: Co, pa, AF, AB, op, oc, ut, AX
- keys: End, keypad Enter, F10-F12, back tab, mouse prefix
- attributes: italics (ZH/ZR), invisible (mk), acsc map (ac)
- misc: cb, ch, cv, SA/RA, r1, bs, NP, 5i
AF and AB use the plain 256-color form, like xterm-256color, because
termcap cannot express the conditional used by the terminfo entry.
[2 lines not shown]
[CodeGen] Return an IR type from getCmpLibcallReturnType (NFC) (#227192)
Refactor `getCmpLibcallReturnType()` to return an IR `IntegerType`, as
suggested by @arsenm in #226813.
This hook is only overriden by AVR and MSP430, so only those two targets
are changed.
TableGen: Cache resolved class instantiations
The same class instantiation is often referenced many times in one
record, and each reference was resolved from scratch along with
everything nested in its arguments. Cache the results in MapResolver and
RecordResolver, and share them with any TrackUnresolvedResolver wrapping
those.
Gigainstructions executed by llvm-tblgen --null-backend
before after
AMDGPU.td 71.75 18.22 -74.6%
X86.td 6.10 6.15 +0.8%
AArch64.td 3.28 3.32 +1.3%
RISCV.td 8.18 8.26 +1.0%
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
TableGen: Skip resolving values that cannot change
Lists, dags, bits and arguments made only of leaf values always resolve
to themselves, but resolving them still walked every element. Record
this when they are created and return early.
Gigainstructions executed by llvm-tblgen --null-backend
before after
AMDGPU.td 79.12 71.73 -9.3%
X86.td 6.25 6.12 -2.1%
AArch64.td 3.40 3.28 -3.7%
RISCV.td 8.34 8.19 -1.8%
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
TableGen: Use DenseMap for the IntInit pool (#231082)
Gigainstructions executed by llvm-tblgen --null-backend
before after
AMDGPU.td 79.34 79.13 -0.3%
X86.td 6.30 6.25 -0.7%
AArch64.td 3.43 3.41 -0.6%
RISCV.td 8.40 8.34 -0.7%
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
0ad, 0ad-data: remove
marked BROKEN since February 2024; uses removed mozjs78
If you're interested in this, please fix the wip packages and
we can just reimport it.
[DAGCombiner] Narrow the integer source of sint_to_fp (#224242)
Truncate the source of a `sint_to_fp` when it is known to fit in a
narrower
type the target can convert from directly.
For example:
```
sitofp (sext i32 %x to i64) to float
```
On AMDGPU this becomes a single `v_cvt_f32_i32` instead of the generic
i64 to f32 expansion.
Note: X86 marks i16 sint_to_fp as Custom, but SSE only supports
conversion from
i32, so the custom lowering sign-extends i16 back to i32. Mark i16 as
undesirable to avoid a redundant movswl.
[clang][CIR] Add tests for SVE MINV intrinsics (#230081)
adds CIR tests for svminv (plain SVE) intrinsics.
Moves and adapts sve-intrinsics/acle_sve_minv.c to sve/minv.c.
Part of #223963
ui: sync expanded state for selected submenus
Noticed while reviewing https://github.com/opnsense/core/pull/10942
This will prevent two submenus being open at the same time regardless
of depth, which seemed to happen particularly on second-level submenus.
This will cause more shifting around, but this consistency is already
applied on the first-level submenu.
The alternative is to allow multiple second-level submenus open
at the same time and only close when switching top-level sections.
(cherry picked from commit e113cd729cfa4449495a88cea406a99187fcede3)
[AArch64] Mark masked load/store data types that get legalized to scalars illegal (#228122)
Masked load/stores cannot handle data types that get scalarized during
type legalization. This PR marks them illegal in AArch64 TTI so they get
expanded before reaching SDAG.
Fixes e.g. the crash:
```llvm
; llc -mtriple=aarch64 -mattr=+sve crash.ll
define <1 x half> @masked_load_v1f16(ptr %p, <1 x i1> %mask) vscale_range(2,2) {
%load = call <1 x half> @llvm.masked.load.v1f16.p0(ptr %p, <1 x i1> %mask, <1 x half> poison)
ret <1 x half> %load
}
```
MC: Make usesWindowsCFI a pure object-format predicate
Whether unwind information is encoded with SEH opcodes (.seh_*, .pdata
and .xdata) is a property of the object format. Whether a function uses
that encoding depends on the exception model, but usesWindowsCFI()
conflated the two. Make it report only the format, and add
MachineFunction::usesWindowsUnwindInfo() for the combined question and
needsWinCFI() for the common case that also requires an unwind table
entry.
This moves the exception model check to the point of use, in preparation
for removing ExceptionModel from TargetOptions. The assembler now accepts
.seh_* directives whenever the object format supports them (i.e., MC
only tools will no longer have a notion of ExceptionModel).
Co-authored-by: Claude Opus <noreply at anthropic.com>