LLVM/project ca002cfllvm/test/CodeGen/AArch64 sve-fixed-length-masked-expandloads.ll sve-streaming-mode-fixed-length-masked-expandload.ll, llvm/test/CodeGen/AArch64/GlobalISel select-with-no-legality-check.mir knownbits-vector.mir

Merge branch 'main' into users/bassiounix/clang/deduction-guides
DeltaFile
+26,606-0llvm/test/CodeGen/AArch64/sve-fixed-length-masked-expandloads.ll
+4,078-0llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-masked-expandload.ll
+1,604-1,567llvm/test/CodeGen/AArch64/clmul-scalable.ll
+0-1,370llvm/unittests/CodeGen/GlobalISel/KnownBitsVectorTest.cpp
+662-662llvm/test/CodeGen/AArch64/GlobalISel/select-with-no-legality-check.mir
+1,291-0llvm/test/CodeGen/AArch64/GlobalISel/knownbits-vector.mir
+34,241-3,5991,175 files not shown
+63,927-21,0481,181 files

LLVM/project 2747ba9clang/lib/ScalableStaticAnalysisFramework/Analyses SSAFAnalysesCommon.cpp SSAFAnalysesCommon.h, clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel EntityPointerLevel.cpp

Merge branch 'users/ziqingluo/PR-174874942-2' into users/ziqingluo/PR-174874942-3

 Conflicts:
        clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp
        clang/lib/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowAnalysis.cpp
DeltaFile
+3-3clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp
+3-3clang/lib/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowAnalysis.cpp
+1-0clang/lib/ScalableStaticAnalysisFramework/Analyses/SSAFAnalysesCommon.cpp
+1-0clang/lib/ScalableStaticAnalysisFramework/Analyses/SSAFAnalysesCommon.h
+8-64 files

LLVM/project e05366eclang/docs ClangFormatStyleOptions.rst, clang/include/clang/Format Format.h

rebase

Created using spr 1.3.7
DeltaFile
+261-0llvm/test/CodeGen/AArch64/addp-shuffle.ll
+54-143llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.abs.ll
+143-48clang/include/clang/Format/Format.h
+141-18clang/docs/ClangFormatStyleOptions.rst
+71-39llvm/lib/CodeGen/MachineStripDebug.cpp
+82-28clang/unittests/Format/FormatTest.cpp
+752-276138 files not shown
+2,284-913144 files

LLVM/project ee24b9elldb/docs/use links.rst

[lldb][docs] Simplify the links page (#193038)

When we created the links page, we didn't have many so it made sense to
include a little snippet for some of the videos. Now that this has
grown, it makes the page harder to navigate.
DeltaFile
+9-51lldb/docs/use/links.rst
+9-511 files

LLVM/project 212f63dclang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel EntityPointerLevel.cpp, clang/lib/ScalableStaticAnalysisFramework/Analyses/PointerFlow PointerFlowAnalysis.cpp

fix format
DeltaFile
+3-3clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp
+3-3clang/lib/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowAnalysis.cpp
+6-62 files

LLVM/project 0fcca41clang/lib/CIR/CodeGen CIRGenExpr.cpp, clang/test/CIR/CodeGen cast.cpp

[CIR] Allow user-defined casts in emitPointerWithAlignment (#193078)

In CIR, we use a fully-covered switch for casts in
emitPointerWithAlignment and only allow casts that are known to be safe
to fall through without handling. Classic codegen uses a default and all
casts that don't already have special handling fall through. This change
moves CK_UserDefinedConversion to the group that we allow to fall
through and changes the unanalyzed group to emit an NYI diagnostic
rather than calling llvm_unreachable.
DeltaFile
+19-0clang/test/CIR/CodeGen/cast.cpp
+9-2clang/lib/CIR/CodeGen/CIRGenExpr.cpp
+28-22 files

LLVM/project 243b55bllvm/include/llvm/CodeGen MachineBlockHashInfo.h, llvm/lib/CodeGen MachineBlockHashInfo.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+15-3llvm/lib/CodeGen/MachineBlockHashInfo.cpp
+13-2llvm/include/llvm/CodeGen/MachineBlockHashInfo.h
+28-52 files

LLVM/project e239619llvm/include/llvm/Analysis TargetTransformInfoImpl.h, llvm/include/llvm/CodeGen BasicTTIImpl.h

[LV][RISCV][NFC] Add explicit LMUL controls via computeFeasibleMaxVF

Add components of maxVF and its support under scalable only
vectorization.  This mode disables Fixed vectorization rather
than choosing between Scalable and Fixed. It is disabled currently
as other components need to be ported as well.
DeltaFile
+175-2llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+56-0llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
+13-1llvm/include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h
+12-0llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
+11-0llvm/include/llvm/CodeGen/BasicTTIImpl.h
+9-0llvm/lib/Analysis/TargetTransformInfo.cpp
+276-34 files not shown
+306-410 files

LLVM/project b31dbc4llvm/include/llvm/CodeGen MachineBlockHashInfo.h, llvm/include/llvm/Passes MachinePassRegistry.def

[CodeGen] Add MachineBlockHashInfoAnalysis for the new pass manager (#192911)

This patch introduces `MachineBlockHashInfoAnalysis` and its
corresponding
printer pass `MachineBlockHashInfoPrinterPass` to the new pass manager.

This allows running `-passes="print<machine-block-hash>"` via `llc`.

Can't merge before #192826, and don't want to mix test patch with
determinism fix in #192826.
DeltaFile
+53-0llvm/test/CodeGen/X86/machine-block-hash.mir
+23-1llvm/lib/CodeGen/MachineBlockHashInfo.cpp
+23-0llvm/include/llvm/CodeGen/MachineBlockHashInfo.h
+3-0llvm/include/llvm/Passes/MachinePassRegistry.def
+1-0llvm/lib/Passes/PassBuilder.cpp
+103-15 files

LLVM/project bf9dabcclang/lib/ScalableStaticAnalysisFramework/Analyses SSAFAnalysesCommon.h SSAFAnalysesCommon.cpp

Merge branch 'users/ziqingluo/PR-174874942-1' into users/ziqingluo/PR-174874942-2

 Conflicts:
        clang/include/clang/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevelFormat.h
        clang/include/clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageAnalysis.h
        clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp
        clang/lib/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowAnalysis.cpp
        clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageAnalysis.cpp
DeltaFile
+1-0clang/lib/ScalableStaticAnalysisFramework/Analyses/SSAFAnalysesCommon.h
+1-0clang/lib/ScalableStaticAnalysisFramework/Analyses/SSAFAnalysesCommon.cpp
+2-02 files

LLVM/project 7fc169fclang/lib/ScalableStaticAnalysisFramework/Analyses SSAFAnalysesCommon.cpp SSAFAnalysesCommon.h

Merge branch 'users/ziqingluo/PR-172429193-3' into users/ziqingluo/PR-174874942-1
DeltaFile
+1-0clang/lib/ScalableStaticAnalysisFramework/Analyses/SSAFAnalysesCommon.cpp
+1-0clang/lib/ScalableStaticAnalysisFramework/Analyses/SSAFAnalysesCommon.h
+2-02 files

LLVM/project a6f9a0dlibc/src/__support/math floorf16.h floorf.h, libc/test/shared shared_math_constexpr_test.cpp CMakeLists.txt

[libc][math] Qualify floor functions to constexpr (#192791)

Signed-off-by: udaykiriti <udaykiriti624 at gmail.com>
Co-authored-by: Muhammad Bassiouni <60100307+bassiounix at users.noreply.github.com>
DeltaFile
+10-1libc/test/shared/shared_math_constexpr_test.cpp
+6-0libc/test/shared/CMakeLists.txt
+3-2libc/src/__support/math/floorf16.h
+3-2libc/src/__support/math/floorf.h
+3-2libc/src/__support/math/floor.h
+3-1libc/src/__support/math/floorl.h
+28-82 files not shown
+34-108 files

LLVM/project b776262clang/test/CodeGenHLSL/builtins mad.hlsl, clang/test/CodeGenHLSL/convergence for.hlsl while.hlsl

Revert "[HLSL][DirectX] Emit convergence control tokens when targeting Direct…"

This reverts commit 2c8c2bdf6aa8e5c5ee5acd9bb60445e256a37c79.
DeltaFile
+0-72llvm/test/Transforms/LoopRotate/convergent-controlled.ll
+0-70llvm/test/Transforms/IndVarSimplify/convergent-controlled-loop.ll
+0-70llvm/test/Transforms/SimpleLoopUnswitch/convergent-controlled.ll
+26-28clang/test/CodeGenHLSL/convergence/for.hlsl
+24-24clang/test/CodeGenHLSL/builtins/mad.hlsl
+19-21clang/test/CodeGenHLSL/convergence/while.hlsl
+69-28567 files not shown
+163-69773 files

LLVM/project 9324e93clang/lib/ScalableStaticAnalysisFramework/Analyses SSAFAnalysesCommon.cpp

add missing include
DeltaFile
+1-0clang/lib/ScalableStaticAnalysisFramework/Analyses/SSAFAnalysesCommon.cpp
+1-01 files

LLVM/project d686a64llvm/test/CodeGen/AMDGPU minimumnum.bf16.ll maximumnum.bf16.ll, llvm/test/CodeGen/AMDGPU/GlobalISel insertelement.ll insertelement.i16.ll

Merge commit '2537596d2292d32e029dbccf4ecee55202c8ec64' into users/ziqingluo/PR-172429193-3
DeltaFile
+3,326-2,794llvm/test/CodeGen/AMDGPU/minimumnum.bf16.ll
+3,326-2,794llvm/test/CodeGen/AMDGPU/maximumnum.bf16.ll
+2,843-799llvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.ll
+1,154-1,574llvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.i16.ll
+998-1,283llvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.i8.ll
+695-1,374llvm/test/CodeGen/AMDGPU/bf16.ll
+12,342-10,618661 files not shown
+52,899-25,990667 files

NetBSD/src sLPO2zdtests/usr.bin/xlint/lint1 msg_275.c msg_247.c

   tests/lint: remove outdated comment, add volatile cast
VersionDeltaFile
1.7+10-1tests/usr.bin/xlint/lint1/msg_275.c
1.36+2-6tests/usr.bin/xlint/lint1/msg_247.c
+12-72 files

LLVM/project 1d2bb77clang/include/clang/ScalableStaticAnalysisFramework/Analyses/PointerFlow PointerFlowAnalysis.h, clang/lib/ScalableStaticAnalysisFramework/Analyses SSAFAnalysesCommon.h SSAFAnalysesCommon.cpp

[SSAF][Analysis] Add PointerFlowReachableAnalysis

PointerFlowReachableAnalysis uses PointerFlow and UnsafeBufferUsage
summaries.  It computes reachable nodes in the PointerFlow graph from
unsafe buffer nodes in the UnsafeBufferUsage summary.

rdar://174874942
DeltaFile
+433-0clang/unittests/ScalableStaticAnalysisFramework/WholeProgramAnalysis/PointerFlowReachableAnalysisTest.cpp
+128-8clang/lib/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowAnalysis.cpp
+18-5clang/include/clang/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowAnalysis.h
+3-15clang/lib/ScalableStaticAnalysisFramework/Analyses/SSAFAnalysesCommon.h
+12-0clang/lib/ScalableStaticAnalysisFramework/Analyses/SSAFAnalysesCommon.cpp
+2-1clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp
+596-293 files not shown
+599-319 files

LLVM/project bbe2878clang/include/clang/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel EntityPointerLevelFormat.h, clang/include/clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage UnsafeBufferUsageAnalysis.h

[NFC][SSAF][EntityPointerLevel] Move EntityID-to-EPL map serialization to the EPL module

Factor out the serialization of `std::map<EntityId, EntityPointerLevelSet>`
to `EntityPointerLevelFormat.h`.
DeltaFile
+51-0clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp
+8-40clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageAnalysis.cpp
+3-15clang/lib/ScalableStaticAnalysisFramework/Analyses/SSAFAnalysesCommon.h
+14-0clang/include/clang/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevelFormat.h
+12-0clang/lib/ScalableStaticAnalysisFramework/Analyses/SSAFAnalysesCommon.cpp
+5-2clang/include/clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageAnalysis.h
+93-573 files not shown
+97-609 files

OpenBSD/src 3tls1sIdistrib/notes/riscv64 hardware

   Mention some Spacemit K1 boards that kettenis added support for

   BananaPi F3, Orange Pi RV2, and Milk-V Jupiter
VersionDeltaFile
1.5+4-1distrib/notes/riscv64/hardware
+4-11 files

LLVM/project 4145698llvm/include/llvm/Analysis TargetTransformInfoImpl.h, llvm/include/llvm/CodeGen BasicTTIImpl.h

[LV][RISCV][NFC] Add explicit LMUL controls via computeFeasibleMaxVF

Add components of maxVF and its support under scalable only
vectorization.  This mode disables Fixed vectorization rather
than choosing between Scalable and Fixed. It is disabled currently
as other components need to be ported as well.
DeltaFile
+178-2llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+55-0llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
+13-1llvm/include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h
+14-0llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
+12-0llvm/include/llvm/CodeGen/BasicTTIImpl.h
+8-1llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
+280-44 files not shown
+311-410 files

OpenBSD/src 7BRWOLKdistrib/notes/riscv64 prep

   Add post-install hints for boards without distro_bootcmd (like BPi F3/Jupiter)

   The default bootcmd is useless on these boards, so suggest some simple
   default boot command.
VersionDeltaFile
1.9+7-0distrib/notes/riscv64/prep
+7-01 files

OpenBSD/src Ax5vXUOdistrib/notes/riscv64 prep

   Document specifics for spacemit K1-based boards

   Orange Pi RV2, BananaPi F3, and Milk-V Jupiter
   Requested by deraadt
VersionDeltaFile
1.8+15-0distrib/notes/riscv64/prep
+15-01 files

LLVM/project 5923861llvm/docs AMDGPUUsage.rst, llvm/lib/Target/AMDGPU AMDGPUAsmPrinter.cpp

[AMDGPU] Add `.amdgpu.info` section for per-function metadata

AMDGPU object linking requires the linker to propagate resource usage
(registers, stack, LDS) across translation units. To support this, the compiler
must emit per-function metadata and call graph edges in the relocatable object
so the linker can compute whole-program resource requirements.

This PR introduces a `.amdgpu.info` ELF section using a tagged, length-prefixed
binary format: each entry is encoded as:

```
[kind: u8] [len: u8] [payload: <len> bytes]
```

A function scope is opened by an `INFO_FUNC` entry (containing a symbol
reference), followed by per-function attributes (register counts, flags, private
segment size) and relational edges (direct calls, LDS uses, indirect call
signatures). String data such as function type signatures is stored in a
companion `.amdgpu.strtab` section.

    [4 lines not shown]
DeltaFile
+224-0llvm/test/CodeGen/AMDGPU/lds-link-time-codegen-typeid.ll
+184-0llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
+155-2llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
+126-0llvm/test/MC/AMDGPU/amdgpu-info-roundtrip.s
+113-0llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+106-0llvm/docs/AMDGPUUsage.rst
+908-29 files not shown
+1,223-1415 files

OpenBSD/src wRBwZJkdistrib/notes/riscv64 prep

   Move hw-specific parts at the end of this file
VersionDeltaFile
1.7+12-13distrib/notes/riscv64/prep
+12-131 files

LLVM/project 6e654e7llvm/test/CodeGen/AArch64 sve-fixed-length-masked-expandloads.ll sve-streaming-mode-fixed-length-masked-expandload.ll, llvm/test/CodeGen/AArch64/GlobalISel select-with-no-legality-check.mir knownbits-vector.mir

Merge branch 'main' into users/kparzysz/r06-move-deprecation-check
DeltaFile
+26,606-0llvm/test/CodeGen/AArch64/sve-fixed-length-masked-expandloads.ll
+4,078-0llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-masked-expandload.ll
+1,604-1,567llvm/test/CodeGen/AArch64/clmul-scalable.ll
+0-1,370llvm/unittests/CodeGen/GlobalISel/KnownBitsVectorTest.cpp
+662-662llvm/test/CodeGen/AArch64/GlobalISel/select-with-no-legality-check.mir
+1,291-0llvm/test/CodeGen/AArch64/GlobalISel/knownbits-vector.mir
+34,241-3,5991,185 files not shown
+63,862-21,5601,191 files

LLVM/project 2780875flang/lib/Parser openmp-parsers.cpp, flang/test/Parser/OpenMP nonblock-do-nested-omp.f90

[flang][OpenMP] Get final label from nested constructs (#192517)

Non-block DO loops can share termination statements. When parsing a
non-block DO loop, account for labels on terminating statements from
recursively parsed ExecutionPartConstructs.

Fixes https://github.com/llvm/llvm-project/issues/188892
DeltaFile
+88-0flang/test/Parser/OpenMP/nonblock-do-nested-omp.f90
+6-0flang/lib/Parser/openmp-parsers.cpp
+94-02 files

LLVM/project 915984cclang/include/clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage UnsafeBufferUsageAnalysis.h, clang/lib/ScalableStaticAnalysisFramework/Analyses/PointerFlow PointerFlowAnalysis.cpp PointerFlow.cpp

[SSAF][WPA] Add no-op PointerFlow and UnsafeBufferUsage analysis

We need no-op PointerFlow and UnsafeBufferUsage analyses for the
analysis that depends on their summary data.

Refactored PointerFlow and UnsafeBufferUsage serialization for code
sharing.

rdar://174874942
DeltaFile
+128-0clang/test/Analysis/Scalable/PointerFlow/Inputs/wpa-result.json
+121-0clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageAnalysis.cpp
+116-0clang/lib/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowAnalysis.cpp
+54-41clang/lib/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlow.cpp
+86-0clang/test/Analysis/Scalable/UnsafeBufferUsage/Inputs/wpa-result.json
+40-0clang/include/clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageAnalysis.h
+545-4125 files not shown
+951-8031 files

LLVM/project e8e8b6aflang/include/flang/Parser openmp-utils.h, flang/lib/Parser openmp-utils.cpp

[flang][OpenMP] Move ALLOCATE + privatize check to semantic checks (#192792)

Move the check from symbol resolution to semantic checks.

The check now seems to be more accurate, catching some cases that were
not detected before.
DeltaFile
+63-1flang/lib/Semantics/check-omp-structure.cpp
+0-35flang/lib/Semantics/resolve-directives.cpp
+28-0flang/include/flang/Parser/openmp-utils.h
+18-0flang/lib/Parser/openmp-utils.cpp
+8-6flang/test/Lower/OpenMP/sections.f90
+7-2flang/lib/Semantics/check-omp-structure.h
+124-441 files not shown
+126-447 files

LLVM/project 4fe8b5eclang/include/clang/AST ASTContext.h, clang/lib/AST ASTContext.cpp ItaniumMangle.cpp

[clang] implement CWG2064: ignore value dependence for decltype

The 'decltype' for a value-dependent (but non-type-dependent) should be known,
so this patch makes them non-opaque instead.

This patch also implements what's neceessary to allow overloading
on pure differences in instantiation dependence, making `std::void_t`
usable for SFINAE purposes.

This also readds a few test cases from da98651, which was a previous attempt
at resolving CWG2064.

Fixes #8740
Fixes #61818
Fixes #190388
DeltaFile
+906-175clang/lib/AST/ASTContext.cpp
+312-12clang/test/SemaTemplate/instantiation-dependence.cpp
+151-93clang/lib/AST/ItaniumMangle.cpp
+76-68clang/lib/AST/Type.cpp
+76-48clang/lib/Sema/SemaTemplate.cpp
+95-16clang/include/clang/AST/ASTContext.h
+1,616-41283 files not shown
+2,381-77789 files

LLVM/project 1d6c9b8llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/AArch64 revec-reductions.ll

[SLP][REVEC] Honor slot type when computing NumberOfParts

The getNumberOfParts() helper split VecTy without considering that a
REVEC slot is a FixedVectorType, so NumParts could fall on a non-slot
boundary.
Add an explicit ScalarTy argument, require (Sz / NumParts) to be a
multiple of getNumElements(ScalarTy), and use ScalarTy for the
hasFullVectorsOrPowerOf2 check. For non-REVEC callers ScalarSz == 1 and
behavior is unchanged.
Fixes #192963.

Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/193085
DeltaFile
+62-42llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+19-49llvm/test/Transforms/SLPVectorizer/AArch64/revec-reductions.ll
+61-0llvm/test/Transforms/SLPVectorizer/X86/revec-non-power-2-to-power-2-large-vect.ll
+142-913 files