LLVM/project 40b7962 — llvm/lib/Transforms/IPO FunctionAttrs.cpp, llvm/test/Transforms/FunctionAttrs initializes.ll

[FunctionAttrs] Check for overflow when shifting callee initializes ranges (#247677)

When a pointer argument reaches a call through a GEP with a constant
offset, FunctionAttrs shifts the callee's `initializes` ranges by that
offset without checking for overflow. A very large offset produces an
invalid range, which hits the assertion in `ConstantRangeList::insert`.

Check for overflow on both ends of each range and skip any range that
overflows. Dropping a range only means fewer bytes are known to be
initialized, so the result stays conservative. This is the same check
#134115 added for loads and stores and #140345 added for memset and
memcpy.

Fixes #245439

Assisted-by: Claude Code (Opus 5.5)
DeltaFile
+16-0llvm/test/Transforms/FunctionAttrs/initializes.ll
+9-3llvm/lib/Transforms/IPO/FunctionAttrs.cpp
+25-32 files

LLVM/project 3b2a7ae — llvm/lib/CodeGen TargetLoweringObjectFileImpl.cpp, llvm/lib/MC MCObjectFileInfo.cpp

[SystemZ] [GOFF] Add IsRemovable EDAttr (#247704)

This is to support the HLASM CATTR REMOVABLE attribute.
DeltaFile
+8-8llvm/test/DebugInfo/GOFF/fission-sections.ll
+8-8llvm/test/DebugInfo/GOFF/fission-cu.ll
+7-5llvm/lib/MC/MCObjectFileInfo.cpp
+7-4llvm/lib/Target/SystemZ/MCTargetDesc/SystemZHLASMAsmStreamer.cpp
+4-4llvm/test/CodeGen/SystemZ/zos-dwarf.ll
+3-3llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+37-323 files not shown
+40-339 files

LLVM/project 75510ee — llvm/test/CodeGen/AMDGPU soft-waitcnt-loop-header.mir

[AMDGPU][NFC] Pre-commit MIR test for soft waitcnt handling in SIInsertWaitcnts (#247313)

The checks show the current behavior:
two loop-header cases miss the `lgkmcnt(0)` for a DS write that reaches
the header through the back edge.

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+486-0llvm/test/CodeGen/AMDGPU/soft-waitcnt-loop-header.mir
+486-01 files

LLVM/project 0b696cb — lldb/test/API/tools/lldb-dap/databreakpoint TestDAP_setDataBreakpoints.py, lldb/test/API/tools/lldb-dap/evaluate TestDAP_evaluate.py

[lldb-dap][NFC][test] Return the full response from the evaluate function (#247692)
DeltaFile
+17-16lldb/test/API/tools/lldb-dap/databreakpoint/TestDAP_setDataBreakpoints.py
+17-14lldb/test/API/tools/lldb-dap/evaluate/TestDAP_evaluate.py
+4-4lldb/test/API/tools/lldb-dap/memory/TestDAP_memory.py
+4-3lldb/test/API/tools/lldb-dap/variables/TestDAP_variables.py
+2-4lldb/test/API/tools/lldb-dap/repl-mode/TestDAP_repl_mode_detection.py
+3-3lldb/test/API/tools/lldb-dap/runInTerminal/TestDAP_runInTerminal.py
+47-448 files not shown
+58-5414 files

LLVM/project 937b558 — clang/include/clang/Basic arm_sve.td, clang/lib/CodeGen/TargetBuiltins ARM.cpp test.c

stash
DeltaFile
+54-0clang/lib/CodeGen/TargetBuiltins/test.c
+50-0llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
+25-0clang/lib/CodeGen/TargetBuiltins/ARM.cpp
+3-2llvm/include/llvm/IR/InstrTypes.h
+3-0clang/include/clang/Basic/arm_sve.td
+135-25 files

LLVM/project 37718d1 — clang/test/CodeGen/AArch64/sve2p3-intrinsics acle_fpv2_sv_min_max_reduce.c, clang/test/Sema aarch64-fpv2-sve2p3-svmax-svmin.c

[AArch64] Implement FEAT_FPv2 minimum/maximum vector reduce intrinsics

ACLE: https://github.com/ARM-software/acle/pull/480

Implements the following intrinsics:

    svmaxmgv / svminmgv
    svmaxinmv / svmininmv
    svmaxmginmv / svminmginmv

Includes f16, f32, and f64 type variants
DeltaFile
+319-0clang/test/CodeGen/AArch64/sve2p3-intrinsics/acle_fpv2_sv_min_max_reduce.c
+148-0llvm/test/CodeGen/AArch64/fpv2-intrinsics-min-max-reduce.ll
+108-0clang/test/Sema/AArch64/arm_sve_feature_dependent_sve_AND_LP_sve2p3_OR_sme2p3_RP_AND_fpv2___sme_AND_LP_sve2p3_OR_sme2p3_RP_AND_fpv2.c
+62-0clang/test/Sema/aarch64-fpv2-sve2p3-svmax-svmin.c
+29-23llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
+9-6llvm/lib/Target/AArch64/SVEInstrFormats.td
+675-293 files not shown
+706-319 files

LLVM/project 6e14af4 — clang/test/CodeGen/AArch64/sve2p3-intrinsics acle_fpv2_sve2p3_svminmginm.c acle_fpv2_sve2p3_svminmg.c

Move test files into sve2p3-intrinsics/
DeltaFile
+368-0clang/test/CodeGen/AArch64/sve2p3-intrinsics/acle_fpv2_sve2p3_svminmginm.c
+368-0clang/test/CodeGen/AArch64/sve2p3-intrinsics/acle_fpv2_sve2p3_svminmg.c
+368-0clang/test/CodeGen/AArch64/sve2p3-intrinsics/acle_fpv2_sve2p3_svmininm.c
+368-0clang/test/CodeGen/AArch64/sve2p3-intrinsics/acle_fpv2_sve2p3_svmaxmginm.c
+368-0clang/test/CodeGen/AArch64/sve2p3-intrinsics/acle_fpv2_sve2p3_svmaxmg.c
+368-0clang/test/CodeGen/AArch64/sve2p3-intrinsics/acle_fpv2_sve2p3_svmaxinm.c
+2,208-018 files not shown
+3,024-3,02424 files

LLVM/project 928f3d7 — clang/test/Sema/AArch64 arm_sve_feature_dependent_sve_AND_LP_sve2p3_OR_sme2p3_RP_AND_fpv2___sme_AND_LP_sve2p3_OR_sme2p3_RP_AND_fpv2.c, llvm/test/CodeGen/AArch64 fpv2-sve2p3-intrinsics-fminmginm.ll fpv2-sve2p3-intrinsics-fmaxmginm.ll

[AArch64] Implement ACLE intrinsics for FPv2 SVE min/max instructions

ACLE PR: https://github.com/ARM-software/acle/pull/480

Implements the following intrinsics:

- svmaxmg / svminmg
- svmaxinm / svmininm
- svmaxmginm / svminmginm

Includes f16, f32, and f64 types, _m, _z, and _x predication and _n variants

AI assistance: Codex used for generating test cases
DeltaFile
+691-0clang/test/Sema/AArch64/arm_sve_feature_dependent_sve_AND_LP_sve2p3_OR_sme2p3_RP_AND_fpv2___sme_AND_LP_sve2p3_OR_sme2p3_RP_AND_fpv2.c
+382-0llvm/test/CodeGen/AArch64/fpv2-sve2p3-intrinsics-fminmginm.ll
+382-0llvm/test/CodeGen/AArch64/fpv2-sve2p3-intrinsics-fmaxmginm.ll
+382-0llvm/test/CodeGen/AArch64/fpv2-sve2p3-intrinsics-fmaxmg.ll
+382-0llvm/test/CodeGen/AArch64/fpv2-sve2p3-intrinsics-fminmg.ll
+382-0llvm/test/CodeGen/AArch64/fpv2-sve2p3-intrinsics-fmininm.ll
+2,601-012 files not shown
+5,601-718 files

LLVM/project d1c7fbe — llvm/test/CodeGen/AArch64 fpv2-sve2p3-intrinsics-fmaxmginm.ll fpv2-sve2p3-intrinsics-fmaxmg.ll

Remove _n testing for IR,  move intrinsics declaration, add asm Run line to C tests
DeltaFile
+1-247llvm/test/CodeGen/AArch64/fpv2-sve2p3-intrinsics-fminmginm.ll
+1-247llvm/test/CodeGen/AArch64/fpv2-sve2p3-intrinsics-fminmg.ll
+1-247llvm/test/CodeGen/AArch64/fpv2-sve2p3-intrinsics-fmininm.ll
+0-246llvm/test/CodeGen/AArch64/fpv2-sve2p3-intrinsics-fmaxmginm.ll
+0-246llvm/test/CodeGen/AArch64/fpv2-sve2p3-intrinsics-fmaxmg.ll
+0-246llvm/test/CodeGen/AArch64/fpv2-sve2p3-intrinsics-fmaxinm.ll
+3-1,4797 files not shown
+15-1,48213 files

LLVM/project cc8b66b — clang/include/clang/AST Decl.h DeclTemplate.h, clang/lib/Serialization ASTReaderDecl.cpp

[clang][NFC] Remove padding from some AST nodes (#246310)

Reorder or pack fields to shrink TemplateTypeParmDecl (80 -> 72 bytes),
FunctionTemplateSpecializationInfo (48 -> 40) and EnumConstantDecl (88
-> 80) on 64-bit Itanium ABI targets. TemplateTypeParmDecl now stores
the number of expanded parameters in a 29-bit bitfield next to its
flags, the same limit as TemplateParameterList::NumParams. On some LLVM
TUs this saves 0.6-0.7% of the Decl memory reported by -print-stats.

Assisted-by: Claude Opus 5.5

Co-authored-by: Gabor Horvath <gaborh at apple.com>
DeltaFile
+30-16clang/include/clang/AST/DeclTemplate.h
+2-1clang/include/clang/AST/Decl.h
+1-1clang/lib/Serialization/ASTReaderDecl.cpp
+33-183 files

LLVM/project 90afe86 — clang/lib/CIR/CodeGen CIRGenStmtOpenMP.cpp, clang/test/CIR/CodeGenOpenMP not-yet-implemented.c parallel.c

[CIR][OpenMP] Support the 'shared' clause on 'parallel' (#241223)

omp.parallel body already reads and writes the variables of the
enclosing function directly
DeltaFile
+45-0clang/test/CIR/CodeGenOpenMP/target-parallel.c
+17-0clang/test/CIR/CodeGenOpenMP/parallel.c
+2-3clang/lib/CIR/CodeGen/CIRGenStmtOpenMP.cpp
+0-1clang/test/CIR/CodeGenOpenMP/not-yet-implemented.c
+64-44 files

LLVM/project 7c2630a — llvm/lib/Transforms/Utils ValueMapper.cpp

Rename skipIdentityEntries to mustCacheIdentityMappings
DeltaFile
+6-6llvm/lib/Transforms/Utils/ValueMapper.cpp
+6-61 files

LLVM/project 74008ef — llvm/test/Transforms/InferAddressSpaces/AMDGPU infer-address-space.ll

[NFC][AMDGPU] Eliminate stale FIXME to eliminate flat pointer use (#247991)

The explicit `addrspacecast` of `@array` in the `@loop` test case has
been eliminated by commit
[a982f09](https://github.com/llvm/llvm-project/commit/a982f095677cf1834d981e92efdddd0b36accd67#diff-da9356251e10888d9c9c5ac459cbef638121e2948832d23c4cd0d23f91addd68).

So, the now stale FIXME can be eliminated.
DeltaFile
+0-1llvm/test/Transforms/InferAddressSpaces/AMDGPU/infer-address-space.ll
+0-11 files

LLVM/project 16d8e4e — llvm/lib/Transforms/Utils ValueMapper.cpp

Explain why identity entries can be skipped
DeltaFile
+4-4llvm/lib/Transforms/Utils/ValueMapper.cpp
+4-41 files

LLVM/project dd942d6 — llvm/lib/IR Instructions.cpp, llvm/unittests/IR ShuffleVectorInstTest.cpp

[CostModel] invalid subindex for negative offset (#248043)

ShuffleVectorInst::isExtractSubvectorMask incorrectly accepts
<poison, 0, 2, 3> as a contiguous extract starting at lane 0. Result
lane 1 reads source lane 0, which implies a start offset of −1. The
matcher then recognises this -1 as "no offset seen yet" and resets the
offset to 0 when it reaches result lane 2.

Bail out as soon as we see a negative offset.

Assisted-by: codex
DeltaFile
+2-0llvm/unittests/IR/ShuffleVectorInstTest.cpp
+2-0llvm/lib/IR/Instructions.cpp
+4-02 files

LLVM/project 846e647 — llvm/lib/Target/X86 X86ISelLowering.cpp, llvm/test/CodeGen/X86 vector-shuffle-combining.ll vec-strict-inttofp-128.ll

[X86] isGuaranteedNotToBeUndefOrPoison - enable disabled cases

#245048 left PCMPEQ and some truncation and conversion opcodes
commented out in isGuaranteedNotToBeUndefOrPoisonForTargetNode until
they had test coverage. Since then a VZEXT_MOVL after them is kept,
because the known-zero upper elements aren't proven free of undef or
poison. That costs a movq, or a vpxor and vpblendd for the saturating
truncates.

Enable them. computeKnownBitsForTargetNode already lists the same
truncation and conversion opcodes as zeroing their upper elements, and
PCMPEQ is elementwise like PCMPGT and can't create undef or poison.

Assisted-by: Claude Code (Claude Opus 5.5)
DeltaFile
+11-13llvm/lib/Target/X86/X86ISelLowering.cpp
+0-8llvm/test/CodeGen/X86/avx10_2satcvtds-intrinsics.ll
+0-6llvm/test/CodeGen/X86/vector-shuffle-combining-avx512bwvl.ll
+0-2llvm/test/CodeGen/X86/vector-shuffle-combining.ll
+0-2llvm/test/CodeGen/X86/vec-strict-inttofp-128.ll
+0-2llvm/test/CodeGen/X86/vec-strict-fptoint-128.ll
+11-332 files not shown
+11-368 files

LLVM/project e6d5a8a — llvm/test/CodeGen/X86 vec-strict-128.ll vector-shuffle-combining.ll

[X86] Add tests for the commented-out undef/poison opcodes (NFC)

#245048 left PCMPEQ and some truncation and conversion opcodes
commented out in isGuaranteedNotToBeUndefOrPoisonForTargetNode until
they have test coverage: VTRUNCS, VTRUNCUS, MCVTPS2PH, MCVTTP2SIS,
MCVTTP2UIS, STRICT_CVTTP2UI, STRICT_CVTSI2P, STRICT_CVTUI2P,
STRICT_VFPROUND and STRICT_CVTPS2PH. Each test shuffles zeros into
upper elements that are already zero.

Assisted-by: Claude Code (Claude Opus 5.5)
DeltaFile
+379-0llvm/test/CodeGen/X86/vec-strict-inttofp-128.ll
+115-0llvm/test/CodeGen/X86/vec-strict-fptoint-128.ll
+47-0llvm/test/CodeGen/X86/vector-shuffle-combining-avx512bwvl.ll
+42-0llvm/test/CodeGen/X86/avx10_2satcvtds-intrinsics.ll
+28-0llvm/test/CodeGen/X86/vector-shuffle-combining.ll
+17-0llvm/test/CodeGen/X86/vec-strict-128.ll
+628-01 files not shown
+639-07 files

LLVM/project 4c7e6bc — libc/test/UnitTest CMakeLists.txt AArch64BaremetalTestUtils.cpp

[libc] Create AArch64BaremetalTestUtils and refactor existing Arm 32-bit file (#247228)

This patch creates a new AArch64BaremetalTestUtils file to contain the
symbols necessary for baremetal testing on AArch64.

Since most of the functionality is common between AArch64 and Arm, this
patch refactors the common code into a new header file. Only the
definitions of `semihosting_call` and of `__llvm_libc_exit` differ.

In CMake, specific targets are created for each component to make them
follow better the LLVM libc conventions: the new header file is a header
library, and each target-specific source file is a new object library.
DeltaFile
+93-0libc/test/UnitTest/ArmAArch64BaremetalCommonTestUtils.h
+4-76libc/test/UnitTest/ArmBaremetalTestUtils.cpp
+41-0libc/test/UnitTest/AArch64BaremetalTestUtils.cpp
+32-6libc/test/UnitTest/CMakeLists.txt
+170-824 files

LLVM/project 2057b8f — llvm/lib/Target/SPIRV SPIRVAsmPrinter.cpp SPIRVCtorDtorLowering.cpp

[SPIRV] Drop llvm.global_{ctors,dtors} in CtorDtorLowering (#247357)

Before this patch, -spirv-emit-init-fini-kernel=false would leave the
variables around which SPIRVEmitIntrinsics would then emit calls to
llvm.spirv.init.global to, which is illegal (introduces a use of a
global intrinsic which the verifier rejects).

This patch makes it so that we unconditionally delete llvm.global_ctors
and llvm.global_dtors in SPIRVCtorDtorLowering rather than relying on
the massive hack in AsmPrinter where we just hide that the GVs are
global intrinsics by renaming them to skirt the verifier. We do end up
with an output difference (we emitted
llvm.global_ctors/llvm.global_dtors before with
-spirv-emit-init-fini-kernel=false), but I'm pretty sure that was
unintentional behavior picked up by copying the NVPTX version of the
pass.

This fixes one blocker to enabling the NewPM. No new test coverage as
global-var-intrinsics.ll works there.
DeltaFile
+6-12llvm/lib/Target/SPIRV/SPIRVCtorDtorLowering.cpp
+0-16llvm/lib/Target/SPIRV/SPIRVAsmPrinter.cpp
+6-282 files

LLVM/project 5e24ef1 — clang/lib/CIR/CodeGen CIRGenOpenMPClause.h CIRGenStmtOpenMP.cpp, clang/test/CIR/CodeGenOpenMP parallel.c not-yet-implemented.c

[CIR][OpenMP] Add support for OpenMP reduction clause

This patch adds support for the OpenMP reduction clause on the teams and for
directives for reductions with built-in identifiers on local scalar integer and
floating-point variables. Other cases, such as user-defined reductions,
modifiers, arrays and globals, are reported as not yet implemented.

Assisted-by: Cursor / Claude Opus 5.5 Medium
DeltaFile
+212-0clang/lib/CIR/CodeGen/CIRGenOpenMPClause.cpp
+137-45clang/lib/CIR/CodeGen/CIRGenStmtOpenMP.cpp
+173-0clang/test/CIR/CodeGenOpenMP/target-reduction.c
+33-1clang/test/CIR/CodeGenOpenMP/not-yet-implemented.c
+25-0clang/lib/CIR/CodeGen/CIRGenOpenMPClause.h
+19-0clang/test/CIR/CodeGenOpenMP/parallel.c
+599-466 files

LLVM/project 5ae7f00 — clang-tools-extra/clang-doc CMakeLists.txt, clang-tools-extra/clang-doc/tool CMakeLists.txt

Fix shared libs build on PPC64LE (#247919)

Fixes
https://lab.llvm.org/buildbot/#/builders/145/builds/1892/steps/5/logs/stdio
caused by: https://github.com/llvm/llvm-project/pull/244717
DeltaFile
+1-0clang-tools-extra/clang-doc/tool/CMakeLists.txt
+1-0clang-tools-extra/clang-doc/CMakeLists.txt
+2-02 files

LLVM/project 5c3c0b9 — clang/lib/CIR/CodeGen CIRGenStmtOpenMP.cpp, clang/test/CIR/CodeGenOpenMP not-yet-implemented.c region-cleanups-O2.c

[CIR][OpenMP] Add support for 'distribute parallel for' with 'target teams'

Adds support for handling the full '[target] teams distribute parallel for'.
Introduces setting the omp.composite attibute for the 'distribute parallel for'
composite construct.

Assisted-by: Cursor / Claude Sonnet 5 High
DeltaFile
+924-0clang/test/CIR/CodeGenOpenMP/target-teams-distribute-parallel-for.c
+305-45clang/lib/CIR/CodeGen/CIRGenStmtOpenMP.cpp
+278-0clang/test/CIR/CodeGenOpenMP/distribute-parallel-for.c
+28-0clang/test/CIR/CodeGenOpenMP/target-host-eval.c
+27-0clang/test/CIR/CodeGenOpenMP/region-cleanups-O2.c
+19-0clang/test/CIR/CodeGenOpenMP/not-yet-implemented.c
+1,581-456 files

LLVM/project b1340f7 — clang/lib/CIR/CodeGen CIRGenStmtOpenMP.cpp, clang/test/CIR/CodeGenOpenMP not-yet-implemented.c teams-distribute.c

[CIR][OpenMP] Add initial support for distribute

This patch adds initial support for the OpenMP 'distribute' directive. Basic
code generation for the standalone and combined cases is introduced. Support
for clauses will be added in the future. The composite 'teams distribute
parallel for' form will be added in a subsequent patch.

Assisted-by: Cursor / Claude Sonnet 5 High
DeltaFile
+756-0clang/test/CIR/CodeGenOpenMP/target-teams-distribute.c
+203-0clang/test/CIR/CodeGenOpenMP/teams-distribute.c
+153-28clang/lib/CIR/CodeGen/CIRGenStmtOpenMP.cpp
+27-0clang/test/CIR/CodeGenOpenMP/not-yet-implemented.c
+1,139-284 files

LLVM/project e7ebd3b — clang/lib/CIR/CodeGen CIRGenStmtOpenMP.cpp, clang/test/CIR/CodeGenOpenMP not-yet-implemented.c region-cleanups-O2.c

[CIR][OpenMP] Add support for omp teams

This patch adds support for the OpenMP 'teams' directive, both standalone
and as the combined `target teams` construct. isCombinableLeaf now also
recognizes teams, so an explicitly-nested `target` + `teams` pair gets
the same omp.combined marking as the combined case.

Assisted-by: Cursor / Claude Sonnet 5 High
DeltaFile
+179-0clang/test/CIR/CodeGenOpenMP/target-teams.c
+139-0clang/test/CIR/CodeGenOpenMP/teams.c
+94-5clang/lib/CIR/CodeGen/CIRGenStmtOpenMP.cpp
+24-0clang/test/CIR/CodeGenOpenMP/region-cleanups-O2.c
+13-3clang/test/CIR/CodeGenOpenMP/not-yet-implemented.c
+449-85 files

LLVM/project fd30a66 — llvm/lib/Transforms/InstCombine InstCombineMulDivRem.cpp, llvm/test/Transforms/InstCombine sdiv-canonicalize.ll

[InstCombine] Fix -X / -Y --> X / Y introducing UB for poison X (#243734)

The known-bits check added in #224025 for `-X / -Y --> X / Y` does not
hold when `X` is poison, so with `Y == -1` it turns `sdiv poison, 1`
into `sdiv poison, -1`, which is immediate UB.

Fix by checking the two conditions of the fold separately. `-X` must not
have the wrong sign, which holds if known bits rule out `X == INT_MIN`
or if `-X` is `nsw`. `X / Y` must not add UB, which holds if `Y` cannot
be -1, or if `X` cannot be `INT_MIN` and is not poison.

Alive2 proof:
https://alive2.llvm.org/ce/z/o5w5Qu

Fixes #243594

Assisted-by: Claude Opus 5.5
DeltaFile
+118-0llvm/test/Transforms/InstCombine/sdiv-canonicalize.ll
+15-7llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
+133-72 files

LLVM/project b6e0f11 — llvm/lib/Target/Hexagon HexagonGlobalSchedulerV2.cpp, llvm/test/CodeGen/AArch64 sve-fixed-length-fp-extend-bf16.ll sve-fixed-length-masked-expandloads.ll

Merge branch 'nvptx-targetparser-comdat' into nvptx-instrprof-dot
DeltaFile
+5,270-0llvm/lib/Target/Hexagon/HexagonGlobalSchedulerV2.cpp
+1,922-0mlir/test/Dialect/X86/vector-contract-16bit-fp-to-fma.mlir
+655-834llvm/test/CodeGen/AArch64/sve-fixed-length-masked-expandloads.ll
+688-788llvm/test/CodeGen/AArch64/sve-fixed-length-fp-extend-bf16.ll
+1,449-0llvm/test/CodeGen/RISCV/xqcilo-xqcilia-sfb-frame-index.ll
+0-1,425mlir/test/Dialect/X86/vector-contract-bf16-to-fma.mlir
+9,984-3,0472,413 files not shown
+102,712-24,8762,419 files

LLVM/project 415a2a9 — llvm/test/CodeGen/AArch64 sve-fixed-length-masked-expandloads.ll sve-interleaved-accesses.ll, llvm/test/CodeGen/RISCV xqcilo-xqcilia-frame-index.ll xqcilo-xqcilia-sfb-frame-index.ll

Merge branch 'main' into nvptx-targetparser-comdat
DeltaFile
+688-788llvm/test/CodeGen/AArch64/sve-fixed-length-fp-extend-bf16.ll
+1,449-0llvm/test/CodeGen/RISCV/xqcilo-xqcilia-sfb-frame-index.ll
+413-668llvm/test/CodeGen/AArch64/sve-interleaved-accesses.ll
+477-544llvm/test/CodeGen/AArch64/sve-fixed-length-masked-expandloads.ll
+980-1llvm/test/CodeGen/RISCV/xqcilo-xqcilia-frame-index.ll
+807-1llvm/test/Transforms/LoopVectorize/VPlan/dissolve-replicate-regions.ll
+4,814-2,002576 files not shown
+20,650-6,146582 files

LLVM/project ed14172 — llvm/lib/Transforms/Scalar CallSiteSplitting.cpp, llvm/test/Transforms/CallSiteSplitting convergent-before-call.ll

[CallSiteSplitting] Don't duplicate convergent/noduplicate calls

When a call-site is split, the instructions that precede it in its block
are duplicated into the predecessors together with the call.
`canSplitCallSite` only checked that the call-site itself is neither
convergent nor noduplicate, but it didn't on calls placed before it.

Do not split a call-site when one of the calls that would be duplicated
with it is convergent or cannot be duplicated.

Co-authored-by: juan.martinezfernandez <juan.martinezfernandez at amd.com>
DeltaFile
+12-30llvm/test/Transforms/CallSiteSplitting/convergent-before-call.ll
+8-0llvm/lib/Transforms/Scalar/CallSiteSplitting.cpp
+20-302 files

LLVM/project e18984b — llvm/test/Transforms/CallSiteSplitting convergent-before-call.ll

pre-commit: [CallSiteSplitting] Don't duplicate convergent/noduplicate calls

Co-authored-by: juan.martinezfernandez <juan.martinezfernandez at amd.com>
DeltaFile
+215-0llvm/test/Transforms/CallSiteSplitting/convergent-before-call.ll
+215-01 files

LLVM/project 13855b3 — llvm/lib/Transforms/InstCombine InstCombineCasts.cpp, llvm/test/Transforms/InstCombine bitcast.ll

[InstCombine] Don't widen lanes when moving logic op out of bitcasts (#248056)

`foldBitCastBitwiseLogic` turns `bitcast(logic(bitcast(X), bitcast(Y)))`
into `bitcast(logic(bitcast(X), Y))` when one of X and Y is FP and the
other is an integer. The new logic op works in the integer value's
lanes. When those lanes are wider than both the old op's lanes and the
result's lanes, poison in one lane spreads to neighbouring lanes. In the
issue, a `<2 x i32>` xor becomes an `i64` xor so a poison lane poisons
the whole result.

This only does the fold when each lane of the integer value fits inside
a lane of the old op or of the result. Then a poison lane in the new op
can only cover result lanes that were already poison.

Fixes #247930

Assisted-by: Claude Code (Opus 5.5)
DeltaFile
+68-0llvm/test/Transforms/InstCombine/bitcast.ll
+9-2llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
+77-22 files