LLVM/project 3d862cfllvm/include/llvm/CodeGen/GlobalISel LegalizerInfo.h, llvm/lib/CodeGen/GlobalISel LegalityPredicates.cpp

[SPIRV] Add legalization for long vectors (#169665)

This patch introduces the necessary infrastructure to legalize vector
operations on vectors that are longer than what the SPIR-V target
supports. For instance, shaders only support vectors up to 4 elements.

The legalization is done by splitting the long vectors into smaller
vectors of a legal size.

Specifically, this patch does the following:
- Introduces `vectorElementCountIsGreaterThan` and
  `vectorElementCountIsLessThanOrEqualTo` legality predicates.
- Adds legalization rules for `G_SHUFFLE_VECTOR`,
`G_EXTRACT_VECTOR_ELT`,
  `G_BUILD_VECTOR`, `G_CONCAT_VECTORS`, `G_SPLAT_VECTOR`, and
  `G_UNMERGE_VALUES`.
- Handles `G_BITCAST` of long vectors by converting them to
  `@llvm.spv.bitcast` intrinsics which are then legalized.
- Updates `selectUnmergeValues` to handle extraction of both scalars

    [3 lines not shown]
DeltaFile
+181-11llvm/lib/Target/SPIRV/SPIRVLegalizerInfo.cpp
+133-0llvm/test/CodeGen/SPIRV/legalization/vector-legalization-shader.ll
+69-0llvm/test/CodeGen/SPIRV/legalization/vector-legalization-kernel.ll
+37-13llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
+20-0llvm/lib/CodeGen/GlobalISel/LegalityPredicates.cpp
+10-0llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
+450-241 files not shown
+454-247 files

LLVM/project 8a3891cllvm/lib/Target/AMDGPU AMDGPURewriteAGPRCopyMFMA.cpp

[AMDGPU][NPM] Preserve analyses in AMDGPURewriteAGPRCopyMFMA for NPM (#170130)

The pass preserved LiveStacksAnalysis but failed to preserve
LiveIntervalsAnalysis, LiveRegMatrixAnalysis, VirtRegMapAnalysis, and
SlotIndexesAnalysis under NPM. This caused these analyses to be
invalidated and recomputed, leading to incorrect behavior in subsequent
passes like VirtRegRewriter.

Fix by explicitly preserving all required analyses in the NPM version,
matching the legacy pass manager behavior.

---------

Co-authored-by: vikhegde <vikram.hegde at amd.com>
DeltaFile
+7-2llvm/lib/Target/AMDGPU/AMDGPURewriteAGPRCopyMFMA.cpp
+7-21 files

LLVM/project ad187e1clang/docs ReleaseNotes.rst, clang/include/clang/Basic DiagnosticCommonKinds.td

[Clang] [C++26] Expansion Statements (Part 11)
DeltaFile
+104-0clang/test/AST/ast-print-expansion-stmts.cpp
+49-0clang/test/AST/ast-dump-expansion-stmt.cpp
+0-4clang/include/clang/Basic/DiagnosticCommonKinds.td
+1-1clang/www/cxx_status.html
+2-0clang/docs/ReleaseNotes.rst
+156-55 files

LLVM/project b874722clang/include/clang/Basic DiagnosticSemaKinds.td, clang/include/clang/Sema Sema.h

[Clang] [C++26] Expansion Statements (Part 6)
DeltaFile
+96-5clang/lib/Sema/SemaExpand.cpp
+52-11clang/lib/Sema/TreeTransform.h
+3-0clang/include/clang/Sema/Sema.h
+2-0clang/include/clang/Basic/DiagnosticSemaKinds.td
+153-164 files

LLVM/project 623f024clang/include/clang/Basic DiagnosticSemaKinds.td, clang/include/clang/Sema Sema.h

[Clang] [C++26] Expansion Statements (Part 5)
DeltaFile
+243-3clang/lib/Sema/SemaExpand.cpp
+48-2clang/lib/Sema/TreeTransform.h
+12-1clang/lib/Sema/SemaStmt.cpp
+7-0clang/include/clang/Basic/DiagnosticSemaKinds.td
+6-0clang/include/clang/Sema/Sema.h
+316-65 files

LLVM/project 7f234c2clang/lib/Sema SemaStmt.cpp

Remove most expansion-statement-specific code
DeltaFile
+1-12clang/lib/Sema/SemaStmt.cpp
+1-121 files

LLVM/project 53253fdclang/include/clang/Sema Sema.h, clang/lib/Sema SemaStmt.cpp

[Clang] [C++26] Expansion Statements (Part 4)
DeltaFile
+279-224clang/lib/Sema/SemaStmt.cpp
+34-0clang/include/clang/Sema/Sema.h
+313-2242 files

LLVM/project 20da66cclang/include/clang/Basic DiagnosticSemaKinds.td, clang/include/clang/Sema ScopeInfo.h

[Clang] [C++26] Expansion Statements (Part 9)
DeltaFile
+117-0clang/test/SemaCXX/cxx2c-expansion-stmts-control-flow.cpp
+38-9clang/lib/Sema/SemaLookup.cpp
+28-2clang/lib/Sema/SemaStmt.cpp
+9-2clang/lib/Parse/ParseStmt.cpp
+6-0clang/include/clang/Basic/DiagnosticSemaKinds.td
+5-1clang/include/clang/Sema/ScopeInfo.h
+203-141 files not shown
+205-157 files

LLVM/project 7a26b30clang/lib/CodeGen CGDecl.cpp

Move CGDecl implementation here
DeltaFile
+6-2clang/lib/CodeGen/CGDecl.cpp
+6-21 files

LLVM/project f0b21faclang/lib/CodeGen CGStmt.cpp, clang/test/CodeGenCXX cxx2c-enumerating-expansion-statements.cpp cxx2c-iterating-expansion-stmt.cpp

[Clang] [C++26] Expansion Statements (Part 8)
DeltaFile
+1,518-0clang/test/CodeGenCXX/cxx2c-enumerating-expansion-statements.cpp
+474-0clang/test/CodeGenCXX/cxx2c-iterating-expansion-stmt.cpp
+471-0clang/test/CodeGenCXX/cxx2c-destructuring-expansion-stmt.cpp
+429-0clang/test/CodeGenCXX/cxx2c-expansion-stmts-control-flow.cpp
+208-0clang/test/CodeGenCXX/cxx2c-expansion-stmts-templates.cpp
+40-1clang/lib/CodeGen/CGStmt.cpp
+3,140-11 files not shown
+3,143-17 files

LLVM/project 6b11281clang/include/clang/Basic DiagnosticSemaKinds.td, clang/include/clang/Options Options.td

[Clang] [C++26] Expansion Statements (Part 10)
DeltaFile
+68-0clang/test/SemaCXX/cxx2c-expansion-stmts-limit.cpp
+18-0clang/lib/Sema/SemaExpand.cpp
+9-0clang/test/SemaCXX/cxx2c-fexpansion-statements.cpp
+4-0clang/include/clang/Basic/DiagnosticSemaKinds.td
+4-0clang/include/clang/Options/Options.td
+1-0clang/lib/Driver/ToolChains/Clang.cpp
+104-01 files not shown
+105-07 files

LLVM/project bb0804eclang/lib/AST ExprConstant.cpp, clang/lib/Sema SemaDeclCXX.cpp

[Clang] [C++26] Expansion Statements (Part 7)
DeltaFile
+1,042-0clang/test/SemaCXX/cxx2c-expansion-stmts.cpp
+40-0clang/lib/AST/ExprConstant.cpp
+3-0clang/lib/Sema/SemaDeclCXX.cpp
+1,085-03 files

LLVM/project d000ef3clang/include/clang/Basic DiagnosticCommonKinds.td, clang/lib/Sema SemaExpand.cpp

Add Sema for CXXExpansionStmtDecl
DeltaFile
+29-4clang/lib/Sema/SemaExpand.cpp
+4-0clang/include/clang/Basic/DiagnosticCommonKinds.td
+33-42 files

LLVM/project f812c54clang/include/clang/AST StmtCXX.h DeclTemplate.h

Documentation improvements
DeltaFile
+25-13clang/include/clang/AST/StmtCXX.h
+24-8clang/include/clang/AST/DeclTemplate.h
+13-0clang/include/clang/AST/ExprCXX.h
+1-1clang/include/clang/AST/Decl.h
+63-224 files

LLVM/project b85d1e4clang/include/clang/Sema Sema.h, clang/lib/Sema SemaExpand.cpp TreeTransform.h

[Clang] [C++26] Expansion Statements (Part 3)
DeltaFile
+151-0clang/lib/Sema/SemaExpand.cpp
+105-5clang/lib/Sema/TreeTransform.h
+39-39clang/test/Parser/cxx2c-expansion-statements.cpp
+37-1clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
+26-3clang/lib/Sema/SemaTemplateInstantiate.cpp
+22-0clang/include/clang/Sema/Sema.h
+380-483 files not shown
+390-509 files

LLVM/project 2d43de2clang/lib/Sema SemaExpand.cpp, clang/test/Parser cxx2c-expansion-statements.cpp cxx2c-expansion-statements-not-backported.cpp

Add parser tests
DeltaFile
+63-0clang/test/Parser/cxx2c-expansion-statements.cpp
+2-3clang/lib/Sema/SemaExpand.cpp
+5-0clang/test/Parser/cxx2c-expansion-statements-not-backported.cpp
+70-33 files

LLVM/project f3145e4clang/include/clang/Parse Parser.h, clang/include/clang/Sema Sema.h

[Clang] [C++26] Expansion Statements (Part 2)
DeltaFile
+127-14clang/lib/Parse/ParseStmt.cpp
+57-0clang/lib/Sema/SemaExpand.cpp
+37-4clang/include/clang/Parse/Parser.h
+6-31clang/lib/Parse/ParseDecl.cpp
+32-1clang/include/clang/Sema/Sema.h
+20-0clang/lib/Parse/ParseInit.cpp
+279-505 files not shown
+309-6011 files

LLVM/project dae9139clang/include/clang/Basic BuiltinsX86.td, clang/lib/AST ExprConstant.cpp

[X86][Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - allow AVX512 kmov intrinsics to be used in constexp (#169895)

Resolves #166975
DeltaFile
+10-0clang/test/CodeGen/X86/avx512bw-builtins.c
+10-0clang/lib/AST/ExprConstant.cpp
+5-5clang/lib/Headers/avx512bwintrin.h
+7-0clang/lib/AST/ByteCode/InterpBuiltin.cpp
+3-3clang/lib/Headers/avx512dqintrin.h
+3-3clang/include/clang/Basic/BuiltinsX86.td
+38-113 files not shown
+51-149 files

LLVM/project 4e316d7llvm/test/CodeGen/X86 combine-fround.ll

[X86] Add test coverage for the concatenation of ISD::FROUND intrinsics (#170166)

These were missed in #170160
DeltaFile
+425-0llvm/test/CodeGen/X86/combine-fround.ll
+425-01 files

LLVM/project 8ccdb35llvm/test/CodeGen/X86 combine-ffloor.ll

[X86] Add test coverage for the concatenation of ISD::FFLOOR intrinsics (#170168)

These were missed in #170160
DeltaFile
+178-0llvm/test/CodeGen/X86/combine-ffloor.ll
+178-01 files

FreeBSD/doc e65af96website/content/en/releases/15.0R relnotes.adoc

relnotes: Document NVMe over Fabrics
DeltaFile
+14-0website/content/en/releases/15.0R/relnotes.adoc
+14-01 files

LLVM/project a15a6c8llvm/lib/Target/RISCV RISCVFeatures.td RISCVInstrInfoSFB.td, llvm/test/CodeGen/RISCV cmov-branch-opt.ll short-forward-branch-opt-mul.ll

[RISCV] Rename SFB Base Feature (#169607)

New SFB subsets are being added with the scheduler class name as a
suffix, so now is the time to go back to the base extension and add IALU
to its name.

This also:
- Drops a hyphen from the other SFB features for mul and minmax, to more
closely match their scheduling classes.
- Updates the predicates on specific SFB pseudos so we get verifier
errors if we introduce the pseudos when we don't have the right
subtarget feature.
- Updates the SFB Documentation comment to make it no longer
SiFive-specific.
DeltaFile
+34-13llvm/lib/Target/RISCV/RISCVFeatures.td
+15-10llvm/lib/Target/RISCV/RISCVInstrInfoSFB.td
+4-4llvm/test/CodeGen/RISCV/cmov-branch-opt.ll
+4-4llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+4-4llvm/test/CodeGen/RISCV/short-forward-branch-opt-mul.ll
+4-4llvm/test/CodeGen/RISCV/short-forward-branch-opt-min-max.ll
+65-3917 files not shown
+90-6423 files

LLVM/project 65666b2mlir/test lit.cfg.py, mlir/test/Target/SPIRV consecutive-selection.spv consecutive-selection.spvasm

[mlir][spirv] Rename `*.spv` tests to `*.spvasm`. (#170161)

This patch renames two of the SPIR-V tests to `*.spvasm` since both
files are assembly files, rather than SPIR-V binaries. The `lit.cfg.py`
is adjusted and we no longer need to run `*.spv` tests since none are
present.
DeltaFile
+0-71mlir/test/Target/SPIRV/consecutive-selection.spv
+71-0mlir/test/Target/SPIRV/consecutive-selection.spvasm
+0-60mlir/test/Target/SPIRV/selection.spv
+60-0mlir/test/Target/SPIRV/selection.spvasm
+1-1mlir/test/lit.cfg.py
+132-1325 files

FreeBSD/doc 84652a9website/content/en/releases/15.0R relnotes.adoc

15.0/relnote: Only show latest ena update

Suggested by:   jhb
DeltaFile
+0-1website/content/en/releases/15.0R/relnotes.adoc
+0-11 files

ELF Tool Chain/elftoolchain 4289trunk/tests/tet/libelftc/tset/elftc_get_relocation_type_name elftc_get_relocation_type_name.m4

libelftc/testsuite: Catch up with [r4288].
DeltaFile
+2-1trunk/tests/tet/libelftc/tset/elftc_get_relocation_type_name/elftc_get_relocation_type_name.m4
+2-11 files

FreeBSD/doc 938c8e7website/content/en/releases/15.0R relnotes.adoc

relnotes: New versions of byacc and ncurses
DeltaFile
+6-0website/content/en/releases/15.0R/relnotes.adoc
+6-01 files

ELF Tool Chain/elftoolchain 4288trunk/common/sys elfconstants.m4

elfconstants: Add alternate spellings for a few PPC relocation types.
DeltaFile
+7-1trunk/common/sys/elfconstants.m4
+7-11 files

FreeBSD/doc c2b0350website/content/en/releases/15.0R relnotes.adoc

relnotes: Document bsddialog version and use in bsdinstall/bsdconfig
DeltaFile
+7-0website/content/en/releases/15.0R/relnotes.adoc
+7-01 files

FreeBSD/doc 9481c40website/content/en/releases/15.0R relnotes.adoc

releases/15.0R/relnotes: Trim description of GPU slowness and VM domainset fixes

Readers interested can look up the related commits, and I've written
similar descriptions in the Q3 Status Reports.

Sponsored by:   The FreeBSD Foundation
DeltaFile
+2-14website/content/en/releases/15.0R/relnotes.adoc
+2-141 files

FreeBSD/ports d7f4e84security/vuxml/vuln 2025.xml

security/vuxml: Add mongodb multiple vulnerabilities

 * CVE-2025-13644
 * CVE-2025-13507
 * CVE-2025-13643
DeltaFile
+101-0security/vuxml/vuln/2025.xml
+101-01 files