LLVM/project 2137d5fllvm/include/llvm/CodeGen TargetInstrInfo.h, llvm/lib/CodeGen InlineSpiller.cpp

[X86][APX] Return CopyMI when added in foldMemoryOperandImpl (#191368)

Fixes: #190962 #191165 #191239
DeltaFile
+385-0llvm/test/CodeGen/X86/apx/pr191368.ll
+43-16llvm/lib/Target/X86/X86InstrInfo.cpp
+38-0llvm/test/CodeGen/X86/apx/or.ll
+19-4llvm/lib/CodeGen/InlineSpiller.cpp
+9-8llvm/lib/Target/X86/X86InstrInfo.h
+9-6llvm/include/llvm/CodeGen/TargetInstrInfo.h
+503-3412 files not shown
+554-6718 files

LLVM/project abc1ec1flang/lib/Semantics resolve-directives.cpp

[flang] clang-format flang/lib/Semantics/resolve-directives.cpp (#191660)

The changes are only on 5 lines, but now the entire file is invariant
under clang-format.
DeltaFile
+5-5flang/lib/Semantics/resolve-directives.cpp
+5-51 files

LLVM/project 49e88acllvm/test/tools/llvm-readobj/ELF packed-relocs-errors.s dynamic-tags.test, llvm/tools/llvm-readobj ELFDumper.cpp ObjDumper.cpp

[llvm-readobj][ELF] Use WrappedError to filter duplicates

Switch from StringError to WrappedError. Errors of the form "Prefix:
Error" can now be filtered out based on the underlying error while
preserving distinct prefixes, resulting in clearer llvm-readobj output.
DeltaFile
+206-194llvm/tools/llvm-readobj/ELFDumper.cpp
+16-13llvm/test/tools/llvm-readobj/ELF/packed-relocs-errors.s
+20-8llvm/tools/llvm-readobj/ObjDumper.cpp
+0-11llvm/test/tools/llvm-readobj/ELF/dynamic-tags.test
+4-7llvm/test/tools/llvm-readobj/ELF/program-headers.test
+0-7llvm/test/tools/llvm-readobj/ELF/stack-sizes.test
+246-24011 files not shown
+251-26017 files

LLVM/project 76def06llvm/include/llvm/Object ELF.h, llvm/lib/Object ELF.cpp

[Object][ELF] Pass Error to WarningHandler

Warning consumers may need to handle errors based on their type. Pass
the Error object instead of a string representation to enable this. This
also brings WarningHandler in line with Support/WithColor.h.
DeltaFile
+22-23llvm/include/llvm/Object/ELF.h
+5-4llvm/tools/llvm-objdump/llvm-objdump.cpp
+3-2llvm/tools/llvm-readobj/ObjDumper.cpp
+2-2llvm/lib/Object/ELF.cpp
+2-2llvm/unittests/Object/ELFObjectFileTest.cpp
+1-1llvm/tools/llvm-readobj/ObjDumper.h
+35-341 files not shown
+36-357 files

LLVM/project b862142llvm/lib/Target/X86 X86InstrAVX512.td, llvm/test/CodeGen/AMDGPU freeze.ll load-global-i16.ll

Merge branch 'main' into users/kparzysz/resolve-format
DeltaFile
+2,253-17llvm/test/CodeGen/AMDGPU/freeze.ll
+140-150llvm/test/CodeGen/AMDGPU/load-global-i16.ll
+88-146llvm/test/CodeGen/AMDGPU/load-constant-i64.ll
+92-105llvm/lib/Target/X86/X86InstrAVX512.td
+94-94llvm/test/CodeGen/AMDGPU/load-local-i16.ll
+83-83llvm/test/CodeGen/AMDGPU/load-constant-i1.ll
+2,750-59573 files not shown
+4,018-1,22579 files

LLVM/project 29c603cllvm/include/llvm/Object Error.h, llvm/include/llvm/Support Error.h

[Support] Add WrappedError class

The error consumer filters duplicate errors based on a portion of the
error message. Introduce a new Error kind that carries a prefix string
to support this use case.
DeltaFile
+18-0llvm/include/llvm/Support/Error.h
+8-0llvm/lib/Support/Error.cpp
+4-0llvm/include/llvm/Object/Error.h
+30-03 files

LLVM/project de56830clang/lib/AST/ByteCode Interp.cpp, clang/test/AST/ByteCode cxx17.cpp

[clang][bytecode] Handle zero pointers in `isConstexprUnknown()` (#191691)
DeltaFile
+26-0clang/test/AST/ByteCode/cxx17.cpp
+1-1clang/lib/AST/ByteCode/Interp.cpp
+27-12 files

LLVM/project c5611d6clang/lib/Analysis/LifetimeSafety Checker.cpp

doc update
DeltaFile
+2-1clang/lib/Analysis/LifetimeSafety/Checker.cpp
+2-11 files

LLVM/project fc8b54fllvm/lib/Target/AMDGPU GCNSchedStrategy.cpp

Fix comment typo

Co-authored-by: Shilei Tian <i at tianshilei.me>
DeltaFile
+1-1llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
+1-11 files

LLVM/project bf3ce82clang/include/clang/Analysis/Analyses/LifetimeSafety LifetimeSafety.h, clang/lib/Analysis/LifetimeSafety Checker.cpp

Refactor EscapingTarget
DeltaFile
+5-10clang/lib/Analysis/LifetimeSafety/Checker.cpp
+6-3clang/include/clang/Analysis/Analyses/LifetimeSafety/LifetimeSafety.h
+3-3clang/lib/Sema/SemaLifetimeSafety.h
+14-163 files

LLVM/project b7febd7llvm/lib/Target/X86 X86InstrAVX512.td

[X86] Convert VPABSQ NonVLX patterns to use avx512_unary_lowering helper (#191648)

Move avx512_unary_lowering so we can avoid manually writing the XMM/YMM->ZMM widening for NonVLX targets

Adds some missing comments for instruction classes as well
DeltaFile
+22-20llvm/lib/Target/X86/X86InstrAVX512.td
+22-201 files

LLVM/project 0945ef9clang/lib/Analysis/LifetimeSafety Checker.cpp

refactor
DeltaFile
+5-5clang/lib/Analysis/LifetimeSafety/Checker.cpp
+5-51 files

LLVM/project eff545bllvm/lib/Target/X86 X86InstrAVX512.td

[X86] Add common avx512_binary_lowering matcher for NonVLX binary op widening (#191650)

Replace VPMULLQ/VPMAXQ/VPMINQ + var shift custom patterns
DeltaFile
+70-85llvm/lib/Target/X86/X86InstrAVX512.td
+70-851 files

LLVM/project 52c6217llvm/lib/Target/X86 X86ISelLowering.cpp, llvm/test/CodeGen/X86 gfni-lzcnt.ll gfni-tzcnt.ll

[X86] LowerCTTZ - prefer legal CTPOP expansion vs GFNI to avoid constant pool load (#191623)

Fixes #191520
DeltaFile
+55-1llvm/test/CodeGen/X86/gfni-lzcnt.ll
+49-1llvm/test/CodeGen/X86/gfni-tzcnt.ll
+5-0llvm/lib/Target/X86/X86ISelLowering.cpp
+109-23 files

LLVM/project 0d9bf48clang/include/clang/Analysis/Analyses/LifetimeSafety LifetimeSafety.h, clang/lib/Analysis/LifetimeSafety Checker.cpp

Annotation inference on constructor
DeltaFile
+19-21clang/test/Sema/warn-lifetime-analysis-nocfg.cpp
+28-11clang/lib/Analysis/LifetimeSafety/Checker.cpp
+38-0clang/test/Sema/warn-lifetime-safety-suggestions.cpp
+12-6clang/lib/Sema/SemaLifetimeSafety.h
+6-6clang/test/Sema/warn-lifetime-safety.cpp
+5-4clang/include/clang/Analysis/Analyses/LifetimeSafety/LifetimeSafety.h
+108-481 files not shown
+112-487 files

LLVM/project 67c893elibcxx/test/std/utilities/format/format.functions format.locale.runtime_format.pass.cpp format.locale.dynamic_format.pass.cpp, libcxx/test/std/utilities/format/format.syn dynamic_format_string.pass.cpp runtime_format_string.pass.cpp

[libc++][format] P3953R3: Rename `std::runtime_format` (#189657)

Implements P3953R3

- renamed test files (no changes to the contents but the function
names).

Closes #189624

# References:

- https://llvm.org/PR105394
- https://wg21.link/p2918r2
DeltaFile
+0-86libcxx/test/std/utilities/format/format.functions/format.locale.runtime_format.pass.cpp
+86-0libcxx/test/std/utilities/format/format.functions/format.locale.dynamic_format.pass.cpp
+0-84libcxx/test/std/utilities/format/format.functions/format.runtime_format.pass.cpp
+84-0libcxx/test/std/utilities/format/format.functions/format.dynamic_format.pass.cpp
+70-0libcxx/test/std/utilities/format/format.syn/dynamic_format_string.pass.cpp
+0-70libcxx/test/std/utilities/format/format.syn/runtime_format_string.pass.cpp
+240-2408 files not shown
+301-29914 files

LLVM/project 1dc46a2clang/lib/Driver Driver.cpp

Clean Code. NFC (#191403)
DeltaFile
+1-1clang/lib/Driver/Driver.cpp
+1-11 files

LLVM/project f550954libcxx/include version, libcxx/include/__atomic atomic_ref.h

[libc++][atomics] P3936R1: Safer ``atomic_ref::address`` (#189761)

Implements P3936R1

Closes #189594

# References:

- https://llvm.org/PR162236
- https://wg21.link/p3936r1

---------

Co-authored-by: A. Jiang <de34 at live.cn>
Co-authored-by: Hristo Hristov <zingam at outlook.com>
DeltaFile
+36-4libcxx/test/std/atomics/atomics.ref/address.pass.cpp
+2-2libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
+2-2libcxx/include/version
+2-2libcxx/test/std/language.support/support.limits/support.limits.general/atomic.version.compile.pass.cpp
+2-1libcxx/include/__atomic/atomic_ref.h
+1-1libcxx/utils/generate_feature_test_macro_components.py
+45-123 files not shown
+48-149 files

LLVM/project 5addb73llvm/test/CodeGen/AMDGPU llvm.amdgcn.init.whole.wave-w32.ll, llvm/test/CodeGen/PowerPC ctrloops-pseudo.ll sms-cpy-1.ll

update

Created using spr 1.3.7
DeltaFile
+31-22llvm/test/CodeGen/PowerPC/ctrloops-pseudo.ll
+21-22llvm/test/Transforms/LoopStrengthReduce/X86/normalization-during-scev-expansion.ll
+19-22llvm/test/CodeGen/PowerPC/sms-cpy-1.ll
+17-18llvm/test/Transforms/LoopStrengthReduce/funclet.ll
+16-14llvm/test/CodeGen/AMDGPU/llvm.amdgcn.init.whole.wave-w32.ll
+9-5llvm/test/Transforms/LoopStrengthReduce/callbr-critical-edge-splitting.ll
+113-1036 files not shown
+129-12012 files

LLVM/project 88d7aa8llvm/test/CodeGen/AMDGPU llvm.amdgcn.init.whole.wave-w32.ll, llvm/test/CodeGen/PowerPC ctrloops-pseudo.ll sms-cpy-1.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+31-22llvm/test/CodeGen/PowerPC/ctrloops-pseudo.ll
+21-22llvm/test/Transforms/LoopStrengthReduce/X86/normalization-during-scev-expansion.ll
+19-22llvm/test/CodeGen/PowerPC/sms-cpy-1.ll
+17-18llvm/test/Transforms/LoopStrengthReduce/funclet.ll
+16-14llvm/test/CodeGen/AMDGPU/llvm.amdgcn.init.whole.wave-w32.ll
+9-5llvm/test/Transforms/LoopStrengthReduce/callbr-critical-edge-splitting.ll
+113-1036 files not shown
+129-12012 files

LLVM/project 1a97ae0llvm/test/CodeGen/AMDGPU llvm.amdgcn.init.whole.wave-w32.ll, llvm/test/CodeGen/PowerPC ctrloops-pseudo.ll sms-cpy-1.ll

update

Created using spr 1.3.7
DeltaFile
+31-22llvm/test/CodeGen/PowerPC/ctrloops-pseudo.ll
+21-22llvm/test/Transforms/LoopStrengthReduce/X86/normalization-during-scev-expansion.ll
+19-22llvm/test/CodeGen/PowerPC/sms-cpy-1.ll
+17-18llvm/test/Transforms/LoopStrengthReduce/funclet.ll
+16-14llvm/test/CodeGen/AMDGPU/llvm.amdgcn.init.whole.wave-w32.ll
+9-5llvm/test/Transforms/LoopStrengthReduce/callbr-critical-edge-splitting.ll
+113-1036 files not shown
+129-12012 files

LLVM/project f712261llvm/test/CodeGen/AMDGPU llvm.amdgcn.init.whole.wave-w32.ll, llvm/test/CodeGen/PowerPC ctrloops-pseudo.ll sms-cpy-1.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+31-22llvm/test/CodeGen/PowerPC/ctrloops-pseudo.ll
+25-26llvm/test/Transforms/LoopStrengthReduce/X86/normalization-during-scev-expansion.ll
+19-22llvm/test/CodeGen/PowerPC/sms-cpy-1.ll
+17-18llvm/test/Transforms/LoopStrengthReduce/funclet.ll
+16-14llvm/test/CodeGen/AMDGPU/llvm.amdgcn.init.whole.wave-w32.ll
+9-5llvm/test/Transforms/LoopStrengthReduce/callbr-critical-edge-splitting.ll
+117-1076 files not shown
+133-12412 files

LLVM/project 74b5f01llvm/test/CodeGen/AMDGPU llvm.amdgcn.init.whole.wave-w32.ll, llvm/test/CodeGen/PowerPC ctrloops-pseudo.ll sms-cpy-1.ll

update

Created using spr 1.3.7
DeltaFile
+31-22llvm/test/CodeGen/PowerPC/ctrloops-pseudo.ll
+25-26llvm/test/Transforms/LoopStrengthReduce/X86/normalization-during-scev-expansion.ll
+19-22llvm/test/CodeGen/PowerPC/sms-cpy-1.ll
+17-18llvm/test/Transforms/LoopStrengthReduce/funclet.ll
+16-14llvm/test/CodeGen/AMDGPU/llvm.amdgcn.init.whole.wave-w32.ll
+9-5llvm/test/Transforms/LoopStrengthReduce/callbr-critical-edge-splitting.ll
+117-1076 files not shown
+133-12412 files

LLVM/project afc41b9clang/lib/AST/ByteCode Compiler.cpp, clang/test/Sema implicit-cast-complex-to-vector.c

[clang][bytecode] Fix implicit-cast-complex-to-vector test (#191662)
DeltaFile
+3-1clang/lib/AST/ByteCode/Compiler.cpp
+1-0clang/test/Sema/implicit-cast-complex-to-vector.c
+4-12 files

LLVM/project 5bac067flang/test/Driver save-mlir-temps.f90

[Flang] Mark save-mlir-temps.f90 unsupported (#191686)

This was marked as xfail earlier for some .prefalign fixes, but is
unexpectedly passing on AArch64 Premerge CI.

Just mark it unsupported for now to get things back to green.
DeltaFile
+1-1flang/test/Driver/save-mlir-temps.f90
+1-11 files

LLVM/project 2798a10clang-tools-extra/test/clang-tidy/infrastructure custom-query-check.cpp

[Clang-tidy] Add dummy compile_commands.json for broken test (#191635)

Consequence of https://github.com/llvm/llvm-project/issues/182526.

With PCH used for unit tests (#191402), this breaks now due to matching:

llvm-build/tools/clang/tools/extra/test/clang-tidy/infrastructure/Output/custom-query-check.cpp.tmp/cqc-main.cpp

with:

llvm-build/tools/clang/tools/extra/clangd/unittests/DecisionForestRuntimeTest.cpp
DeltaFile
+2-0clang-tools-extra/test/clang-tidy/infrastructure/custom-query-check.cpp
+2-01 files

LLVM/project b6c8cballd/ELF Driver.cpp InputFiles.cpp

[ELF] Move ++nextGroupId from InputFile ctor to callers. NFC (#191685)

Move this side effect to the call sites in addFile() where the groupId
assignment is more visible.

This makes InputFile construction safe to call from parallel contexts.
DeltaFile
+8-1lld/ELF/Driver.cpp
+1-6lld/ELF/InputFiles.cpp
+9-72 files

LLVM/project bba1b33llvm/lib/Analysis IVUsers.cpp, llvm/test/Analysis/IVUsers lcssa.ll

update

Created using spr 1.3.7
DeltaFile
+83-4llvm/test/Transforms/LoopStrengthReduce/X86/2011-12-04-loserreg.ll
+22-0llvm/test/Analysis/IVUsers/lcssa.ll
+6-3llvm/lib/Analysis/IVUsers.cpp
+111-73 files

LLVM/project a775d4allvm/lib/Analysis IVUsers.cpp, llvm/test/Analysis/IVUsers lcssa.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+83-4llvm/test/Transforms/LoopStrengthReduce/X86/2011-12-04-loserreg.ll
+22-0llvm/test/Analysis/IVUsers/lcssa.ll
+6-3llvm/lib/Analysis/IVUsers.cpp
+111-73 files

LLVM/project ff26260llvm/lib/Analysis IVUsers.cpp, llvm/test/Analysis/IVUsers lcssa.ll

update

Created using spr 1.3.7
DeltaFile
+83-4llvm/test/Transforms/LoopStrengthReduce/X86/2011-12-04-loserreg.ll
+22-0llvm/test/Analysis/IVUsers/lcssa.ll
+6-3llvm/lib/Analysis/IVUsers.cpp
+111-73 files