[SelectionDAG] Look through freeze in CombineExtLoad
Folding an extend of an illegally-wide vector into extending loads only
matched when the extend operand was the load itself. A boolean select is
combined to an OR of a frozen operand and the freeze is pushed down to the
load, so the fold was skipped: the load stayed a plain vector load and each
half of the widened result needed an extract and a register-form extend.
Look through a single-use freeze and re-apply it to the split result.
Freeze is element-wise and extends are deterministic, so freezing the split
loads is equivalent to freezing the extended value.
For the loop in #245064 this replaces four 512-bit loads with their extracts
and register-form vpmovzxwd by memory-form vpmovzxwd, going from 57 to 49
instructions per 128 elements.
Adds llvm/test/CodeGen/X86/vector-extload-freeze.ll and updates the
existing avx512-ext.ll checks.
Fixes #245064
[BOLT][DWARF] Add a DWARF 4 test for duplicate file names (#246122)
PR #241862 made BOLT keep the file name entries of CU line tables at
their input numbers, duplicates included, and added a new test that
covers DWARF 5 only.
This is to add a test for DWARF 4 line tables. Besides the file list, it
also checks that every row and the DW_AT_decl_file/DW_AT_call_file
values name the right files, both for functions that BOLT emits and for
those whose rows are copied from the input (--skip-funcs). The test
would fail without the fix in #241862.
Assisted-by: opus-5.5
[BOLT] Match LongJmp tentative layout to emitted code sections (#241429)
In relocation mode, the emitter places each function fragment in the
code section named by BinaryFunction::getCodeSectionName(), in output
order, and RewriteInstance::mapCodeSections() then allocates those
sections in the order given by BinaryContext::compareSectionNames(),
each aligned to its section alignment. LongJmp's tentative layout
instead modeled only one hot and one cold sequence of fragments, and
differed from the emitted layout in these ways:
All cold fragments were put at the first function without a valid index,
assuming that marks the end of hot code. When functions are split
without a profile, e.g. with --split-strategy=random2, no function has
an index, so cold fragments were placed before the .text section rather
than after it, and branches to them could miss a stub.
Thunks have no index either, so if any were present among hot functions
when the tentative layout is computed, they would also be mistaken for
the end of hot code.
[18 lines not shown]
[analyzer] Remove unused ClusterAnalysis::VisitCluster overload (NFC) (#246527)
The last caller of the three-parameter overload was removed on
September 24, 2013 in commit 424ad95fa73cfe7c917c63fd94977b7c13a2b036.
The last reference was removed on November 26, 2026 in commit
ce3f5808fcc8957e5125bd39393b7615aa6aa255.
Assisted-by: Antigravity
[CodeGen] Add test coverage for #245615 (NFC)
Test coverage for #245615. These cases change with it: a sign test of
a load OR'ed with a sign test of an i64 value, an i16 load that is also
stored, a zero extension that feeds a shift or an add, an i16 compare
with a constant that needs more than 8 bits, a <4 x i8> compare on
i686, and loads with select_cc users on AArch64 and MSP430.
Assisted-by: Claude Code (Claude Opus 5.5)