[ARM] Replace reg in preheader when reverting WhileLoopStartLR (#229754)
As we revert a wls loop to a dls loop, we remove the t2WhileLoopStartLR
to a t2DoLoopStart at the start of the preheader. In finding the
t2WhileLoopStartLR we might have looked through a copy that is still
using the t2WhileLoopStartLR def. Make sure we replace the use with the
Src to remain valid.
Fixes #229400
lang/v8: update to 15.6.75.19 (Chrome 156 stable)
- Update the dependency pins from DEPS and the Temporal crates to the
versions in Chromium's third_party/rust.
- Read time zone data from devel/icu through the new upstream
v8_enable_temporal_systemicu option instead of a local patch.
- Port PartitionAlloc's zero segment, which keeps the low 4 GB of the
address space inaccessible, to FreeBSD. V8 no longer reserves this
range itself, and d8 refuses to start without it. Hinted mappings
are not honored with ASLR, so reserve the range with a guard mapping.
smsc: Allow 10BASE-T1L/-T1S media
These are Single-Pair Ethernet types (SPE) from 802.3cg. smsc sets the
link flag only if mii_media_active is one of a known set of media types.
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D60745
[IR] Remove unused GEPOperator::countNonConstantIndices (NFC) (#235233)
The last callers of GEPOperator::countNonConstantIndices were removed
on April 26, 2024 in commit cbe1760f02882328c91e5764648f97fe644f44c9.
Assisted-by: Antigravity
[clang] Replace PointerUnion::dyn_cast with llvm::dyn_cast (NFC) (#235232)
PointerUnion::dyn_cast has been soft-deprecated in favor of
llvm::dyn_cast and llvm::dyn_cast_if_present. This patch replaces
PointerUnion::dyn_cast with llvm::dyn_cast at 17 call sites across 11
files under clang/.
All tests in check-clang pass with these changes, and LLM-based static
analysis of the surrounding data structures and call sites confirms that
the PointerUnion operand at each site is nonnull either by construction
or because callers ensure it is nonnull before reaching llvm::dyn_cast.
Assisted-by: Antigravity
Revert "[SelectionDAG] Implement SDTCisSameAs in verifyNode." (#235329)
M68k is failing on the bots. I'll need to fix it or waive the broken
node, but I need time to investigate.
Reverts #235157
[TLI][SimplifyLibCalls] Accept [2 x iN] return type for __size_returing_new (#234856)
On AArch64 (AAPCS64), Clang lowers `struct __sized_ptr_t { void *p;
size_t n; }` as `[2 x i64]` (`llvm::ArrayType`), whereas on x86_64 it is
lowered as `{ ptr, i64 }` (`llvm::StructType`).
Additionally, `emitHotColdSizeReturningNew` and
`emitHotColdSizeReturningNewAligned` in `BuildLibCalls.cpp` previously
hardcoded `StructType::get(B.getContext(), {B.getPtrTy(), SizeTTy})` as
the return type of the newly emitted `_hot_cold` call, which would fail
`replaceAllUsesWith` when replacing a call returning `[2 x i64]`.
Assisted-by: Gemini Argon