LLVM/project 2252e5d — llvm/lib/Transforms/Vectorize VPlanUtils.h LoopVectorize.cpp, llvm/test/Transforms/LoopVectorize expand-scev-cse.ll

[VPlan] Don't drop poison-generating flags while building VPlans (#245029)

VPSCEVExpander::tryToReuseIRValue dropped poison-generating flags from
reused IR values right away, modifying the IR even if the plan is
discarded. Prefer values that don't need flags dropped, and otherwise
create an in-IR VPExpandSCEVRecipe, leaving it to SCEVExpander instead.

Such recipes may now only be in the epilogue plan, so don't assert they
were expanded for the main plan.
DeltaFile
+55-0llvm/test/Transforms/LoopVectorize/expand-scev-cse.ll
+10-5llvm/lib/Transforms/Vectorize/VPlanUtils.cpp
+5-4llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+2-3llvm/test/Transforms/LoopVectorize/X86/cleanup-runtime-checks.ll
+3-2llvm/lib/Transforms/Vectorize/VPlanUtils.h
+75-145 files

LLVM/project d00f92f — llvm/test/tools/llubi lib_memcpy_overlap.ll lib_memcpy_same_pointer.ll, llvm/tools/llubi/lib Library.cpp ExecutorBase.cpp

[llubi] Add support for memcpy/memmove/memset (#245021)

This patch adds support for memcpy/memmove/memset libcalls. Unlike LLVM
intrinsics, passing null pointers or invalid pointers is UB, even if the
length is zero. Calling memcpy w/ equal src and dest pointers is also
UB.

Aided by DeepSeek-V4.1-Flash-1017.
DeltaFile
+118-0llvm/test/tools/llubi/lib_memory_ops.ll
+6-111llvm/tools/llubi/lib/Interpreter.cpp
+103-0llvm/tools/llubi/lib/ExecutorBase.cpp
+23-0llvm/tools/llubi/lib/Library.cpp
+19-0llvm/test/tools/llubi/lib_memcpy_same_pointer.ll
+18-0llvm/test/tools/llubi/lib_memcpy_overlap.ll
+287-1116 files not shown
+322-11512 files

LLVM/project cb9040e — llvm/lib/Target/Hexagon HexagonDepIICScalar.td, llvm/test/CodeGen/AMDGPU amdgcn.bitcast.1024bit.ll

Rebase, improvements

Created using spr 2.0.0-beta.1
DeltaFile
+19,530-19,493llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+29,293-0llvm/test/CodeGen/X86/vector-interleave7-i16.ll
+29,228-0llvm/test/CodeGen/X86/vector-interleaved7-i8.ll
+15,508-13,586llvm/lib/Target/Hexagon/HexagonDepIICScalar.td
+27,225-0llvm/test/CodeGen/X86/vector-interleave7-i32.ll
+26,140-0llvm/test/CodeGen/X86/vector-deinterleave7-i8.ll
+146,924-33,07922,984 files not shown
+1,808,098-516,31422,990 files

LLVM/project f2297b4 — libcxx/include/__random subtract_with_carry_engine.h, libcxx/test/std/numerics/rand/rand.eng/rand.eng.sub seed_result_type.pass.cpp

[libc++][random] Implement LWG 3809 and LWG 4014 (#239844)

Summary:
- Implement LWG 3809 by correcting the seed initialization of
`std::subtract_with_carry_engine` for narrow result types.
- Implement LWG 4014 by reducing seed values modulo `2147483563` before
conversion to `uint_least32_t`, preserving the intended behavior for
wider result types.
- Add regression tests covering both defect reports.

Testing:
-
`libcxx/test/std/numerics/rand/rand.eng/rand.eng.sub/seed_result_type.pass.cpp`
DeltaFile
+59-2libcxx/test/std/numerics/rand/rand.eng/rand.eng.sub/seed_result_type.pass.cpp
+6-5libcxx/include/__random/subtract_with_carry_engine.h
+65-72 files

LLVM/project 8bf10a1 — llvm/lib/Target/AMDGPU SIInsertWaitcnts.cpp, llvm/test/CodeGen/AMDGPU extract-subvector-16bit.ll flat-saddr-atomics.ll

[AMDGPU] Keep soft waitcnts unchanged until SIInsertWaitcnts converges

On the first visit to a loop header only the preheader state is known.
A soft waitcnt there (e.g. from a release fence) can have some of its
counters simplified away while another counter keeps the instruction
alive: the fence's own vmcnt(0), a preceding wait.asyncmark, or an
explicit s_waitcnt. The soft waitcnt was then rewritten with the
simplified value and promoted to a hard waitcnt, or merged into a
preceding hard one. When the back edge later brought a pending LDS
store, the original lgkmcnt(0) request was gone, and the s_barrier after
the release fence no longer waited for it.

Treat soft waitcnts as requests that depend on the incoming state: never
merge, promote or rewrite them while the analysis iterates. They are
kept unchanged in DeferredErasures, a hard waitcnt (existing or new)
carries what is needed on each visit, and the soft waitcnts are erased
once the analysis converges. This extends #220357, which did the same
only for soft waitcnts that were simplified away entirely.


    [11 lines not shown]
DeltaFile
+66-66llvm/test/CodeGen/AMDGPU/function-args.ll
+48-48llvm/test/CodeGen/AMDGPU/a-v-flat-atomicrmw.ll
+32-32llvm/test/CodeGen/AMDGPU/flat-saddr-atomics.ll
+12-11llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
+10-10llvm/test/CodeGen/AMDGPU/extract-subvector-16bit.ll
+10-10llvm/test/CodeGen/AMDGPU/GlobalISel/flat-scratch.ll
+178-17712 files not shown
+221-21618 files

LLVM/project 12269c8 — clang/test/CodeGen/AArch64/sve rintn.c rintp.c, clang/test/CodeGen/AArch64/sve-intrinsics acle_sve_rintp.c acle_sve_rintn.c

Reland "[clang][CIR] Add tests for SVE RINT{N,P} intrinsics" (#244954)

This relands #241220 and #241236, which were reverted in #244680.

Since AArch64 call conv lowering, which is now the default since
#244014, doesn't have support for SVE, this does the migration with
`-fno-clangir-call-conv-lowering`, which allows these tests to avoid
call conv lowering.
DeltaFile
+190-0clang/test/CodeGen/AArch64/sve/rintn.c
+190-0clang/test/CodeGen/AArch64/sve/rintp.c
+0-176clang/test/CodeGen/AArch64/sve-intrinsics/acle_sve_rintp.c
+0-176clang/test/CodeGen/AArch64/sve-intrinsics/acle_sve_rintn.c
+380-3524 files

LLVM/project ee37fee — llvm/lib/Transforms/Scalar LoopInterchange.cpp, llvm/test/Transforms/LoopInterchange pr57148.ll loop-metadata.ll

[LoopInterchange] Interchange loops by remapping induction variables

This is the main part of #235496. Before this patch, interchanging the
loops was achieved by splitting BBs and rewiring PHIs and branches.
This method is complicated and has caused several bugs. This patch
changes the way to achieve interchange so that the original CFG is kept
as it is. Instead of changing the control flow, this patch interchanges
the loops by using the counter of each loop to make it run as many
iterations as the other loop did, and by swapping IV-related variables
between the outer and inner loops. Also, in addition to simplifying the
logic, this approach doesn't create new BBs unlike the previous method,
so the generated IR is relatively clean.

The existing legality checks already rule out most of the loops to
which this transformation cannot be applied, so most of the changes are
confined to the transformation phase. The legality checks are changed
as follows:

- Loops where a branch before the inner loop depends on the outer IVs

    [11 lines not shown]
DeltaFile
+225-614llvm/lib/Transforms/Scalar/LoopInterchange.cpp
+128-216llvm/test/Transforms/LoopInterchange/fp-reductions.ll
+112-189llvm/test/Transforms/LoopInterchange/reductions-non-wrapped-operations.ll
+87-146llvm/test/Transforms/LoopInterchange/freeze.ll
+69-124llvm/test/Transforms/LoopInterchange/loop-metadata.ll
+57-104llvm/test/Transforms/LoopInterchange/pr57148.ll
+678-1,39350 files not shown
+1,825-3,35656 files

LLVM/project 54ae5a0 — llvm/test/Transforms/LoopInterchange loop-control-available-in-outer-preheader.ll

Reapply "[LoopInterchange] Add tests for loop control values in the outer preheader (NFC)" (#235520)

This reverts commit 063d4816ce9051924a61f5d1e31a05992ca221b8.

Add test cases where it matters whether the loop control values (the
initial and final values of the IVs) are available in the outer loop
preheader. These are corner cases where the work in #235496 changes
what loop-interchange can handle.

The original commit was reverted because one of the tests failed with
EXPENSIVE_CHECKS due to stale SCEV dispositions (#221571). This has
been fixed by #222175 (not yet, but it will be). This reapply also adds
-verify-scev to the RUN line so that the issue is caught without
EXPENSIVE_CHECKS.

Part of #235496

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+126-0llvm/test/Transforms/LoopInterchange/loop-control-available-in-outer-preheader.ll
+126-01 files

LLVM/project cd14e75 — llvm/lib/Transforms/Scalar LoopInterchange.cpp, llvm/test/Transforms/LoopInterchange loop-metadata.ll inner-latch-lcssa-feeds-exit-condition.ll

[LoopInterchange] Replace exit conditions of interchanged loops with counters

In the transformation phase of LoopInterchange, the exit condition of
the inner loop is reused by cloning the instructions involved in it and
moving them into a new BB. Handling all PHI nodes correctly in this way
is difficult, and it has caused several bugs.

Instead, this patch introduces a new way to control the interchanged
loops: add a new variable that works just as a loop counter, and compute
the exit condition from it and the original BTC. The induction variables
that were used only to compute the original exit conditions are deleted.
This makes the logic simpler, since the computation of the original exit
condition no longer needs to be moved.

Part of #235496

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+101-2llvm/lib/Transforms/Scalar/LoopInterchange.cpp
+64-24llvm/test/Transforms/LoopInterchange/fp-reductions.ll
+56-21llvm/test/Transforms/LoopInterchange/reductions-non-wrapped-operations.ll
+42-23llvm/test/Transforms/LoopInterchange/freeze.ll
+36-25llvm/test/Transforms/LoopInterchange/inner-latch-lcssa-feeds-exit-condition.ll
+42-17llvm/test/Transforms/LoopInterchange/loop-metadata.ll
+341-11249 files not shown
+998-42855 files

LLVM/project 41289ca — llvm/lib/Transforms/Scalar LoopInterchange.cpp, llvm/test/Transforms/LoopInterchange induction-variable-update.ll loop-control-available-in-outer-preheader.ll

[LoopInterchange] Require loop control values to be expandable in the outer preheader

This patch slightly changes the legality check in preparation for later
patches. Specifically:

- Loops whose inner IVs have initial values that are outer loop
  invariant but neither constants nor instructions (e.g., function
  arguments) become interchange candidates.
- Loops where the BTC of the inner loop is computed inside the outer
  loop (more precisely, cannot be expanded in the outer loop preheader)
  are no longer candidates.

As far as I tried, this change doesn't affect most cases.

Part of #235496

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+58-28llvm/lib/Transforms/Scalar/LoopInterchange.cpp
+27-25llvm/test/Transforms/LoopInterchange/loop-control-available-in-outer-preheader.ll
+21-10llvm/test/Transforms/LoopInterchange/induction-variable-update.ll
+106-633 files

LLVM/project a9ed3fc — llvm/lib/Transforms/Utils LoopUnroll.cpp, llvm/test/Transforms/LoopUnroll partial-unroll-reductions.ll

[LoopUnroll] Drop poison-generating annotations on parallel reductions (#245038)

For min/max reductions we need to drop range attributes as well.

Fixes #245027.
DeltaFile
+111-0llvm/test/Transforms/LoopUnroll/partial-unroll-reductions.ll
+1-1llvm/lib/Transforms/Utils/LoopUnroll.cpp
+112-12 files

LLVM/project 8f10fe5 — mlir/lib/Dialect/Linalg/Transforms Vectorization.cpp, mlir/test/Dialect/Linalg/vectorization linalg-ops.mlir

[mlir][linalg][vector] Mark transfers in-bounds when no mask is needed (#244179)

Update `VectorizationState::maskOperation` to set `in_bounds` to `true`
when the vectorizer determines that no mask is required for an XFer
op because its accesses are guaranteed to be in-bounds.

This effectively reverses the change made in #160839.

Part of: https://github.com/llvm/llvm-project/issues/227821
DeltaFile
+14-35mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
+9-7mlir/test/Dialect/Linalg/vectorization/linalg-ops.mlir
+23-422 files

LLVM/project 661d5a4 — llvm/lib/Transforms/Scalar LoopInterchange.cpp

address review
DeltaFile
+4-1llvm/lib/Transforms/Scalar/LoopInterchange.cpp
+4-11 files

LLVM/project 0ecb918 — llvm/lib/Target/AMDGPU AMDGPUTargetTransformInfo.h AMDGPUTargetTransformInfo.cpp, llvm/lib/Target/AMDGPU/Utils AMDGPUBaseInfo.h AMDGPUBaseInfo.cpp

[ThinLTO][AMDGPU] Implement `TTI::getCallTypeId()`

We want to propagate attributes along the call graph at the thin link to enable
better code generation for each module. This requires a precise call graph.
ThinLTO supports call type IDs for indirect function calls, and this PR enables
that support for AMDGPU.

To maintain consistency with object linking, we need to use the same rules for
computing call type IDs, even though they might be a little less precise at the
IR level.

This PR was assisted by AI but I reviewed all the changes.
DeltaFile
+139-0llvm/test/ThinLTO/AMDGPU/call-type-ids.ll
+2-34llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
+32-0llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
+11-0llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
+10-0llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
+3-0llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h
+197-346 files

LLVM/project b5cf477 — llvm/docs LangRef.md, llvm/include/llvm/IR ModuleSummaryIndex.h

[ThinLTO] Add call type IDs to function summaries

The thin link doesn't know which functions an indirect call can reach, so any
analysis at the thin link must treat every indirect call as a call to unknown
code.

To enable more precise call graph analysis at the thin link, we need to narrow
down the set of functions that an indirect call can reach.

This PR adds call type IDs to function summaries. A call type ID is a 64-bit
hash of a function signature, computed by the target through the new
`TTI::getCallTypeId()` hook. A function can only be a potential target of an
indirect call if its type ID matches that of the indirect call.

The hook returns `std::nullopt` by default to preserve the existing behavior for
other targets. As a result, we need to use a unit test with a dummy test target
to verify the summary builder.

This PR was assisted by AI but I reviewed all the changes.
DeltaFile
+188-0llvm/unittests/Analysis/ModuleSummaryAnalysisTest.cpp
+64-3llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
+62-2llvm/lib/AsmParser/LLParser.cpp
+30-3llvm/docs/LangRef.md
+32-0llvm/include/llvm/IR/ModuleSummaryIndex.h
+22-0llvm/test/Assembler/thinlto-call-type-ids-summary.ll
+398-814 files not shown
+496-920 files

LLVM/project b8035d8 — clang/test/CodeGenCXX likely-module-local-template-args.cpp

Add tests for likely_module_local with compound types and nested template specializations
DeltaFile
+49-2clang/test/CodeGenCXX/likely-module-local-template-args.cpp
+49-21 files

LLVM/project eda7a83 — clang/include/clang/Basic CodeGenOptions.def, clang/include/clang/Options Options.td

[Clang] Mark template instantiations with main-file template arguments as likely_module_local

With -fmodule-local-hints, Clang marks inline functions and template
instantiations defined in the main source file as likely_module_local. A
template defined in a header but instantiated with an entity declared in the
main file (e.g. std::sort with a main-file comparator or lambda) isn't marked,
even though such an instantiation can't be referenced or emitted by any other
translation unit either.

Also mark a function template instantiation if its template arguments, or
those of the enclosing class and function template specializations, name a
class, enum, lambda closure type, function or template declared in the main
file. Pointer, reference, array, member pointer and function types are looked
through, as are the template arguments of class template specializations used
as arguments. The walk is bounded to avoid blowup on deeply nested arguments.
DeltaFile
+89-2clang/lib/CodeGen/CodeGenModule.cpp
+63-0clang/test/CodeGenCXX/likely-module-local-template-args.cpp
+2-4clang/test/CodeGenCXX/likely-module-local.cpp
+2-1clang/include/clang/Options/Options.td
+2-1clang/include/clang/Basic/CodeGenOptions.def
+158-85 files

LLVM/project 9cb272b — llvm/test/Transforms/LoopInterchange interchange-same-loops-twice.ll debuginfo-outer-iv.ll

[LoopInterchange] Add tests for loop metadata, debug info, and IV updates (NFC)

Add test cases to ensure that later patches correctly handle the
following:

- Loop metadata and branch weights on the latches.
- Debug records that refer to the outer IVs.
- Various forms of IVs, e.g., pointer IVs, non-constant steps, and start
  values computed in the outer loop.
- Code in the outer loop but outside the inner loop that uses the outer
  IVs.
- Interchanging the same pair of loops twice.

Part of #235496

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+339-0llvm/test/Transforms/LoopInterchange/loop-metadata.ll
+287-0llvm/test/Transforms/LoopInterchange/outer-level-code.ll
+277-0llvm/test/Transforms/LoopInterchange/induction-variable-update.ll
+195-0llvm/test/Transforms/LoopInterchange/debuginfo-outer-iv.ll
+94-0llvm/test/Transforms/LoopInterchange/interchange-same-loops-twice.ll
+1,192-05 files

LLVM/project d2fa529 — llvm/lib/Transforms/Scalar LoopInterchange.cpp, llvm/test/Transforms/LoopInterchange loop-metadata.ll

[LoopInterchange] Drop loop metadata and branch weights of interchanged loops

This patch drops the loop metadata and the branch weights of the latches
when interchanging loops. As for the loop metadata, some attributes may
no longer hold after interchange (e.g., parallel_accesses of the inner
loop), and its semantics are partially ambiguous (e.g., what should we
do with unroll_and_jam?), so it is conservatively removed for now. As
for the branch weights, I believe we don't need to drop them
unconditionally, but they are also conservatively removed (or marked as
unknown if the function has profile data) for now. Moving them to the
appropriate place is left as future work.

Note: I'm not entirely sure that dropping these is sufficient. Please
let me know if there are other kinds of data that should be dropped when
interchanging loops.

Part of #235496

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+12-19llvm/test/Transforms/LoopInterchange/loop-metadata.ll
+24-0llvm/lib/Transforms/Scalar/LoopInterchange.cpp
+36-192 files

LLVM/project 8a38dfb — llvm/lib/Transforms/Scalar LoopInterchange.cpp

[LoopInterchange] Look up loop cache costs by original loop (NFC)

A later patch will change which IVs a Loop object holds. Therefore,
change the way CacheCost is looked up so that it does not depend on
the correspondence between IVs and Loop objects.

Part of #235496

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+29-7llvm/lib/Transforms/Scalar/LoopInterchange.cpp
+29-71 files

LLVM/project 1bd1774 — llvm/test/tools/llubi attribute_dereferenceable_or_null_callsite_ub.ll, llvm/tools/llubi/lib Interpreter.cpp

[llubi] Don't ignore dereferenceable_or_null when dereferenceable is set (#245036)

Close https://github.com/llvm/llvm-project/issues/235723.

Aided by DeepSeek-V4.1-Flash-1017.
DeltaFile
+18-0llvm/test/tools/llubi/attribute_dereferenceable_or_null_callsite_ub.ll
+4-3llvm/tools/llubi/lib/Interpreter.cpp
+22-32 files

LLVM/project a6ab2ff — llvm/lib/Transforms/Utils LoopUnroll.cpp, llvm/test/Transforms/LoopUnroll partial-unroll-reductions.ll

[LoopUnroll] Drop poison-generating annotations on parallel reductions

When unrolling a loop with parallel reduction phis, the extra
accumulators are seeded with the reduction identity. For min/max
reductions the identity is INT_MIN/INT_MAX, which can be outside a
range attribute attached to the reduction call, so the partial result
becomes poison. The same problem applies to the range attribute on the
call's return value and to !range metadata.

Drop all poison-generating annotations, not just flags, from the
partial reduction instructions. This also clears poison-generating
attributes inherited from an inlined min/max helper.

Fixes #245027
DeltaFile
+13-13llvm/test/Transforms/LoopUnroll/partial-unroll-reductions.ll
+1-1llvm/lib/Transforms/Utils/LoopUnroll.cpp
+14-142 files

LLVM/project 086c7ad — llvm/test/Transforms/LoopUnroll partial-unroll-reductions.ll

[LoopUnroll] Add a precommit test for parallel reduction poison

The loop unroller adds extra accumulators that start from the reduction
identity, but preserves the range attribute on the reduction call. A
cloned call whose accumulator starts at the identity can therefore
produce a result outside the declared range, i.e. poison.

See #245027
DeltaFile
+111-0llvm/test/Transforms/LoopUnroll/partial-unroll-reductions.ll
+111-01 files

LLVM/project 62fd867 — llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer reduction-shuffled-extracts-deleted.ll

[SLP] Skip erased extractelements when merging shuffled reduction groups (#243246)

[Used Claude Code]
When the current reduced-values group has an ExtractElement state,
tryToReduce merges the next group into CommonCandidates and calls
isFixedVectorShuffle. The loop over the current group skips values
erased by earlier vectorization, but the loop over the next group
does not. An erased extractelement is still an ExtractElementInst
with dropped operands, so isFixedVectorShuffle dereferences a null
vector operand and crashes.

Skip erased extractelements in the next group as well.

## Reproducer

Found while compiling a Triton GPU kernel; the added test is a reduced
version.

The reduction forms three reduced-value groups: `phi x4`,

    [30 lines not shown]
DeltaFile
+68-0llvm/test/Transforms/SLPVectorizer/reduction-shuffled-extracts-deleted.ll
+1-1llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+69-12 files

LLVM/project b797b3b — llvm/include/llvm/Analysis ScalarEvolutionExpressions.h, llvm/lib/Analysis ScalarEvolution.cpp

[SCEV] Port SCEVRewriteVisitor to use SCEVUse (NFC) (#243883)

This will allow SCEVParameterRewriter to simplify expressions when
substituting a SCEVUnknown with a SCEVUse, based on the operand's local
wrap flags.
DeltaFile
+41-38llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h
+1-1llvm/lib/Analysis/ScalarEvolution.cpp
+42-392 files

LLVM/project f1afebc — mlir/lib/Dialect/Tensor/Transforms ExtractSliceFromReshapeUtils.cpp, mlir/test/Dialect/Tensor extract-slice-from-collapse-shape.mlir

[MLIR][Tensor] Keep collapse_shape replacements before all uses (#240281)

When rewriting an extract slice, the helper could replace a
`tensor.collapse_shape` with a value created at the later slice. If
another operation used the collapse result earlier, that new value did
not dominate the use and the IR failed verification.

Create the replacement at the original collapse operation, so it is
available to all of its users. Add a regression test with an earlier
`tensor.cast` use for both loop variants.

Fixes #240023.
DeltaFile
+21-0mlir/test/Dialect/Tensor/extract-slice-from-collapse-shape.mlir
+3-0mlir/lib/Dialect/Tensor/Transforms/ExtractSliceFromReshapeUtils.cpp
+24-02 files

LLVM/project ba8b07e — mlir/lib/Dialect/Vector/Transforms VectorEmulateNarrowType.cpp, mlir/test/Dialect/Vector vector-rewrite-narrow-types.mlir

[MLIR][Vector] Fix signed extension of bitcast in RewriteExtOfBitCast

Sign extend each lane from the target element width before the final
conversion.

Fixes #243823
DeltaFile
+24-1mlir/test/Dialect/Vector/vector-rewrite-narrow-types.mlir
+19-0mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp
+12-0mlir/test/Integration/Dialect/Vector/CPU/rewrite-narrow-types.mlir
+55-13 files

LLVM/project 9acd08c — llvm/lib/Target/SPIRV SPIRVOptions.td SPIRVPrepareFunctions.cpp

[SPIRV] Declare -spirv-allow-unknown-intrinsics in TableGen (#243891)

Follow-up to #239474

Keep `-spv-allow-unknown-intrinsics` as an alias
DeltaFile
+7-13llvm/lib/Target/SPIRV/SPIRVPrepareFunctions.cpp
+8-0llvm/lib/Target/SPIRV/SPIRVOptions.td
+15-132 files

LLVM/project dd96e2e — llvm/lib/Target/M68k/Disassembler M68kDisassembler.cpp

[M68k] Fix MSVC "result of 32-bit shift implicitly converted to 64 bits" warning. NFC. (#245009)
DeltaFile
+1-1llvm/lib/Target/M68k/Disassembler/M68kDisassembler.cpp
+1-11 files

LLVM/project b244a75 — lldb/test/API/lang/cpp/dynamic-value-templates TestDynamicValueTemplates.py

[lldb][test] Require __clang_vtable for template dynamic value test (#245012)

The test fails if older versions of clang are used:
https://ci.swift.org/view/all/job/llvm.org/job/lldb-cmake-matrix/1076/
(https://github.com/llvm/llvm-project/pull/238970#issuecomment-7070949523).
Like the other template tests, this needs to require clang 24+. But it
should pass on Windows with the MS ABI.
DeltaFile
+5-0lldb/test/API/lang/cpp/dynamic-value-templates/TestDynamicValueTemplates.py
+5-01 files