LLVM/project 96b43d4 — llvm/lib/Target/AMDGPU GCNSubtarget.cpp

Do not assert IssueCycles > 0

Change-Id: I60e89a537117ab49d5bf8aafe12f7fdcc2d7e383
DeltaFile
+1-2llvm/lib/Target/AMDGPU/GCNSubtarget.cpp
+1-21 files

LLVM/project fe4aa38 — llvm/lib/Target/RISCV RISCVRegisterInfo.td, llvm/test/MC/RISCV/rvy rvyc-valid-load-store-64.s rvy-invalid-load-store.s

[nspr] initial commit
DeltaFile
+465-0llvm/test/MC/RISCV/rvy/rvyc-valid-load-store.s
+178-0llvm/test/MC/RISCV/rvy/rvyc-invalid-load-store.s
+175-0llvm/test/MC/RISCV/rvy/rvy-valid-load-store.s
+101-0llvm/test/MC/RISCV/rvy/rvy-invalid-load-store.s
+65-33llvm/lib/Target/RISCV/RISCVRegisterInfo.td
+86-0llvm/test/MC/RISCV/rvy/rvyc-valid-load-store-64.s
+1,070-3313 files not shown
+1,305-5519 files

LLVM/project 595e569 — libcxx/utils/ci/lnt detect-changepoints

[libc++] Make detect-changepoints much faster (#236245)

The permutation test used to find changepoints was the bottleneck of the
LNT refinement job. This patch makes the test much cheaper in two ways
without changing the algorithm:
- Compute the best split of a segment only once, when the segment is
  created.
- Scoring every split of a segment only needs the sums of distances
  within the first t points and between the first t points and the whole
  segment. The latter doesn't depend on the order of the points, so it is
  computed once per segment.

This was measured to be roughly 10x faster as the previous algorithm,
and gives the same results.

Assisted by Claude
DeltaFile
+105-76libcxx/utils/ci/lnt/detect-changepoints
+105-761 files

LLVM/project a24ecba — clang/test/Analysis lifetime-end-path-notes.cpp

Apply nits to the test file.
DeltaFile
+4-4clang/test/Analysis/lifetime-end-path-notes.cpp
+4-41 files

LLVM/project a40aab6 — .github CODEOWNERS

[libc][CODEOWNERS] Route math reviews to lntue (#236204)

Math, FPUtil, and complex entrypoints require specialised domain
expertise and clutter the review dashboard for the rest of the libc
team.

Route these directories to lntue rather than reviewers-libc.

Assisted-by: Automated tooling, human reviewed.
DeltaFile
+3-0.github/CODEOWNERS
+3-01 files

LLVM/project 004be2f — llvm/utils/gn/secondary/clang/lib/StaticAnalyzer/Checkers BUILD.gn

Update Build.gn.
DeltaFile
+1-1llvm/utils/gn/secondary/clang/lib/StaticAnalyzer/Checkers/BUILD.gn
+1-11 files

LLVM/project 94ebf40 — llvm/lib/Transforms/Vectorize/SandboxVectorizer SeedCollector.cpp, llvm/unittests/Transforms/Vectorize/SandboxVectorizer SeedCollectorTest.cpp

[SandboxVec][SeedCollector] Fix insertion into seed container (#235853)

This patch fixes the insertion into the seed container when we have a
mem access with the same key as the existing seed bundle, but insertion
into it fails because the pointer access is not a constant distance.
DeltaFile
+22-2llvm/unittests/Transforms/Vectorize/SandboxVectorizer/SeedCollectorTest.cpp
+7-3llvm/lib/Transforms/Vectorize/SandboxVectorizer/SeedCollector.cpp
+29-52 files

LLVM/project 7b11125 — utils/bazel/llvm-project-overlay/lldb BUILD.bazel

[Bazel] Fixes 6c21fa1 (#236215)

This fixes 6c21fa19aa4b31b8e49e349ede92b48bbf742afd (#235230).

Buildkite error link:
https://buildkite.com/llvm-project/upstream-bazel/builds?commit=6c21fa19aa4b31b8e49e349ede92b48bbf742afd

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+1-0utils/bazel/llvm-project-overlay/lldb/BUILD.bazel
+1-01 files

LLVM/project 163be77 — clang/include/clang/Basic DiagnosticSemaKinds.td, clang/lib/Parse ParseDecl.cpp

[OpenCL] Diagnose invalid pipe packet types when formed (#234347)

Validation is limited to function parameters and misses invalid pipe
typedefs such as `typedef pipe void P;`. Move this validation into
`BuildReadPipeType` and `BuildWritePipeType` so declarations and
template instantiations follow the same packet-type restrictions.

Reject pointer, reference, block pointer, non-object, and non-dependent
incomplete packet types. Defer checks that require a concrete type until
template substitution, but diagnose dependent function types
immediately. Report errors at the `pipe` keyword.

Assisted-by: Codex / GPT-5.6 Sol + GPT-6 Astra
DeltaFile
+38-8clang/test/SemaOpenCL/invalid-pipes-cl2.0.cl
+27-2clang/lib/Sema/SemaType.cpp
+0-11clang/lib/Sema/SemaDecl.cpp
+3-3clang/lib/Parse/ParseDecl.cpp
+4-2clang/include/clang/Basic/DiagnosticSemaKinds.td
+1-0clang/lib/Sema/DeclSpec.cpp
+73-266 files

LLVM/project 6c141a9 — clang/lib/CIR/CodeGen CIRGenFunction.h CIRGenStmtOpenMP.cpp, clang/test/CIR/CodeGenOpenMP target-parallel-for.c

[CIR][OpenMP] Add support for host_eval so that SPMD kernels can be used

This patch adds support for host_eval so that SPMD kernels and in the future
num_threads and other clauses can be implemented correctly.

Assisted-by: Cursor / Claude Sonnet 5 High
DeltaFile
+150-14clang/lib/CIR/CodeGen/CIRGenStmtOpenMP.cpp
+40-29clang/test/CIR/CodeGenOpenMP/target-parallel-for.c
+26-0clang/lib/CIR/CodeGen/CIRGenFunction.h
+216-433 files

LLVM/project 385160a — clang/lib/CIR/CodeGen CIRGenStmtOpenMP.cpp, clang/test/CIR/CodeGenOpenMP target-parallel.c region-cleanups-O2.c

[CIR][OpenMP] Add support for the OpenMP 'for' directive

This patch adds support for wsloop in ClangIR: the `for` directive and its
combined forms `parallel for` and `target parallel for`. This is lowered to an
omp.wsloop + omp.loop_nest, nested utilizing the existing queue-based
decomposition.

Assisted-by: Cursor / Claude Sonnet 5 High
DeltaFile
+327-68clang/lib/CIR/CodeGen/CIRGenStmtOpenMP.cpp
+343-0clang/test/CIR/CodeGenOpenMP/target-parallel-for.c
+228-0clang/test/CIR/CodeGenOpenMP/for-loop-forms.c
+220-0clang/test/CIR/CodeGenOpenMP/for.c
+140-0clang/test/CIR/CodeGenOpenMP/region-cleanups-O2.c
+133-0clang/test/CIR/CodeGenOpenMP/target-parallel.c
+1,391-684 files not shown
+1,536-7010 files

LLVM/project 8f8e624 — clang/lib/CIR/CodeGen CIRGenStmtOpenMP.cpp, clang/test/CIR/CodeGenOpenMP not-yet-implemented.c region-cleanups-O2.c

[CIR][OpenMP] Add support for 'distribute parallel for' with 'target teams'

Adds support for handling the full '[target] teams distribute parallel for'.
Introduces setting the omp.composite attibute for the 'distribute parallel for'
composite construct.

Assisted-by: Cursor / Claude Sonnet 5 High
DeltaFile
+556-0clang/test/CIR/CodeGenOpenMP/target-teams-distribute-parallel-for.c
+296-38clang/lib/CIR/CodeGen/CIRGenStmtOpenMP.cpp
+213-0clang/test/CIR/CodeGenOpenMP/distribute-parallel-for.c
+27-0clang/test/CIR/CodeGenOpenMP/region-cleanups-O2.c
+13-0clang/test/CIR/CodeGenOpenMP/not-yet-implemented.c
+1,105-385 files

LLVM/project eff1433 — clang/lib/CIR/CodeGen CIRGenStmtOpenMP.cpp, clang/test/CIR/CodeGenOpenMP not-yet-implemented.c region-cleanups-O2.c

[CIR][OpenMP] Add support for omp teams

This patch adds support for the OpenMP 'teams' directive, both standalone
and as the combined `target teams` construct. isCombinableLeaf now also
recognizes teams, so an explicitly-nested `target` + `teams` pair gets
the same omp.combined marking as the combined case.

Assisted-by: Cursor / Claude Sonnet 5 High
DeltaFile
+176-0clang/test/CIR/CodeGenOpenMP/target-teams.c
+108-0clang/test/CIR/CodeGenOpenMP/teams.c
+101-5clang/lib/CIR/CodeGen/CIRGenStmtOpenMP.cpp
+24-0clang/test/CIR/CodeGenOpenMP/region-cleanups-O2.c
+13-3clang/test/CIR/CodeGenOpenMP/not-yet-implemented.c
+422-85 files

LLVM/project 81fe814 — clang/lib/CIR/CodeGen CIRGenStmtOpenMP.cpp, clang/test/CIR/CodeGenOpenMP not-yet-implemented.c teams-distribute.c

[CIR][OpenMP] Add initial support for distribute

This patch adds initial support for the OpenMP 'distribute' directive. Basic
code generation for the standalone and combined cases is introduced. Support
for clauses will be added in the future. The composite 'teams distribute
parallel for' form will be added in a subsequent patch.

Assisted-by: Cursor / Claude Sonnet 5 High
DeltaFile
+405-0clang/test/CIR/CodeGenOpenMP/target-teams-distribute.c
+146-29clang/lib/CIR/CodeGen/CIRGenStmtOpenMP.cpp
+154-0clang/test/CIR/CodeGenOpenMP/teams-distribute.c
+12-0clang/test/CIR/CodeGenOpenMP/not-yet-implemented.c
+717-294 files

LLVM/project cca3ed5 — llvm/lib/Target/AVR AVRISelDAGToDAG.cpp AVR.h, llvm/test/CodeGen/AVR newpm-pipeline.ll

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+93-0llvm/lib/Target/AVR/AVRCodeGenPassBuilder.cpp
+90-0llvm/test/CodeGen/AVR/newpm-pipeline.ll
+49-38llvm/lib/Target/AVR/AVRShiftExpand.cpp
+33-0llvm/lib/Target/AVR/AVRPassRegistry.def
+19-3llvm/lib/Target/AVR/AVR.h
+7-2llvm/lib/Target/AVR/AVRISelDAGToDAG.cpp
+291-433 files not shown
+303-469 files

LLVM/project ef387f1 — llvm/lib/Target/AVR AVRTargetMachine.h AVRISelDAGToDAG.cpp, llvm/test/CodeGen/AVR newpm-pipeline.ll

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

Created using spr 1.3.7

[skip ci]
DeltaFile
+93-0llvm/lib/Target/AVR/AVRCodeGenPassBuilder.cpp
+89-0llvm/test/CodeGen/AVR/newpm-pipeline.ll
+28-0llvm/lib/Target/AVR/AVRPassRegistry.def
+10-1llvm/lib/Target/AVR/AVR.h
+7-2llvm/lib/Target/AVR/AVRISelDAGToDAG.cpp
+8-0llvm/lib/Target/AVR/AVRTargetMachine.h
+235-32 files not shown
+237-48 files

LLVM/project 1aaad60 — clang/test/Analysis lifetime-end-order.cpp

Add a simple test case.
DeltaFile
+12-0clang/test/Analysis/lifetime-end-order.cpp
+12-01 files

LLVM/project 3007191 — llvm/lib/Target/AVR AVRTargetMachine.h AVRISelDAGToDAG.cpp, llvm/test/CodeGen/AVR newpm-pipeline.ll

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+93-0llvm/lib/Target/AVR/AVRCodeGenPassBuilder.cpp
+89-0llvm/test/CodeGen/AVR/newpm-pipeline.ll
+28-0llvm/lib/Target/AVR/AVRPassRegistry.def
+10-1llvm/lib/Target/AVR/AVR.h
+7-2llvm/lib/Target/AVR/AVRISelDAGToDAG.cpp
+8-0llvm/lib/Target/AVR/AVRTargetMachine.h
+235-32 files not shown
+237-48 files

LLVM/project f3139bc — llvm/lib/Target/AVR AVRTargetMachine.cpp AVRISelDAGToDAG.cpp

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

Created using spr 1.3.7

[skip ci]
DeltaFile
+10-1llvm/lib/Target/AVR/AVR.h
+7-2llvm/lib/Target/AVR/AVRISelDAGToDAG.cpp
+1-1llvm/lib/Target/AVR/AVRTargetMachine.cpp
+18-43 files

LLVM/project 3143364 — llvm/lib/Target/AVR AVRTargetMachine.cpp AVRISelDAGToDAG.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+10-1llvm/lib/Target/AVR/AVR.h
+7-2llvm/lib/Target/AVR/AVRISelDAGToDAG.cpp
+1-1llvm/lib/Target/AVR/AVRTargetMachine.cpp
+18-43 files

LLVM/project b51ad64 — lldb/bindings/python CMakeLists.txt

Revert "Revert "[LLDB] Use `-fastproxy` when building swig bridge without lim…"

This reverts commit c990b0c98f3da393aa7467ccdf3ff3faa8c8170b.
DeltaFile
+4-0lldb/bindings/python/CMakeLists.txt
+4-01 files

LLVM/project 679fd35 — clang/test/CodeGenHLSL/semantics SV_StartInstanceLocation.vs.hlsl, clang/test/SemaHLSL/Semantics startinstancelocation.stages.hlsl startinstancelocation.vs.hlsl

[HLSL] Add support for SV_StartInstanceLocation (#235851)

Resolves: https://github.com/llvm/llvm-project/issues/212577

Assisted by: Claude Opus 5.5
DeltaFile
+49-0clang/test/SemaHLSL/Semantics/startinstancelocation.vs.hlsl
+41-0llvm/test/CodeGen/SPIRV/semantics/start-instance-location.vs.ll
+25-0clang/test/CodeGenHLSL/semantics/SV_StartInstanceLocation.vs.hlsl
+23-0llvm/test/CodeGen/DirectX/start_instance_location_error.ll
+23-0clang/test/SemaHLSL/Semantics/startinstancelocation.stages.hlsl
+15-0llvm/test/CodeGen/DirectX/start_instance_location.ll
+176-010 files not shown
+241-316 files

LLVM/project 15ab755 — llvm/docs MyFirstTypoFix.md

[Docs] Fix typo in MyFirstTypoFix.md (#235755)
DeltaFile
+1-1llvm/docs/MyFirstTypoFix.md
+1-11 files

LLVM/project 6fe6a0f — llvm/lib/Analysis ConstantFolding.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.sqrt.bf16.ll

[AMDGPU] Constant fold llvm.amdgcn.sqrt
DeltaFile
+238-0llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/sqrt.ll
+106-60llvm/test/CodeGen/AMDGPU/llvm.amdgcn.sqrt.bf16.ll
+8-0llvm/lib/Analysis/ConstantFolding.cpp
+2-4llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-intrinsics.ll
+354-644 files

LLVM/project 8e22de3 — clang/test/Analysis lifetime-end-path-notes.cpp

Correctly fix RUN lines, indentation, line numbering in the test file.
DeltaFile
+7-9clang/test/Analysis/lifetime-end-path-notes.cpp
+7-91 files

LLVM/project eef09bc — llvm/lib/ExecutionEngine ExecutionEngine.cpp, llvm/test/ExecutionEngine/Interpreter constant-expr-binop.ll

[ExecutionEngine] Return GV for binary ConstantExprs in getConstantValue (#236232)

This patch restores "return GV;" for Add, Sub, and Xor constant
expressions in ExecutionEngine::getConstantValue.

Commit 0ba7764723026882df1f302765b9aa848a56960c flattened the outer
type switch in the binary operator case of
ExecutionEngine::getConstantValue, accidentally keeping the inner
"break;" statement in place of "return GV;".  Without this fix, GV is
never read, and Add, Sub, and Xor constant expressions fall through to
report_fatal_error.

Assisted-by: Antigravity
DeltaFile
+26-0llvm/test/ExecutionEngine/Interpreter/constant-expr-binop.ll
+1-1llvm/lib/ExecutionEngine/ExecutionEngine.cpp
+27-12 files

LLVM/project ee23390 — clang/include/clang/Basic DiagnosticFrontendKinds.td, clang/lib/Frontend CompilerInvocation.cpp

[HLSL] Use icmp ne instead of trunc on boolean load (resubmission) (#234771)

Corrects [PR #221105](https://github.com/llvm/llvm-project/pull/221105),
which was reverted due to buildbot failures. Some of the builders
reported an unsupported triple for
clang/test/CodeGenHLSL/bool-vector-load.hlsl, presumably due to a lack
of DirectX support; the test now checks the generic LLVM IR. Only the
RUN and CHECK lines of that test have changed from the earlier PR.

Fixes #140824

Assisted-by: Claude Sonnet 4
DeltaFile
+15-30clang/test/CodeGenHLSL/builtins/BoolSwizzles.hlsl
+20-0clang/test/CodeGenHLSL/bool-vector-load.hlsl
+7-8clang/test/CodeGenHLSL/strict-bool.hlsl
+10-0clang/lib/Frontend/CompilerInvocation.cpp
+3-0clang/include/clang/Basic/DiagnosticFrontendKinds.td
+3-0clang/test/Driver/HLSL/load-bool-from-mem.hlsl
+58-381 files not shown
+59-387 files

LLVM/project 0f2164c — clang/test/Analysis lifetime-end-path-notes.cpp

Fix line numbers in expected notes.
DeltaFile
+3-3clang/test/Analysis/lifetime-end-path-notes.cpp
+3-31 files

LLVM/project a1a0ff3 — clang/lib/StaticAnalyzer/Core ExplodedGraph.cpp, clang/test/Analysis lifetime-end-path-notes.cpp

Add changes back correctly.
DeltaFile
+1-2clang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp
+2-1clang/test/Analysis/lifetime-end-path-notes.cpp
+3-32 files

LLVM/project dcbd3cd — llvm/lib/Target/AMDGPU AMDGPUAtomicOptimizer.cpp

[AMDGPU] Remove unreachable buildReduction from AtomicOptimizer (NFC) (#234082)

Since #211757 the pass uses wave.reduce unless the value is divergent
and the result is used. So the DPP scan always has a used result, and
buildReduction, which it only called for an unused one, can't be
reached. Drop it and the NeedResult check before buildShiftRight.
DeltaFile
+16-78llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
+16-781 files