LLVM/project 255b9d0llvm/include/llvm/Transforms/Utils AssignGUID.h, llvm/lib/Target/AArch64 SVEShuffleOpts.cpp AArch64.h

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.7

[skip ci]
DeltaFile
+3-3llvm/lib/Target/AArch64/SVEShuffleOpts.cpp
+3-2llvm/lib/Target/AArch64/AArch64.h
+1-3llvm/include/llvm/Transforms/Utils/AssignGUID.h
+3-1llvm/lib/Target/AArch64/AArch64PassRegistry.def
+10-94 files

LLVM/project 4173c42llvm/include/llvm/Transforms/Utils LowerCommentStringPass.h AssignGUID.h, llvm/lib/Target/AArch64 SVEShuffleOpts.cpp AArch64.h

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+3-3llvm/lib/Target/AArch64/SVEShuffleOpts.cpp
+2-3llvm/include/llvm/Transforms/Utils/LowerCommentStringPass.h
+3-2llvm/lib/Target/AArch64/AArch64.h
+1-3llvm/include/llvm/Transforms/Utils/AssignGUID.h
+3-1llvm/lib/Target/AArch64/AArch64PassRegistry.def
+12-125 files

LLVM/project dc8a018lldb/source/Plugins/LanguageRuntime/CPlusPlus CPPLanguageRuntime.cpp CommonABIRuntime.h

[lldb] Allow multiple ABI runtimes for C++
DeltaFile
+36-16lldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.cpp
+22-0lldb/source/Plugins/LanguageRuntime/CPlusPlus/CommonABIRuntime.h
+21-0lldb/source/Plugins/LanguageRuntime/CPlusPlus/CommonABIRuntime.cpp
+8-6lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABIRuntime.h
+5-2lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABIRuntime.cpp
+3-2lldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.h
+95-266 files

LLVM/project d2eeec4lldb/source/Plugins/LanguageRuntime/CPlusPlus ItaniumABIRuntime.cpp CommonABIRuntime.cpp

[lldb] Move dynamic type cache to common ABI runtime
DeltaFile
+0-16lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABIRuntime.cpp
+16-0lldb/source/Plugins/LanguageRuntime/CPlusPlus/CommonABIRuntime.cpp
+11-0lldb/source/Plugins/LanguageRuntime/CPlusPlus/CommonABIRuntime.h
+0-9lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABIRuntime.h
+27-254 files

LLVM/project 5b8c89alldb/source/Plugins/LanguageRuntime/CPlusPlus CommonABIRuntime.cpp ItaniumABIRuntime.cpp

[lldb] Extract type lookup by name from Itanium ABI
DeltaFile
+97-0lldb/source/Plugins/LanguageRuntime/CPlusPlus/CommonABIRuntime.cpp
+10-85lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABIRuntime.cpp
+35-0lldb/source/Plugins/LanguageRuntime/CPlusPlus/CommonABIRuntime.h
+2-4lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABIRuntime.h
+1-0lldb/source/Plugins/LanguageRuntime/CPlusPlus/CMakeLists.txt
+145-895 files

LLVM/project 0bf3638llvm/lib/CodeGen/AsmPrinter AsmPrinter.cpp, llvm/lib/MC MachObjectWriter.cpp

Revert "[MachO] Preserve weak linkage for aliases" (#212009)
DeltaFile
+0-17llvm/test/CodeGen/AArch64/macho-weak-alias.ll
+1-6llvm/lib/MC/MachObjectWriter.cpp
+1-3llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+2-263 files

LLVM/project 291e0a4llvm/lib/Transforms/Utils SimplifyCFG.cpp, llvm/test/Transforms/SimplifyCFG pr165301.ll

[SimplifyCFG] Fix DomTree update in `turnSwitchRangeIntoICmp` (#212006)

The original removal of `BB->Default` has been handled by
`createUnreachableSwitchDefault`.
When `OtherDest` is also unreachable, the edge should be removed.

This issue cannot be reproduced via
`-simplifycfg-require-and-preserve-domtree=1`. I just found it by
checking DT in `requestResimplify`.
DeltaFile
+2-4llvm/lib/Transforms/Utils/SimplifyCFG.cpp
+1-1llvm/test/Transforms/SimplifyCFG/pr165301.ll
+3-52 files

LLVM/project 80f1904lldb/source/Plugins/LanguageRuntime/CPlusPlus CPPLanguageRuntime.cpp CommonABIRuntime.h

[lldb] Allow multiple ABI runtimes for C++
DeltaFile
+36-16lldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.cpp
+22-0lldb/source/Plugins/LanguageRuntime/CPlusPlus/CommonABIRuntime.h
+21-0lldb/source/Plugins/LanguageRuntime/CPlusPlus/CommonABIRuntime.cpp
+8-6lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABIRuntime.h
+5-2lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABIRuntime.cpp
+3-2lldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.h
+95-266 files

LLVM/project 98f768fclang-tools-extra/docs/clang-tidy/checks/abseil unchecked-statusor-access.md duration-unnecessary-conversion.md

[clang-tidy][docs] Rewrite remaining abseil check docs to Markdown
DeltaFile
+267-283clang-tools-extra/docs/clang-tidy/checks/abseil/unchecked-statusor-access.md
+35-35clang-tools-extra/docs/clang-tidy/checks/abseil/duration-unnecessary-conversion.md
+34-33clang-tools-extra/docs/clang-tidy/checks/abseil/string-find-str-contains.md
+32-32clang-tools-extra/docs/clang-tidy/checks/abseil/string-find-startswith.md
+24-25clang-tools-extra/docs/clang-tidy/checks/abseil/duration-division.md
+23-23clang-tools-extra/docs/clang-tidy/checks/abseil/faster-strsplit-delimiter.md
+415-4316 files not shown
+537-55512 files

LLVM/project 3fe8ab4libcxx/src std_stream.h

[libcxx] Speed up xsgetn for always_noconv

In the always_noconv path, optimize character reads in the same way as
xsgetn.

Unlike fread, getwc has different semantics, so the same optimization
cannot be applied to wide characters. Therefore, only optimize the char
path.
DeltaFile
+23-0libcxx/src/std_stream.h
+23-01 files

LLVM/project b89f8d4lldb/source/Plugins/LanguageRuntime/CPlusPlus ItaniumABIRuntime.cpp CommonABIRuntime.cpp

[lldb] Move dynamic type cache to common ABI runtime
DeltaFile
+0-16lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABIRuntime.cpp
+16-0lldb/source/Plugins/LanguageRuntime/CPlusPlus/CommonABIRuntime.cpp
+11-0lldb/source/Plugins/LanguageRuntime/CPlusPlus/CommonABIRuntime.h
+0-9lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABIRuntime.h
+27-254 files

LLVM/project 0f473dalldb/source/Plugins/LanguageRuntime/CPlusPlus CommonABIRuntime.cpp ItaniumABIRuntime.cpp

[lldb] Extract type lookup by name from Itanium ABI
DeltaFile
+97-0lldb/source/Plugins/LanguageRuntime/CPlusPlus/CommonABIRuntime.cpp
+10-85lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABIRuntime.cpp
+35-0lldb/source/Plugins/LanguageRuntime/CPlusPlus/CommonABIRuntime.h
+2-4lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABIRuntime.h
+1-0lldb/source/Plugins/LanguageRuntime/CPlusPlus/CMakeLists.txt
+145-895 files

LLVM/project 230f9c3llvm/lib/CodeGen/AsmPrinter AsmPrinter.cpp, llvm/lib/MC MachObjectWriter.cpp

Revert "[MachO] Preserve weak linkage for aliases (#198148)"

This reverts commit 29575a3460b43132c7d973b502830897b02874a9.
DeltaFile
+0-17llvm/test/CodeGen/AArch64/macho-weak-alias.ll
+1-6llvm/lib/MC/MachObjectWriter.cpp
+1-3llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+2-263 files

LLVM/project ec157b6llvm/lib/Transforms/Vectorize VPlanTransforms.cpp LoopVectorize.cpp, llvm/test/Transforms/LoopVectorize/VPlan/AArch64 vplan-memory-op-decisions.ll

[VPlan] Widen masked unit-stride consecutive accesses in VPlan. (#211315)

Extend the widenConsecutiveMemOps sub-pass to widen masked/predicated
unit-stride consecutive accesses VPlan-natively.

This requires exposing an instruction-independent
isLegalMaskedLoadOrStore in VPSelectionContext, as well as adding it to
VPCostContext. Some of the members will probably be useful for other
changes as well.

PR: https://github.com/llvm/llvm-project/pull/211315
DeltaFile
+86-3llvm/test/Transforms/LoopVectorize/VPlan/AArch64/vplan-memory-op-decisions.ll
+21-9llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+17-3llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+5-9llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.cpp
+6-4llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
+1-0llvm/lib/Transforms/Vectorize/VPlanHelpers.h
+136-286 files

LLVM/project 2755ffcllvm/lib/Transforms/InstCombine InstCombineCompares.cpp, llvm/test/Transforms/InstCombine cast_ptr.ll

[InstCombine] Fold icmp ptrtoaddr x, ptrtoaddr y -> icmp x, y (#211991)

Similar to the existing ptrtoint fold; this is valid, because icmp only
compares address bits. This addresses optimization regressions when
generating ptrtoaddr for pointer subtractions.
DeltaFile
+114-0llvm/test/Transforms/InstCombine/cast_ptr.ll
+8-1llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
+122-12 files

LLVM/project 15c6286clang-tools-extra/docs/clang-tidy/checks/abseil unchecked-statusor-access.md duration-unnecessary-conversion.md

[clang-tidy][docs] Rewrite remaining abseil check docs to Markdown
DeltaFile
+267-283clang-tools-extra/docs/clang-tidy/checks/abseil/unchecked-statusor-access.md
+35-35clang-tools-extra/docs/clang-tidy/checks/abseil/duration-unnecessary-conversion.md
+34-33clang-tools-extra/docs/clang-tidy/checks/abseil/string-find-str-contains.md
+32-32clang-tools-extra/docs/clang-tidy/checks/abseil/string-find-startswith.md
+24-25clang-tools-extra/docs/clang-tidy/checks/abseil/duration-division.md
+23-23clang-tools-extra/docs/clang-tidy/checks/abseil/faster-strsplit-delimiter.md
+415-4316 files not shown
+537-55512 files

LLVM/project 9b1218clldb/source/Plugins/LanguageRuntime/CPlusPlus CPPLanguageRuntime.cpp ItaniumABIRuntime.cpp

[lldb] Move GetVTableInfo to C++ language runtime (#207010)

The original PR was reverted in
https://github.com/llvm/llvm-project/pull/206816 due to a test failure
on lldb-aarch64-ubuntu.
Since I couldn't reproduce the failure, I decided to split the PR into
smaller chunks.

This is part 1/4 (the final state is on
https://github.com/Nerixyz/llvm-project/tree/refactor/common-abi-runtime-take2-4-of-4).

It moves `GetVTableInfo` and `TypeHasVTable` from the Itanium ABI
runtime to the C++ language runtime. Eventually, this will be used to
select the ABI runtime that's able to handle a vtable. For now, we
always ask and use Itanium.
DeltaFile
+119-2lldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.cpp
+6-112lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABIRuntime.cpp
+10-0lldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.h
+2-6lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABIRuntime.h
+137-1204 files

LLVM/project cccf71bclang-tools-extra/docs/clang-tidy/checks/abseil unchecked-statusor-access.md unchecked-statusor-access.rst

[clang-tidy][docs] Rename remaining abseil check docs to Markdown
DeltaFile
+442-0clang-tools-extra/docs/clang-tidy/checks/abseil/unchecked-statusor-access.md
+0-442clang-tools-extra/docs/clang-tidy/checks/abseil/unchecked-statusor-access.rst
+0-57clang-tools-extra/docs/clang-tidy/checks/abseil/duration-unnecessary-conversion.rst
+57-0clang-tools-extra/docs/clang-tidy/checks/abseil/duration-unnecessary-conversion.md
+52-0clang-tools-extra/docs/clang-tidy/checks/abseil/string-find-str-contains.md
+0-52clang-tools-extra/docs/clang-tidy/checks/abseil/string-find-str-contains.rst
+551-55118 files not shown
+895-89524 files

LLVM/project d8faf7fllvm/include/llvm/Support GenericDomTreeConstruction.h, llvm/unittests/Support GenericDomTreeTest.cpp

[spr] initial version

Created using spr 1.3.8-wip
DeltaFile
+18-17llvm/include/llvm/Support/GenericDomTreeConstruction.h
+0-5llvm/unittests/Support/GenericDomTreeTest.cpp
+18-222 files

LLVM/project 068ec1aclang/lib/CodeGen CGBuiltin.cpp, clang/test/CodeGen builtin-clear-padding-codegen.c

[clang] fix __builtin_clear_padding not working with virtual base pointers on Windows (#211355)

Fixes https://github.com/llvm/llvm-project/issues/209787
It was an oversight that the builtin only takes care of the virtual
function table pointer but not the virtual base pointer. On Itanium
there is one pointer so it wasn't a problem but on windows msvc , this
is a problem. And the runtime test in libcxx CI was disabled in llvm 23
because we don't use trunk clang in our libcxx CI in general. and after
we flipped to llvm 24, the test started to fail on downstream (chromium)
where they use trunk clang with trunk libc++ on Windows.

We do have FileCheck test in clang test which covers this virtual case.
However, the target triple in the FileCheck under test were
`x86_64-linux-gnu` and `x86_64-windows-gnu` , which does not cover the
Windows msvc ABI. I updated the test to test `x86_64-pc-windows-msvc` in
this PR to cover that ABI.
DeltaFile
+598-627clang/test/CodeGenCXX/builtin-clear-padding-codegen.cpp
+317-471clang/test/CodeGen/builtin-clear-padding-codegen.c
+7-0clang/lib/CodeGen/CGBuiltin.cpp
+922-1,0983 files

LLVM/project ddc72e6llvm/lib/Transforms/InstCombine InstCombineCompares.cpp, llvm/test/Transforms/InstCombine cast_ptr.ll

more tests

Created using spr 1.3.8-wip
DeltaFile
+57-0llvm/test/Transforms/InstCombine/cast_ptr.ll
+2-0llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
+59-02 files

LLVM/project b9c05callvm/lib/Analysis ScalarEvolution.cpp

[SCEV] Fix MSan uninitialized value in createSCEV (#211996)

In #180244 (8e76c3f0d29a), handling of Instruction::Sub in
createSCEV declared PtrLHS and PtrRHS as uninitialized local variables.
When only one side matched m_PtrToInt, the other variable remained
uninitialized. Passing it by value to GetOp copied uninitialized shadow
bytes, causing MemorySanitizer to report use-of-uninitialized-value.

Initialize PtrLHS and PtrRHS to nullptr upon declaration.

Assisted-by: Gemini
DeltaFile
+1-1llvm/lib/Analysis/ScalarEvolution.cpp
+1-11 files

LLVM/project f539edfllvm/include/llvm/LTO/legacy ThinLTOCodeGenerator.h, llvm/lib/LTO ThinLTOCodeGenerator.cpp

[LTO] Include debug options in legacy ThinLTO cache keys (#211474)

Legacy ThinLTO omits -mllvm options from cache keys, which can cause it
to reuse objects built with different code-generation settings.

Include these options in cache keys, matching modern ThinLTO behavior.
DeltaFile
+43-0llvm/test/tools/lto/legacy-thinlto-cache-key.ll
+8-0llvm/include/llvm/LTO/legacy/ThinLTOCodeGenerator.h
+6-1llvm/tools/lto/lto.cpp
+4-2llvm/lib/LTO/ThinLTOCodeGenerator.cpp
+61-34 files

LLVM/project 43da8efllvm/lib/Transforms/Vectorize VectorCombine.cpp, llvm/test/Transforms/PhaseOrdering/X86 fmaddsub.ll

Revert "[VectorCombine] Fold binop(shuffle(V1, Mask), shuffle(V2, Mask)) -> shuffle(binop(V1, V2), Mask)" (#211994)

Reverts llvm/llvm-project#211530 while I investigate some compilation timeouts
DeltaFile
+64-27llvm/test/Transforms/PhaseOrdering/X86/fmaddsub.ll
+0-69llvm/lib/Transforms/Vectorize/VectorCombine.cpp
+9-8llvm/test/Transforms/VectorCombine/X86/shuffletoidentity-bitcast.ll
+4-3llvm/test/Transforms/VectorCombine/AArch64/shuffletoidentity.ll
+4-2llvm/test/Transforms/VectorCombine/X86/permute-of-binops.ll
+3-2llvm/test/Transforms/VectorCombine/pr197910.ll
+84-1116 files

LLVM/project e50a4d2llvm/lib/Analysis ScalarEvolution.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+1-1llvm/lib/Analysis/ScalarEvolution.cpp
+1-11 files

LLVM/project 3055342clang/test/SemaOpenCL builtins-amdgcn-error-gfx12.cl builtins-amdgcn-global-load-store-target-error.cl

clang/AMDGPU: Migrate cc1 tests to subarch triples (9) (#211954)
DeltaFile
+8-8clang/test/SemaOpenCL/builtins-amdgcn-error-gfx12.cl
+6-6clang/test/SemaOpenCL/builtins-amdgcn-global-load-store-target-error.cl
+5-5clang/test/SemaOpenCL/builtins-amdgcn-raw-ptr-buffer-load-lds-target-error.cl
+5-5clang/test/SemaOpenCL/builtins-amdgcn-error-gfx10.cl
+5-5clang/test/SemaOpenCL/builtins-amdgcn-cmp-deprecated.cl
+4-4clang/test/SemaOpenCL/builtins-amdgcn-wave32-func-attr.cl
+33-3342 files not shown
+93-9148 files

LLVM/project 0818e7fllvm/lib/Transforms/Vectorize VectorCombine.cpp, llvm/test/Transforms/PhaseOrdering/X86 fmaddsub.ll

Revert "[VectorCombine] Fold binop(shuffle(V1, Mask), shuffle(V2, Mask)) -> s…"

This reverts commit b7fa8b21227c7c6a1c625db9ceab4acb485c2e6b.
DeltaFile
+64-27llvm/test/Transforms/PhaseOrdering/X86/fmaddsub.ll
+0-69llvm/lib/Transforms/Vectorize/VectorCombine.cpp
+9-8llvm/test/Transforms/VectorCombine/X86/shuffletoidentity-bitcast.ll
+4-3llvm/test/Transforms/VectorCombine/AArch64/shuffletoidentity.ll
+4-2llvm/test/Transforms/VectorCombine/X86/permute-of-binops.ll
+3-2llvm/test/Transforms/VectorCombine/pr197910.ll
+84-1116 files

LLVM/project a6d9e7ellvm/test/TableGen ProcessorAlias.td, llvm/utils/TableGen SubtargetEmitter.cpp

sort
DeltaFile
+10-3llvm/utils/TableGen/SubtargetEmitter.cpp
+2-1llvm/test/TableGen/ProcessorAlias.td
+12-42 files

LLVM/project db06c0ellvm/lib/Transforms/InstCombine InstCombineCompares.cpp, llvm/test/Transforms/InstCombine cast_ptr.ll

[spr] initial version

Created using spr 1.3.8-wip
DeltaFile
+57-0llvm/test/Transforms/InstCombine/cast_ptr.ll
+6-1llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
+63-12 files

LLVM/project 943d649clang/test/SemaHIP builtins-amdgcn-gfx1250-cooperative-atomics-templated.hip amdgpu-feature-builtins-return-type-deduction.hip

clang/AMDGPU: Migrate cc1 tests to subarch triples (8) (#211870)

Rewrite SemaHIP cc1 test RUN lines to the new subarch triple form,
dropping the redundant -target-cpu.

Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+2-2clang/test/SemaHIP/builtins-amdgcn-gfx1250-cooperative-atomics-templated.hip
+2-2clang/test/SemaHIP/amdgpu-feature-builtins-return-type-deduction.hip
+2-2clang/test/SemaHIP/amdgpu-builtin-in-lambda.hip
+2-2clang/test/SemaHIP/amdgpu-builtin-in-lambda-with-unsupported-attribute.hip
+1-1clang/test/SemaHIP/builtins-amdgcn-raw-buffer-atomic-add.hip
+1-1clang/test/SemaHIP/builtins-amdgcn-raw-buffer-atomic-fmin-max.hip
+10-1015 files not shown
+25-2521 files