[all-commits] [llvm/llvm-project] ad87d5: [libc++][test] Refactor tests for std::{copy, move...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Wed Feb 19 10:35:03 PST 2025


  Branch: refs/heads/users/alexey-bataev/spr/slprepresent-slp-graph-as-a-tree
  Home:   https://github.com/llvm/llvm-project
  Commit: ad87d5f23d921bd4a8d9677f7db563c649a1f5c3
      https://github.com/llvm/llvm-project/commit/ad87d5f23d921bd4a8d9677f7db563c649a1f5c3
  Author: Peng Liu <winner245 at hotmail.com>
  Date:   2025-02-19 (Wed, 19 Feb 2025)

  Changed paths:
    M libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy.pass.cpp
    M libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_backward.pass.cpp
    M libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_if.pass.cpp
    M libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_n.pass.cpp
    M libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/pstl.copy.pass.cpp
    M libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/pstl.copy_n.pass.cpp
    M libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/ranges.copy_n.pass.cpp
    M libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/fill.pass.cpp
    M libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/fill_n.pass.cpp
    M libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/pstl.fill.pass.cpp
    M libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/pstl.fill_n.pass.cpp
    M libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move.pass.cpp
    M libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move_backward.pass.cpp
    M libcxx/test/std/algorithms/alg.modifying.operations/alg.move/pstl.move.pass.cpp

  Log Message:
  -----------
  [libc++][test] Refactor tests for std::{copy, move, fill} algorithms (#120909)

This refactor includes the following changes:
- Refactor similar tests using `types::for_each` to remove redundant code;
- Explicitly include the missing header `type_algorithms.h` in some test files;
- Some tests scattered in different test functions with ad-hoc names
  (e.g., `test5()`, `test6()`) but belong to the same kind are now grouped
  into one function (`test_struct_array()`).


  Commit: 5450954a06425c6e50261d9c64778706a36f2cc6
      https://github.com/llvm/llvm-project/commit/5450954a06425c6e50261d9c64778706a36f2cc6
  Author: Gábor Horváth <xazax.hun at gmail.com>
  Date:   2025-02-19 (Wed, 19 Feb 2025)

  Changed paths:
    M .github/new-prs-labeler.yml

  Log Message:
  -----------
  Include test folder in the Clang Static Analyzer team mentions (#127810)

See
https://discourse.llvm.org/t/taking-ownership-of-clang-test-analysis/84689


  Commit: a96444af440a309592fe1043885a51ac0a5fb125
      https://github.com/llvm/llvm-project/commit/a96444af440a309592fe1043885a51ac0a5fb125
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-02-19 (Wed, 19 Feb 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp
    M llvm/test/Transforms/LoopVectorize/loop-form.ll

  Log Message:
  -----------
  [VPlan] Remove dead exit block handling code in HCFGBuilder.

The mapping of IR ExitBB to a VPBB isn't used. It also sets an incorrect
VPBB for the ExitBB; the regions successor is the middle block, no the
exit block.

It also unnecessarily triggers an assertion after 38376dee922.


  Commit: d1889cf935db1c04da6d477a2476d95bae529160
      https://github.com/llvm/llvm-project/commit/d1889cf935db1c04da6d477a2476d95bae529160
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2025-02-19 (Wed, 19 Feb 2025)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp

  Log Message:
  -----------
  [X86] combineX86ShuffleChain - provide list of combined shuffle nodes, replace HasVariableMask bool arg. NFC. (#127826)

Minor NFC refactor before making better variable mask combining decisions - isTargetShuffleVariableMask doesn't discriminate between fast (AND, PSHUFB etc.) and slow (VPERMV3 etc.) variable shuffles, so an opaque HasVariableMask is only of limited use.


  Commit: ccd3defd8f7da2e825f167e488827efa0df6b62c
      https://github.com/llvm/llvm-project/commit/ccd3defd8f7da2e825f167e488827efa0df6b62c
  Author: Nathan Ridge <zeratul976 at hotmail.com>
  Date:   2025-02-19 (Wed, 19 Feb 2025)

  Changed paths:
    M clang-tools-extra/clangd/CollectMacros.cpp
    M clang-tools-extra/clangd/CollectMacros.h
    M clang-tools-extra/clangd/index/SymbolCollector.cpp

  Log Message:
  -----------
  [clangd] Avoid round-trip from SourceLocation to clangd::Range and back in SymbolCollector::handleMacros() (#127757)


  Commit: 1d829f6a0bc9fefc489d44449c6ae4c8e509a7a3
      https://github.com/llvm/llvm-project/commit/1d829f6a0bc9fefc489d44449c6ae4c8e509a7a3
  Author: Georgios Pinitas <georgios.pinitas at arm.com>
  Date:   2025-02-19 (Wed, 19 Feb 2025)

  Changed paths:
    M mlir/test/Dialect/Tosa/tosa-decompose-depthwise.mlir
    M mlir/test/Dialect/Tosa/tosa-decompose-transpose-conv.mlir
    M mlir/test/Dialect/Tosa/tosa-infer-shapes.mlir

  Log Message:
  -----------
  [mlir][tosa] Align check variables naming to use capitals (#127830)

Move in using capital letters for variable capture in LIT

Signed-off-by: Georgios Pinitas <georgios.pinitas at arm.com>


  Commit: 9ebb618d03cb29c37e3178428dcf52e1ac4f1cc2
      https://github.com/llvm/llvm-project/commit/9ebb618d03cb29c37e3178428dcf52e1ac4f1cc2
  Author: foxtran <39676482+foxtran at users.noreply.github.com>
  Date:   2025-02-19 (Wed, 19 Feb 2025)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/AnalysisBasedWarnings.cpp
    M clang/lib/Sema/SemaStmt.cpp

  Log Message:
  -----------
  [Clang] [Sema] Combine fallout warnings to just one warning (#127546)

This merges several falloff and noreturn-related warnings and
removes unused diagnostic arguments.

Changes:
- `warn_maybe_falloff_nonvoid_function` and
`warn_falloff_nonvoid_function`, `warn_maybe_falloff_nonvoid_coroutine`
and `warn_falloff_nonvoid_coroutine`,
`warn_maybe_falloff_nonvoid_lambda` and `warn_falloff_nonvoid_lambda`
were combined into `warn_falloff_nonvoid`,

- `err_maybe_falloff_nonvoid_block` and `err_falloff_nonvoid_block` were
combined into `err_falloff_nonvoid`

- `err_noreturn_block_has_return_expr` and
`err_noreturn_lambda_has_return_expr` were merged into
`err_noreturn_has_return_expr` with the same semantics as
`warn_falloff_nonvoid` or `err_falloff_nonvoid`.

- Removed some diagnostic args that weren’t being used by the diagnostics.


  Commit: ac4fe8d212e741f5ef8907f6d2f67e3a8e3c70b0
      https://github.com/llvm/llvm-project/commit/ac4fe8d212e741f5ef8907f6d2f67e3a8e3c70b0
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2025-02-19 (Wed, 19 Feb 2025)

  Changed paths:
    M .github/new-prs-labeler.yml
    M clang-tools-extra/clangd/CollectMacros.cpp
    M clang-tools-extra/clangd/CollectMacros.h
    M clang-tools-extra/clangd/index/SymbolCollector.cpp
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/AnalysisBasedWarnings.cpp
    M clang/lib/Sema/SemaStmt.cpp
    M libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy.pass.cpp
    M libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_backward.pass.cpp
    M libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_if.pass.cpp
    M libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_n.pass.cpp
    M libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/pstl.copy.pass.cpp
    M libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/pstl.copy_n.pass.cpp
    M libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/ranges.copy_n.pass.cpp
    M libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/fill.pass.cpp
    M libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/fill_n.pass.cpp
    M libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/pstl.fill.pass.cpp
    M libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/pstl.fill_n.pass.cpp
    M libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move.pass.cpp
    M libcxx/test/std/algorithms/alg.modifying.operations/alg.move/move_backward.pass.cpp
    M libcxx/test/std/algorithms/alg.modifying.operations/alg.move/pstl.move.pass.cpp
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp
    M llvm/test/Transforms/LoopVectorize/loop-form.ll
    M mlir/test/Dialect/Tosa/tosa-decompose-depthwise.mlir
    M mlir/test/Dialect/Tosa/tosa-decompose-transpose-conv.mlir
    M mlir/test/Dialect/Tosa/tosa-infer-shapes.mlir

  Log Message:
  -----------
  Address comment

Created using spr 1.3.5


Compare: https://github.com/llvm/llvm-project/compare/ff7c5db8ee96...ac4fe8d212e7

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list