LLVM/project 9436b7bmlir/include/mlir/Dialect/XeGPU/Utils XeGPUUtils.h, mlir/lib/Dialect/XeGPU/Transforms XeGPUWgToSgDistribute.cpp XeGPUSubgroupDistribute.cpp

shorten get/setTempLayoutAttr to get/setTempLayout
DeltaFile
+30-33mlir/lib/Dialect/XeGPU/Transforms/XeGPUWgToSgDistribute.cpp
+17-17mlir/lib/Dialect/XeGPU/Transforms/XeGPUSubgroupDistribute.cpp
+9-9mlir/lib/Dialect/XeGPU/Utils/XeGPUUtils.cpp
+7-7mlir/lib/Dialect/XeGPU/Transforms/XeGPUOptimizeBlockLoads.cpp
+2-3mlir/include/mlir/Dialect/XeGPU/Utils/XeGPUUtils.h
+65-695 files

LLVM/project 61db1fflldb/include/lldb/Utility NonNullSharedPtr.h, lldb/unittests/Utility NonNullSharedPtrTest.cpp CMakeLists.txt

[lldb] Add unit tests for NonNullSharedPtr (#172173)

I was investigating a crash yesterday that implicated NonNullSharedPtr
which made me realize I didn't add unit tests for my new class.
DeltaFile
+210-0lldb/unittests/Utility/NonNullSharedPtrTest.cpp
+1-0lldb/include/lldb/Utility/NonNullSharedPtr.h
+1-0lldb/unittests/Utility/CMakeLists.txt
+212-03 files

LLVM/project cc60c1bmlir/include/mlir/Dialect/XeGPU/Utils XeGPUUtils.h, mlir/lib/Dialect/XeGPU/Transforms XeGPUWgToSgDistribute.cpp XeGPUSubgroupDistribute.cpp

replace get/setTempDistributeLayoutAttr to get/setLayoutAttr
DeltaFile
+36-37mlir/lib/Dialect/XeGPU/Transforms/XeGPUWgToSgDistribute.cpp
+17-25mlir/lib/Dialect/XeGPU/Transforms/XeGPUSubgroupDistribute.cpp
+9-10mlir/lib/Dialect/XeGPU/Utils/XeGPUUtils.cpp
+6-6mlir/lib/Dialect/XeGPU/Transforms/XeGPUOptimizeBlockLoads.cpp
+3-3mlir/include/mlir/Dialect/XeGPU/Utils/XeGPUUtils.h
+71-815 files

LLVM/project 52d560emlir/lib/Dialect/XeGPU/Transforms XeGPUWgToSgDistribute.cpp XeGPUOptimizeBlockLoads.cpp

clean up setDistributeLayoutAttr in sg distribution pass
DeltaFile
+21-20mlir/lib/Dialect/XeGPU/Transforms/XeGPUWgToSgDistribute.cpp
+6-6mlir/lib/Dialect/XeGPU/Transforms/XeGPUOptimizeBlockLoads.cpp
+27-262 files

LLVM/project a630642clang/lib/Analysis UnsafeBufferUsage.cpp, clang/test/SemaCXX warn-unsafe-buffer-usage-fold-conditional.cpp warn-unsafe-buffer-usage-libc-functions.cpp

[-Wunsafe-buffer-usage] Check isValueDependent before EvaluateAsBooleanCondition (#172091)

The function `EvaluateAsBooleanCondition` assumes (asserts) that the
input `Expr` is not in a dependent context. So it is caller's
responsibility to check the condition before the call. This commit fixes
the issue in `UnsafeBufferUsage.cpp`.

The issue was first found downstream because of some code not
upstreamed. This commit also includes those un-upstreamed code.

rdar://166217941
DeltaFile
+40-34clang/lib/Analysis/UnsafeBufferUsage.cpp
+13-0clang/test/SemaCXX/warn-unsafe-buffer-usage-fold-conditional.cpp
+2-0clang/test/SemaCXX/warn-unsafe-buffer-usage-libc-functions.cpp
+55-343 files

LLVM/project 3c2f818bolt/include/bolt/Core BinaryContext.h, bolt/include/bolt/Passes LongJmp.h

[BOLT] Introduce BinaryFunctionListType. NFC (#172128)

Use `BinaryFunctionListType` as an alias for `std::vector<BinaryFunction *>`.
DeltaFile
+7-9bolt/include/bolt/Passes/LongJmp.h
+9-6bolt/include/bolt/Core/BinaryContext.h
+8-7bolt/lib/Passes/LongJmp.cpp
+5-5bolt/lib/Passes/CacheMetrics.cpp
+5-5bolt/lib/Core/BinaryContext.cpp
+3-3bolt/include/bolt/Profile/YAMLProfileReader.h
+37-359 files not shown
+55-5415 files

LLVM/project 1e15dbelibcxx/include/__ranges adjacent_view.h, libcxx/test/std/ranges/range.adaptors/range.adjacent adaptor.pass.cpp end.pass.cpp

[libc++] Implement adjacent_view (#165089)

DeltaFile
+411-0libcxx/include/__ranges/adjacent_view.h
+242-0libcxx/test/std/ranges/range.adaptors/range.adjacent/adaptor.pass.cpp
+195-0libcxx/test/std/ranges/range.adaptors/range.adjacent/sentinel/eq.pass.cpp
+185-0libcxx/test/std/ranges/range.adaptors/range.adjacent/sentinel/minus.pass.cpp
+173-0libcxx/test/std/ranges/range.adaptors/range.adjacent/end.pass.cpp
+165-0libcxx/test/std/ranges/range.adaptors/range.adjacent/iterator/arithmetic.pass.cpp
+1,371-037 files not shown
+3,892-19743 files

LLVM/project b2d9356llvm/include/llvm/CodeGen SelectionDAG.h, llvm/lib/CodeGen/SelectionDAG SelectionDAG.cpp

DAG: Make more use of the LibcallImpl overload of getExternalSymbol (#172171)

Also add a new copy for TargetExternalSymbol that AArch64 needs.
DeltaFile
+26-33llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+24-15llvm/lib/Target/ARM/ARMISelLowering.cpp
+4-4llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+3-0llvm/include/llvm/CodeGen/SelectionDAG.h
+57-524 files

LLVM/project 1dbd1e8mlir/lib/Dialect/XeGPU/Transforms XeGPUOptimizeBlockLoads.cpp

clean up setDistributeLayoutAttr in load optimization pass
DeltaFile
+2-1mlir/lib/Dialect/XeGPU/Transforms/XeGPUOptimizeBlockLoads.cpp
+2-11 files

LLVM/project a5625edclang/include/clang/Frontend ASTUnit.h

[Clang] [NFC] Add an accessor for `ASTUnit::CodeGenOpts` (#172164)

There is currently no way to actually access `ASTUnit::CodeGenOpts`;
this is almost certainly an oversight, so this adds a getter for it.
DeltaFile
+5-0clang/include/clang/Frontend/ASTUnit.h
+5-01 files

LLVM/project 2490bb7llvm/include/llvm/ADT STLExtras.h, llvm/unittests/ADT STLExtrasTest.cpp

[ADT] Only call reserve on empty containers in append_values (#172109)

Calling reserve in a loop can prevent amortized constant time appends
when the container doesn't round up the capacity.
DeltaFile
+35-0llvm/unittests/ADT/STLExtrasTest.cpp
+11-1llvm/include/llvm/ADT/STLExtras.h
+46-12 files

LLVM/project dbff004llvm/include/llvm/CodeGen SelectionDAG.h, llvm/lib/CodeGen/SelectionDAG SelectionDAG.cpp

DAG: Make more use of the LibcallImpl overload of getExternalSymbol

Also add a new copy for TargetExternalSymbol that AArch64 needs.
DeltaFile
+26-33llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+24-15llvm/lib/Target/ARM/ARMISelLowering.cpp
+4-4llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+3-0llvm/include/llvm/CodeGen/SelectionDAG.h
+57-524 files

LLVM/project a523ee6llvm/cmake config.guess

llvm/cmake/config.guess: add support for e2k (Elbrus-2000) (#162460)

Backport patch from gnu-config:
https://lists.gnu.org/archive/html/config-patches/2015-03/msg00000.html
DeltaFile
+3-0llvm/cmake/config.guess
+3-01 files

LLVM/project 2a57b03mlir/lib/Dialect/XeGPU/Transforms XeGPUSubgroupDistribute.cpp

clean up setDistributeLayoutAttr in sg distribution
DeltaFile
+3-3mlir/lib/Dialect/XeGPU/Transforms/XeGPUSubgroupDistribute.cpp
+3-31 files

LLVM/project 066e874clang/lib/Sema SemaDecl.cpp, clang/test/Sema warn-lifetime-safety.cpp

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

LLVM/project fa1dcebllvm/lib/CodeGen/AsmPrinter DwarfDebug.cpp DwarfCompileUnit.cpp, llvm/test/DebugInfo/X86 dwarf-call-target-mem-loc.mir dwarf-callsite-related-attrs-indirect.ll

[DebugInfo][DWARF] Allow memory locations in DW_AT_call_target expressions (#171183)

Fixes #70949. Prior to PR #151378 memory locations were incorrect; that
patch prevented the emission of the incorrect locations.

This patch fixes the underlying issue.
DeltaFile
+91-0llvm/test/DebugInfo/X86/dwarf-call-target-mem-loc.mir
+28-23llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+33-9llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
+15-3llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
+6-2llvm/test/DebugInfo/X86/dwarf-callsite-related-attrs-indirect.ll
+173-375 files

LLVM/project f721a39.github/workflows/containers/github-action-ci-tooling Dockerfile

[GitHub][CI] Drop manual build of universal-ctags from abi container (#172096)

This package is available in Ubuntu now, so we don't need to build it
manually.
DeltaFile
+2-9.github/workflows/containers/github-action-ci-tooling/Dockerfile
+2-91 files

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