LLVM/project 96891b7llvm/lib/Target/X86 X86ISelLowering.cpp, llvm/test/CodeGen/X86 any_extend_vector_inreg_of_broadcast_from_memory.ll zero_extend_vector_inreg_of_broadcast_from_memory.ll

[X86] EltsFromConsecutiveLoads - attempt to match consecutive truncated loads (#172051)

SelectionDAG::areNonVolatileConsecutiveLoads will only match loads that
have a MemoryVT the same size as the stride byte size, which will fail
for cases where large loads have been split (typically by
shift+truncates) and we're trying to stitch them back together.

As a fallback, this patch checks for cases where the candidate element's
byte size is a multiple of full MemoryVT bytes distance away from the base
load.
DeltaFile
+13-191llvm/test/CodeGen/X86/any_extend_vector_inreg_of_broadcast_from_memory.ll
+2-92llvm/test/CodeGen/X86/zero_extend_vector_inreg_of_broadcast_from_memory.ll
+8-40llvm/test/CodeGen/X86/load-partial.ll
+14-2llvm/lib/Target/X86/X86ISelLowering.cpp
+37-3254 files

LLVM/project 249acb6llvm/test/Examples lit.local.cfg

[LLVM][Examples] Disable tests on AIX

Neither plugins nor JITLink works on AIX.
DeltaFile
+1-1llvm/test/Examples/lit.local.cfg
+1-11 files

LLVM/project 0c698f6utils/bazel/llvm-project-overlay/clang-tools-extra/clang-tidy BUILD.bazel

[bazel] Port for e0379b8f91e52e978208887e2f74ea9efda3180d
DeltaFile
+1-0utils/bazel/llvm-project-overlay/clang-tools-extra/clang-tidy/BUILD.bazel
+1-01 files

LLVM/project c3a0849clang/lib/CIR/CodeGen CIRGenExprScalar.cpp, clang/test/CIR/CodeGen cxx-traits.cpp

[CIR] Add support for the ArrayTypeTraitExpr (#171710)

Add support for the ArrayTypeTraitExpr
DeltaFile
+22-0clang/test/CIR/CodeGen/cxx-traits.cpp
+3-3clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
+25-32 files

LLVM/project 8af423fmlir/lib/Transforms/Utils DialectConversion.cpp, mlir/test/Transforms test-legalizer.mlir

[mlir][Transforms] Legalize nested operations
DeltaFile
+79-55mlir/lib/Transforms/Utils/DialectConversion.cpp
+8-0mlir/test/Transforms/test-legalizer.mlir
+87-552 files

LLVM/project d1d6cd9mlir/lib/Transforms/Utils DialectConversion.cpp, mlir/test/Transforms test-legalizer.mlir

[mlir][Transforms] Legalize nested operations
DeltaFile
+71-50mlir/lib/Transforms/Utils/DialectConversion.cpp
+8-0mlir/test/Transforms/test-legalizer.mlir
+79-502 files

LLVM/project 4ea8157llvm/lib/Transforms/Vectorize LoopVectorize.cpp VPlanRecipes.cpp, llvm/test/Transforms/LoopVectorize/X86 replicate-uniform-call.ll

Revert "[VPlan] Remove legacy costing inside VPBlendRecipe::computeCost (#171846)"

This reverts commit fd5f53aa9b21060063484fc6c346316a34a6464c.

It's triggering legacy cost model assertions reported in
https://github.com/llvm/llvm-project/pull/171846#issuecomment-3647640019
DeltaFile
+41-13llvm/test/Transforms/LoopVectorize/X86/replicate-uniform-call.ll
+0-5llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+5-0llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+46-183 files

LLVM/project 95e4dc6clang/lib/CIR/CodeGen CIRGenExprScalar.cpp, clang/test/CIR/CodeGen requires-expr.cpp

[CIR] Add support for the RequiresExpr (#171818)

Add support for the RequiresExpr
DeltaFile
+51-0clang/test/CIR/CodeGen/requires-expr.cpp
+1-2clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
+52-22 files

LLVM/project fa79e0alibcxx/include ranges module.modulemap.in, libcxx/include/__ranges elements_of.h

[libc++][ranges] implement `ranges::elements_of` (#91414)

## Introduction

This patch implements `ranges::elements_of` from
[P2502R2](https://wg21.link/P2502R2). Specializations of `elements_of`
encapsulate a range and act as a tag in overload sets to disambiguate
when a range should be treated as a sequence rather than a single value.

```cpp
template <bool YieldElements>
std::generator<std::any> f(std::ranges::input_range auto &&r) {
  if constexpr (YieldElements) {
    co_yield std::ranges::elements_of(r);
  } else {
    co_yield r;
  }
}
```

    [12 lines not shown]
DeltaFile
+106-0libcxx/test/std/ranges/range.utility/range.elementsof/elements_of.pass.cpp
+100-0libcxx/test/std/ranges/range.utility/range.elementsof/ctad.pass.cpp
+49-0libcxx/include/__ranges/elements_of.h
+5-0libcxx/include/ranges
+3-1libcxx/modules/std/ranges.inc
+1-0libcxx/include/module.modulemap.in
+264-11 files not shown
+265-17 files

LLVM/project d8b03f2llvm/lib/CodeGen/SelectionDAG LegalizeDAG.cpp

DAG: Use the LibcallImpl to get calling conv in ExpandDivRemLibCall (#172152)

DeltaFile
+1-1llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+1-11 files

LLVM/project ffd522bclang/include/clang/CIR/Dialect/IR CIROps.td, clang/test/CIR/CodeGen switch.cpp

[CIR] Fix allEnumCasesCovered format to be snake_case
DeltaFile
+2-2clang/include/clang/CIR/Dialect/IR/CIROps.td
+2-2clang/test/CIR/IR/switch.cir
+1-1clang/test/CIR/CodeGen/switch.cpp
+5-53 files

LLVM/project 3afa68fflang/test/Semantics modfile75.f90 modfile81.f90

[Flang] Rename modfile75.f90 to modfile81.f90. (NFC)

There is already a modfile75.F90 test, and the new test added in
https://github.com/llvm/llvm-project/pull/170349 breaks git on macOS.
DeltaFile
+0-28flang/test/Semantics/modfile75.f90
+28-0flang/test/Semantics/modfile81.f90
+28-282 files

LLVM/project 09197e4clang/include/clang/Basic AttrDocs.td

[Docs] Fix typo: missing closing parenthesis in __attribute__ (#172148)

DeltaFile
+1-1clang/include/clang/Basic/AttrDocs.td
+1-11 files

LLVM/project 0b64dc9llvm/test CMakeLists.txt, llvm/test/Examples lit.local.cfg

[LLVM][Examples][Cygwin] Exclude examples that are not built from test dependencies (#172145)

`Bye` and `ExampleIRTransforms` are not built on Cygwin.
DeltaFile
+1-1llvm/test/CMakeLists.txt
+1-1llvm/test/Examples/lit.local.cfg
+2-22 files

LLVM/project aa3344bllvm/lib/CodeGen/SelectionDAG LegalizeDAG.cpp

DAG: Use the LibcallImpl to get calling conv in ExpandDivRemLibCall
DeltaFile
+1-1llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+1-11 files

LLVM/project bea172cllvm/lib/Target/AArch64/GISel AArch64LegalizerInfo.cpp, llvm/test/CodeGen/AArch64/Atomics aarch64-atomic-store-rcpc_immo.ll

[AArch64][GlobalISel] Fix incorrect codegen for FPR16/FPR8 to GPR copies (#171499)

Fixes #171494
DeltaFile
+44-0llvm/test/CodeGen/AArch64/GlobalISel/arm64-atomic-store-fp16.ll
+2-6llvm/test/CodeGen/AArch64/Atomics/aarch64-atomic-store-rcpc_immo.ll
+4-0llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
+50-63 files

LLVM/project ad8d9e1mlir/lib/Dialect/GPU/Transforms GlobalIdRewriter.cpp, mlir/test/Conversion/GPUCommon lower-global-id.mlir

[mlir][gpu] Use `arith` dialect to lower gpu.global_id (#171614)

This PR lowers the`gpu.global_id` op using the arith dialect instead of
the index dialect. Fixes #171303.
DeltaFile
+33-0mlir/test/Conversion/GPUCommon/lower-global-id.mlir
+8-6mlir/lib/Dialect/GPU/Transforms/GlobalIdRewriter.cpp
+6-6mlir/test/Dialect/GPU/globalId-rewrite.mlir
+47-123 files

LLVM/project 9f5c963llvm/test/Examples/Kaleidoscope lit.local.cfg, llvm/test/Examples/OrcV2Examples lljit-with-remote-debugging.test

[LLVM][Example] More test feature fixes for s390 and RISC-V

Pull Request: https://github.com/llvm/llvm-project/pull/172147
DeltaFile
+2-1llvm/test/Examples/Kaleidoscope/lit.local.cfg
+1-1llvm/test/Examples/OrcV2Examples/lljit-with-remote-debugging.test
+3-22 files

LLVM/project 166a926clang/lib/Sema SemaDecl.cpp, clang/test/Sema warn-lifetime-safety.cpp

merge-attr-implicit-this
DeltaFile
+57-6clang/lib/Sema/SemaDecl.cpp
+22-0clang/test/Sema/warn-lifetime-safety.cpp
+12-0clang/test/SemaCXX/attr-lifetimebound.cpp
+91-63 files

LLVM/project 7fd349eclang/lib/Analysis/LifetimeSafety LifetimeAnnotations.cpp, clang/lib/Sema SemaDecl.cpp

merge-attr-implicit-this
DeltaFile
+57-6clang/lib/Sema/SemaDecl.cpp
+12-0clang/test/SemaCXX/attr-lifetimebound.cpp
+5-0clang/lib/Analysis/LifetimeSafety/LifetimeAnnotations.cpp
+74-63 files

LLVM/project eeaf435mlir/docs Remarks.md

[MLIR][Remarks] Improve the doc (#171128)

DeltaFile
+170-128mlir/docs/Remarks.md
+170-1281 files

LLVM/project b5019c2llvm/test/Examples/IRTransforms lit.local.cfg, llvm/test/Examples/Kaleidoscope lit.local.cfg

[LLVM][Examples] Fix test requirements

Pull Request: https://github.com/llvm/llvm-project/pull/172140
DeltaFile
+3-0llvm/test/Examples/Kaleidoscope/lit.local.cfg
+3-0llvm/test/Examples/OrcV2Examples/lit.local.cfg
+2-0llvm/test/Examples/IRTransforms/lit.local.cfg
+1-1llvm/test/Examples/OrcV2Examples/orcv2-cbindings-lazy.test
+9-14 files

LLVM/project d52d761libcxx/include complex, libcxx/test/libcxx/numerics/complex.number nodiscard.verify.cpp

[libc++][complex] Applied `[[nodiscard]]` (#171027)

`[[nodiscard]]` should be applied to functions where discarding the
return value is most likely a correctness issue.

- https://libcxx.llvm.org/CodingGuidelines.html

There appears to be an issue with annotating `operator*` and
`operator/`, see: https://llvm.org/PR171031

---------

Co-authored-by: A. Jiang <de34 at live.cn>
DeltaFile
+77-65libcxx/include/complex
+127-0libcxx/test/libcxx/numerics/complex.number/nodiscard.verify.cpp
+4-4libcxx/test/std/numerics/complex.number/complex.tuple/get.verify.cpp
+208-693 files

LLVM/project b985118clang/lib/CodeGen CGObjCMac.cpp CGObjC.cpp, clang/test/CodeGenObjC expose-direct-method-visibility-linkage.m direct-method-ret-mismatch.m

rebase to helper renaming
DeltaFile
+9-9clang/lib/CodeGen/CGObjCMac.cpp
+4-4clang/test/CodeGenObjC/expose-direct-method-visibility-linkage.m
+1-1clang/lib/CodeGen/CGObjC.cpp
+1-1clang/test/CodeGenObjC/direct-method-ret-mismatch.m
+1-1clang/test/CodeGenObjC/expose-direct-method-consumed.m
+1-1clang/test/CodeGenObjC/expose-direct-method-linkedlist.m
+17-172 files not shown
+19-198 files

LLVM/project cd5b12dclang/lib/CodeGen CGObjC.cpp

update comments
DeltaFile
+5-3clang/lib/CodeGen/CGObjC.cpp
+5-31 files

LLVM/project 216ee10clang/test/CodeGenObjC expose-direct-method-visibility-linkage.m

amend mac tests
DeltaFile
+3-1clang/test/CodeGenObjC/expose-direct-method-visibility-linkage.m
+3-11 files

LLVM/project 6128f1dclang/lib/CodeGen CGObjCMac.cpp

format
DeltaFile
+1-2clang/lib/CodeGen/CGObjCMac.cpp
+1-21 files

LLVM/project 1614f05clang/test/CodeGenObjC expose-direct-method-consumed.m

fix mac test
DeltaFile
+0-11clang/test/CodeGenObjC/expose-direct-method-consumed.m
+0-111 files

LLVM/project 0c35d41clang/test/CodeGenObjC expose-direct-method.m expose-direct-method-visibility-linkage.m

add tests
DeltaFile
+292-0clang/test/CodeGenObjC/expose-direct-method.m
+170-0clang/test/CodeGenObjC/expose-direct-method-visibility-linkage.m
+136-0clang/test/CodeGenObjC/expose-direct-method-linkedlist.m
+119-0clang/test/CodeGenObjC/expose-direct-method-consumed.m
+103-0clang/test/CodeGenObjC/expose-direct-method-varargs.m
+24-0clang/test/CodeGenObjC/direct-method-ret-mismatch.m
+844-01 files not shown
+846-27 files

LLVM/project f7ca1abclang/lib/CodeGen CGObjCMac.cpp CGObjC.cpp

[ExposeDirectMethod] Nil chech thunk generation

- Generation
- Dispatch
DeltaFile
+236-1clang/lib/CodeGen/CGObjCMac.cpp
+12-5clang/lib/CodeGen/CGObjC.cpp
+7-0clang/lib/CodeGen/CodeGenFunction.h
+3-1clang/lib/CodeGen/CGDecl.cpp
+258-74 files