[all-commits] [llvm/llvm-project] 67302b: [AMDGPU][NFC] rename some constants for readabilit...

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Jun 27 05:42:20 PDT 2025


  Branch: refs/heads/users/SamTebbs33/fhahn-vpbundle-recipe
  Home:   https://github.com/llvm/llvm-project
  Commit: 67302b2e6f819c99535f857285375d98ad1d68ab
      https://github.com/llvm/llvm-project/commit/67302b2e6f819c99535f857285375d98ad1d68ab
  Author: Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp

  Log Message:
  -----------
  [AMDGPU][NFC] rename some constants for readability (#145870)


  Commit: 58b7d200aa513faaf0a9ddb280e904cc63ad40a2
      https://github.com/llvm/llvm-project/commit/58b7d200aa513faaf0a9ddb280e904cc63ad40a2
  Author: Hans Wennborg <hans at hanshq.net>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M libc/src/__support/macros/properties/cpu_features.h

  Log Message:
  -----------
  [libc] Fix the risc-v half precison float feature check (#145894)

This is a follow-up to #145169, which would break compiles when
__riscv_zfhmin is not defined.


  Commit: 90c9cc2c9810d0030508451d4f672f44667952cf
      https://github.com/llvm/llvm-project/commit/90c9cc2c9810d0030508451d4f672f44667952cf
  Author: Rainer Orth <ro at gcc.gnu.org>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M .github/workflows/libclang-python-tests.yml
    M clang/CMakeLists.txt
    R clang/bindings/python/tests/CMakeLists.txt
    R clang/bindings/python/tests/__init__.py
    R clang/bindings/python/tests/cindex/INPUTS/a.inc
    R clang/bindings/python/tests/cindex/INPUTS/b.inc
    R clang/bindings/python/tests/cindex/INPUTS/compile_commands.json
    R clang/bindings/python/tests/cindex/INPUTS/header1.h
    R clang/bindings/python/tests/cindex/INPUTS/header2.h
    R clang/bindings/python/tests/cindex/INPUTS/header3.h
    R clang/bindings/python/tests/cindex/INPUTS/hello.cpp
    R clang/bindings/python/tests/cindex/INPUTS/include.cpp
    R clang/bindings/python/tests/cindex/INPUTS/parse_arguments.c
    R clang/bindings/python/tests/cindex/INPUTS/testfile.c
    R clang/bindings/python/tests/cindex/__init__.py
    R clang/bindings/python/tests/cindex/test_access_specifiers.py
    R clang/bindings/python/tests/cindex/test_cdb.py
    R clang/bindings/python/tests/cindex/test_code_completion.py
    R clang/bindings/python/tests/cindex/test_comment.py
    R clang/bindings/python/tests/cindex/test_cursor.py
    R clang/bindings/python/tests/cindex/test_cursor_kind.py
    R clang/bindings/python/tests/cindex/test_diagnostics.py
    R clang/bindings/python/tests/cindex/test_enums.py
    R clang/bindings/python/tests/cindex/test_exception_specification_kind.py
    R clang/bindings/python/tests/cindex/test_file.py
    R clang/bindings/python/tests/cindex/test_index.py
    R clang/bindings/python/tests/cindex/test_lib.py
    R clang/bindings/python/tests/cindex/test_linkage.py
    R clang/bindings/python/tests/cindex/test_location.py
    R clang/bindings/python/tests/cindex/test_rewrite.py
    R clang/bindings/python/tests/cindex/test_source_range.py
    R clang/bindings/python/tests/cindex/test_tls_kind.py
    R clang/bindings/python/tests/cindex/test_token_kind.py
    R clang/bindings/python/tests/cindex/test_tokens.py
    R clang/bindings/python/tests/cindex/test_translation_unit.py
    R clang/bindings/python/tests/cindex/test_type.py
    R clang/bindings/python/tests/cindex/util.py
    M clang/test/CMakeLists.txt
    A clang/test/bindings/python/bindings.sh
    A clang/test/bindings/python/lit.local.cfg
    A clang/test/bindings/python/tests/__init__.py
    A clang/test/bindings/python/tests/cindex/INPUTS/a.inc
    A clang/test/bindings/python/tests/cindex/INPUTS/b.inc
    A clang/test/bindings/python/tests/cindex/INPUTS/compile_commands.json
    A clang/test/bindings/python/tests/cindex/INPUTS/header1.h
    A clang/test/bindings/python/tests/cindex/INPUTS/header2.h
    A clang/test/bindings/python/tests/cindex/INPUTS/header3.h
    A clang/test/bindings/python/tests/cindex/INPUTS/hello.cpp
    A clang/test/bindings/python/tests/cindex/INPUTS/include.cpp
    A clang/test/bindings/python/tests/cindex/INPUTS/parse_arguments.c
    A clang/test/bindings/python/tests/cindex/INPUTS/testfile.c
    A clang/test/bindings/python/tests/cindex/__init__.py
    A clang/test/bindings/python/tests/cindex/test_access_specifiers.py
    A clang/test/bindings/python/tests/cindex/test_cdb.py
    A clang/test/bindings/python/tests/cindex/test_code_completion.py
    A clang/test/bindings/python/tests/cindex/test_comment.py
    A clang/test/bindings/python/tests/cindex/test_cursor.py
    A clang/test/bindings/python/tests/cindex/test_cursor_kind.py
    A clang/test/bindings/python/tests/cindex/test_diagnostics.py
    A clang/test/bindings/python/tests/cindex/test_enums.py
    A clang/test/bindings/python/tests/cindex/test_exception_specification_kind.py
    A clang/test/bindings/python/tests/cindex/test_file.py
    A clang/test/bindings/python/tests/cindex/test_index.py
    A clang/test/bindings/python/tests/cindex/test_lib.py
    A clang/test/bindings/python/tests/cindex/test_linkage.py
    A clang/test/bindings/python/tests/cindex/test_location.py
    A clang/test/bindings/python/tests/cindex/test_rewrite.py
    A clang/test/bindings/python/tests/cindex/test_source_range.py
    A clang/test/bindings/python/tests/cindex/test_tls_kind.py
    A clang/test/bindings/python/tests/cindex/test_token_kind.py
    A clang/test/bindings/python/tests/cindex/test_tokens.py
    A clang/test/bindings/python/tests/cindex/test_translation_unit.py
    A clang/test/bindings/python/tests/cindex/test_type.py
    A clang/test/bindings/python/tests/cindex/util.py

  Log Message:
  -----------
  [clang][python][test] Move python binding tests to lit framework (#145855)

As discussed in PR #142353, the current testsuite of the `clang` Python
bindings has several issues:

- If `libclang.so` cannot be loaded into `python` to run the testsuite,
the whole `ninja check-all` aborts.
- The result of running the testsuite isn't report like the `lit`-based
tests, rendering them almost invisible.
- The testsuite is disabled in a non-obvious way (`RUN_PYTHON_TESTS`) in
`tests/CMakeLists.txt`, which again doesn't show up in the test results.

All these issues can be avoided by integrating the Python bindings tests
with `lit`, which is what this patch does:

- The actual test lives in `clang/test/bindings/python/bindings.sh` and
is run by `lit`.
- The current `clang/bindings/python/tests` directory (minus the
now-superfluous `CMakeLists.txt`) is moved into the same directory.
- The check if `libclang` is loadable (originally from PR #142353) is
now handled via a new `lit` feature, `libclang-loadable`.
- The various ways to disable the tests have been turned into `XFAIL`s
as appropriate.
- AArch64 doesn't `FAIL` any longer, so no `XFAIL` is necessary.
- It keeps the `check-clang-python` target for use by the Clang Python
CI.

Tested on `sparc-sun-solaris2.11`, `sparcv9-sun-solaris2.11`,
`i386-pc-solaris2.11`, `amd64-pc-solaris2.11`, `i686-pc-linux-gnu`, and
`x86_64-pc-linux-gnu`.


  Commit: 5bf43634c450def243c6d21de255bcf3403cf993
      https://github.com/llvm/llvm-project/commit/5bf43634c450def243c6d21de255bcf3403cf993
  Author: Nicolas Vasilache <Nico.Vasilache at amd.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/Affine/Passes.td
    M mlir/lib/Dialect/Affine/Transforms/SimplifyAffineMinMax.cpp

  Log Message:
  -----------
  [mlir][affine] NFC Rename SimplifyAffineMinMax -> SimplifyAffineMinMa… (#145905)

…xPass

This is more consistent re. auto-generated names like `createSimplifyAffineMinMaxPass`.


  Commit: 2bece2194a125b6c87400c805403ab11218b9770
      https://github.com/llvm/llvm-project/commit/2bece2194a125b6c87400c805403ab11218b9770
  Author: Frank Schlimbach <frank.schlimbach at intel.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/Mesh/IR/MeshOps.h
    M mlir/include/mlir/Dialect/Mesh/Transforms/Passes.h
    M mlir/include/mlir/Dialect/Mesh/Transforms/Passes.td
    M mlir/lib/Dialect/Mesh/IR/MeshOps.cpp
    M mlir/lib/Dialect/Mesh/Transforms/ShardingPropagation.cpp
    A mlir/test/Dialect/Mesh/backward-sharding-propagation.mlir
    A mlir/test/Dialect/Mesh/forward-backward-sharding-propagation.mlir
    A mlir/test/Dialect/Mesh/forward-sharding-propagation.mlir

  Log Message:
  -----------
  [mlir][mesh] resubmitting #144079 (#145897)

#144079 introduced a test with an uninitialized access
Buildbot failure:
https://lab.llvm.org/buildbot/#/builders/164/builds/11140
and got reverted #145531

This PR is an exact copy of #144079 plus a trivial fix
(96c8525c82c5474d8522a973553e85a2033bee5b).


  Commit: 06a4394b5036991d22610c685706b207008fb2f5
      https://github.com/llvm/llvm-project/commit/06a4394b5036991d22610c685706b207008fb2f5
  Author: Qinkun Bao <qinkun at google.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M libcxx/test/std/thread/futures/futures.async/thread_create_failure.pass.cpp

  Log Message:
  -----------
  Disable HWSan for thread_creae_failure.pass.

See https://github.com/llvm/llvm-project/pull/130145


  Commit: 1a60c74c131ab1cde2206b3aa13b6aba9174776d
      https://github.com/llvm/llvm-project/commit/1a60c74c131ab1cde2206b3aa13b6aba9174776d
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
    M llvm/test/Transforms/PhaseOrdering/X86/hadd.ll
    M llvm/test/Transforms/PhaseOrdering/X86/hsub.ll
    M llvm/test/Transforms/SLPVectorizer/X86/extracts-non-extendable.ll

  Log Message:
  -----------
  [CostModel][X86] SK_InsertSubvector inserted into the lowest subvector should be treated as SK_Select blend (#145892)

X86 uses implicit widening and BLEND/MOV shuffles in these cases - otherwise we still treat it as a SK_PermuteTwoSrc


  Commit: d13e223a89b001bd84434f37ca817acc3c2fe052
      https://github.com/llvm/llvm-project/commit/d13e223a89b001bd84434f37ca817acc3c2fe052
  Author: Momchil Velikov <momchil.velikov at arm.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    A mlir/test/Integration/Dialect/Vector/CPU/ArmNeon/vector-contract-i8mm.mlir

  Log Message:
  -----------
  [MLIR][AArch64] Add integration test for lowering of `vector.contract` to Neon FEAT_I8MM (#144699)


  Commit: 0f87c78f647c3fef5662905018da15a0ca3c03aa
      https://github.com/llvm/llvm-project/commit/0f87c78f647c3fef5662905018da15a0ca3c03aa
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

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

  Log Message:
  -----------
  [GitHub] Add PR filters for VectorCombine patches (#145896)

Distinguish VectorCombine from the vectorizers without just treating it as part of the InstCombine group

Fixes #145286


  Commit: 5bbe1536dfa6f1dce8737e466c209c553d614e50
      https://github.com/llvm/llvm-project/commit/5bbe1536dfa6f1dce8737e466c209c553d614e50
  Author: Akira Hatanaka <ahatanak at gmail.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M clang/lib/Sema/SemaChecking.cpp
    M clang/test/Sema/implicit-int-conversion-on-int.c

  Log Message:
  -----------
  Cap IntRange::Width to MaxWidth (#145356)

This commit addresses a fallout introduced by #126846.

Previously, TryGetExprRange would return an IntRange that has an active
range exceeding the maximum representable range for the expression's
underlying type. This led to clang erroneously issuing warnings about
implicit conversions losing integer precision.

This commit fixes the bug by capping IntRange::Width to MaxWidth.

rdar://149444029


  Commit: 4233ca1e4e53f91c2ac9a40ef79ce8fa17acc03a
      https://github.com/llvm/llvm-project/commit/4233ca1e4e53f91c2ac9a40ef79ce8fa17acc03a
  Author: Abid Qadeer <haqadeer at amd.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp

  Log Message:
  -----------
  [OMPIRBuilder] Fix use of uninitialized variable. (#145883)

The code in `OpenMPIRBuilder::getTargetEntryUniqueInfo` calls
`ID.getDevice()` even when `getUniqueID` has failed and ID is
un-initialized. This caused a sanitizer fail for me in
https://github.com/llvm/llvm-project/pull/145026. Fix it by giving a
default value to `ID`. The value chosen is the same as used in
`OpenMPToLLVMIRTranslation.cpp`.


  Commit: 08964d69b069df772a8b52d6f6139949970d3a5e
      https://github.com/llvm/llvm-project/commit/08964d69b069df772a8b52d6f6139949970d3a5e
  Author: Steven Perron <stevenperron at google.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M clang/lib/Sema/SemaHLSL.cpp
    M clang/test/AST/HLSL/vk.spec-constant.usage.hlsl
    M clang/test/CodeGenHLSL/vk-features/vk.spec-constant.hlsl

  Log Message:
  -----------
  [HLSL][SPIRV] Handle `uint` type for spec constant (#145577)

The testing only tried `unsigned int` and not `uint`. We want to
correctly handle these surgared types as specialization constants.


  Commit: 1bae34e0aad5b57cefb0ea5603d98729f2c47eb4
      https://github.com/llvm/llvm-project/commit/1bae34e0aad5b57cefb0ea5603d98729f2c47eb4
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M .github/new-prs-labeler.yml
    M .github/workflows/libclang-python-tests.yml
    M clang/CMakeLists.txt
    R clang/bindings/python/tests/CMakeLists.txt
    R clang/bindings/python/tests/__init__.py
    R clang/bindings/python/tests/cindex/INPUTS/a.inc
    R clang/bindings/python/tests/cindex/INPUTS/b.inc
    R clang/bindings/python/tests/cindex/INPUTS/compile_commands.json
    R clang/bindings/python/tests/cindex/INPUTS/header1.h
    R clang/bindings/python/tests/cindex/INPUTS/header2.h
    R clang/bindings/python/tests/cindex/INPUTS/header3.h
    R clang/bindings/python/tests/cindex/INPUTS/hello.cpp
    R clang/bindings/python/tests/cindex/INPUTS/include.cpp
    R clang/bindings/python/tests/cindex/INPUTS/parse_arguments.c
    R clang/bindings/python/tests/cindex/INPUTS/testfile.c
    R clang/bindings/python/tests/cindex/__init__.py
    R clang/bindings/python/tests/cindex/test_access_specifiers.py
    R clang/bindings/python/tests/cindex/test_cdb.py
    R clang/bindings/python/tests/cindex/test_code_completion.py
    R clang/bindings/python/tests/cindex/test_comment.py
    R clang/bindings/python/tests/cindex/test_cursor.py
    R clang/bindings/python/tests/cindex/test_cursor_kind.py
    R clang/bindings/python/tests/cindex/test_diagnostics.py
    R clang/bindings/python/tests/cindex/test_enums.py
    R clang/bindings/python/tests/cindex/test_exception_specification_kind.py
    R clang/bindings/python/tests/cindex/test_file.py
    R clang/bindings/python/tests/cindex/test_index.py
    R clang/bindings/python/tests/cindex/test_lib.py
    R clang/bindings/python/tests/cindex/test_linkage.py
    R clang/bindings/python/tests/cindex/test_location.py
    R clang/bindings/python/tests/cindex/test_rewrite.py
    R clang/bindings/python/tests/cindex/test_source_range.py
    R clang/bindings/python/tests/cindex/test_tls_kind.py
    R clang/bindings/python/tests/cindex/test_token_kind.py
    R clang/bindings/python/tests/cindex/test_tokens.py
    R clang/bindings/python/tests/cindex/test_translation_unit.py
    R clang/bindings/python/tests/cindex/test_type.py
    R clang/bindings/python/tests/cindex/util.py
    M clang/lib/Sema/SemaChecking.cpp
    M clang/lib/Sema/SemaHLSL.cpp
    M clang/test/AST/HLSL/vk.spec-constant.usage.hlsl
    M clang/test/CMakeLists.txt
    M clang/test/CodeGenHLSL/vk-features/vk.spec-constant.hlsl
    M clang/test/Sema/implicit-int-conversion-on-int.c
    A clang/test/bindings/python/bindings.sh
    A clang/test/bindings/python/lit.local.cfg
    A clang/test/bindings/python/tests/__init__.py
    A clang/test/bindings/python/tests/cindex/INPUTS/a.inc
    A clang/test/bindings/python/tests/cindex/INPUTS/b.inc
    A clang/test/bindings/python/tests/cindex/INPUTS/compile_commands.json
    A clang/test/bindings/python/tests/cindex/INPUTS/header1.h
    A clang/test/bindings/python/tests/cindex/INPUTS/header2.h
    A clang/test/bindings/python/tests/cindex/INPUTS/header3.h
    A clang/test/bindings/python/tests/cindex/INPUTS/hello.cpp
    A clang/test/bindings/python/tests/cindex/INPUTS/include.cpp
    A clang/test/bindings/python/tests/cindex/INPUTS/parse_arguments.c
    A clang/test/bindings/python/tests/cindex/INPUTS/testfile.c
    A clang/test/bindings/python/tests/cindex/__init__.py
    A clang/test/bindings/python/tests/cindex/test_access_specifiers.py
    A clang/test/bindings/python/tests/cindex/test_cdb.py
    A clang/test/bindings/python/tests/cindex/test_code_completion.py
    A clang/test/bindings/python/tests/cindex/test_comment.py
    A clang/test/bindings/python/tests/cindex/test_cursor.py
    A clang/test/bindings/python/tests/cindex/test_cursor_kind.py
    A clang/test/bindings/python/tests/cindex/test_diagnostics.py
    A clang/test/bindings/python/tests/cindex/test_enums.py
    A clang/test/bindings/python/tests/cindex/test_exception_specification_kind.py
    A clang/test/bindings/python/tests/cindex/test_file.py
    A clang/test/bindings/python/tests/cindex/test_index.py
    A clang/test/bindings/python/tests/cindex/test_lib.py
    A clang/test/bindings/python/tests/cindex/test_linkage.py
    A clang/test/bindings/python/tests/cindex/test_location.py
    A clang/test/bindings/python/tests/cindex/test_rewrite.py
    A clang/test/bindings/python/tests/cindex/test_source_range.py
    A clang/test/bindings/python/tests/cindex/test_tls_kind.py
    A clang/test/bindings/python/tests/cindex/test_token_kind.py
    A clang/test/bindings/python/tests/cindex/test_tokens.py
    A clang/test/bindings/python/tests/cindex/test_translation_unit.py
    A clang/test/bindings/python/tests/cindex/test_type.py
    A clang/test/bindings/python/tests/cindex/util.py
    M libc/src/__support/macros/properties/cpu_features.h
    M libcxx/test/std/thread/futures/futures.async/thread_create_failure.pass.cpp
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    M llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
    M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
    M llvm/test/Transforms/PhaseOrdering/X86/hadd.ll
    M llvm/test/Transforms/PhaseOrdering/X86/hsub.ll
    M llvm/test/Transforms/SLPVectorizer/X86/extracts-non-extendable.ll
    M mlir/include/mlir/Dialect/Affine/Passes.td
    M mlir/include/mlir/Dialect/Mesh/IR/MeshOps.h
    M mlir/include/mlir/Dialect/Mesh/Transforms/Passes.h
    M mlir/include/mlir/Dialect/Mesh/Transforms/Passes.td
    M mlir/lib/Dialect/Affine/Transforms/SimplifyAffineMinMax.cpp
    M mlir/lib/Dialect/Mesh/IR/MeshOps.cpp
    M mlir/lib/Dialect/Mesh/Transforms/ShardingPropagation.cpp
    A mlir/test/Dialect/Mesh/backward-sharding-propagation.mlir
    A mlir/test/Dialect/Mesh/forward-backward-sharding-propagation.mlir
    A mlir/test/Dialect/Mesh/forward-sharding-propagation.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/ArmNeon/vector-contract-i8mm.mlir

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/main' into vpbundlerecipe


  Commit: 42359e5572bf52a3b797dbff05e496f9023aa4d7
      https://github.com/llvm/llvm-project/commit/42359e5572bf52a3b797dbff05e496f9023aa4d7
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlan.h
    M llvm/lib/Transforms/Vectorize/VPlanAnalysis.cpp
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
    M llvm/lib/Transforms/Vectorize/VPlanValue.h

  Log Message:
  -----------
  !fixup continue renaming


Compare: https://github.com/llvm/llvm-project/compare/201c5d744077...42359e5572bf

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