[all-commits] [llvm/llvm-project] 9aec70: [bazel][MLIR][NVVM] Port #195608: remove GPUToNVVM...

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon May 4 14:40:53 PDT 2026


  Branch: refs/heads/users/vitalybuka/spr/main.sanitizer-capitalize-hint-in-reports
  Home:   https://github.com/llvm/llvm-project
  Commit: 9aec705481933db43bcb93bbe7d4651dad1833fc
      https://github.com/llvm/llvm-project/commit/9aec705481933db43bcb93bbe7d4651dad1833fc
  Author: Jordan Rupprecht <rupprecht at google.com>
  Date:   2026-05-04 (Mon, 04 May 2026)

  Changed paths:
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  [bazel][MLIR][NVVM] Port #195608: remove GPUToNVVM (#195731)

Port 2b8c1178ddc4e0e524c14ff4d7fb39a9e502fe9f


  Commit: 03d600e929744a71e3fe323d9c7225c719c2a6d4
      https://github.com/llvm/llvm-project/commit/03d600e929744a71e3fe323d9c7225c719c2a6d4
  Author: Henry Jiang <henry_jiang2 at apple.com>
  Date:   2026-05-04 (Mon, 04 May 2026)

  Changed paths:
    M clang/test/Driver/cspgo-lto.c

  Log Message:
  -----------
  [NFC][Darwin] Use add -fuse-ld=ld for Darwin CSPGO use test (#195721)


  Commit: c3761b6ac6e2a90e55389dbe7f65cb632827df62
      https://github.com/llvm/llvm-project/commit/c3761b6ac6e2a90e55389dbe7f65cb632827df62
  Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
  Date:   2026-05-05 (Tue, 05 May 2026)

  Changed paths:
    M clang-tools-extra/clangd/test/ast-no-range.test
    M clang-tools-extra/clangd/test/ast.test
    M clang-tools-extra/clangd/unittests/DumpASTTests.cpp
    M clang/include/clang/AST/TextNodeDumper.h
    M clang/lib/AST/TextNodeDumper.cpp
    M clang/test/AST/ast-dump-color.cpp
    M clang/test/AST/ast-dump-constant-expr.cpp
    M clang/test/AST/ast-dump-ctad-alias.cpp
    M clang/test/AST/ast-dump-decl.c
    M clang/test/AST/ast-dump-decl.cpp
    M clang/test/AST/ast-dump-lambda.cpp
    A clang/test/AST/ast-dump-linkage-internal.cpp
    A clang/test/AST/ast-dump-linkage.cpp
    M clang/test/AST/ast-dump-openmp-atomic.c
    M clang/test/AST/ast-dump-openmp-barrier.c
    M clang/test/AST/ast-dump-openmp-cancel.c
    M clang/test/AST/ast-dump-openmp-cancellation-point.c
    M clang/test/AST/ast-dump-openmp-critical.c
    M clang/test/AST/ast-dump-openmp-distribute-parallel-for-simd.c
    M clang/test/AST/ast-dump-openmp-distribute-parallel-for.c
    M clang/test/AST/ast-dump-openmp-distribute-simd.c
    M clang/test/AST/ast-dump-openmp-distribute.c
    M clang/test/AST/ast-dump-openmp-flush.c
    M clang/test/AST/ast-dump-openmp-for-simd.c
    M clang/test/AST/ast-dump-openmp-for.c
    M clang/test/AST/ast-dump-openmp-master.c
    M clang/test/AST/ast-dump-openmp-ordered.c
    M clang/test/AST/ast-dump-openmp-parallel-for-simd.c
    M clang/test/AST/ast-dump-openmp-parallel-for.c
    M clang/test/AST/ast-dump-openmp-parallel-sections.c
    M clang/test/AST/ast-dump-openmp-parallel.c
    M clang/test/AST/ast-dump-openmp-section.c
    M clang/test/AST/ast-dump-openmp-sections.c
    M clang/test/AST/ast-dump-openmp-simd.c
    M clang/test/AST/ast-dump-openmp-single.c
    M clang/test/AST/ast-dump-openmp-target-data.c
    M clang/test/AST/ast-dump-openmp-target-enter-data.c
    M clang/test/AST/ast-dump-openmp-target-exit-data.c
    M clang/test/AST/ast-dump-openmp-target-parallel-for-simd.c
    M clang/test/AST/ast-dump-openmp-target-parallel-for.c
    M clang/test/AST/ast-dump-openmp-target-parallel.c
    M clang/test/AST/ast-dump-openmp-target-simd.c
    M clang/test/AST/ast-dump-openmp-target-teams-distribute-parallel-for-simd.c
    M clang/test/AST/ast-dump-openmp-target-teams-distribute-parallel-for.c
    M clang/test/AST/ast-dump-openmp-target-teams-distribute-simd.c
    M clang/test/AST/ast-dump-openmp-target-teams-distribute.c
    M clang/test/AST/ast-dump-openmp-target-teams.c
    M clang/test/AST/ast-dump-openmp-target-update.c
    M clang/test/AST/ast-dump-openmp-target.c
    M clang/test/AST/ast-dump-openmp-task.c
    M clang/test/AST/ast-dump-openmp-taskgroup.c
    M clang/test/AST/ast-dump-openmp-taskloop-simd.c
    M clang/test/AST/ast-dump-openmp-taskloop.c
    M clang/test/AST/ast-dump-openmp-taskwait.c
    M clang/test/AST/ast-dump-openmp-taskyield.c
    M clang/test/AST/ast-dump-openmp-teams-distribute-parallel-for-simd.c
    M clang/test/AST/ast-dump-openmp-teams-distribute-parallel-for.c
    M clang/test/AST/ast-dump-openmp-teams-distribute-simd.c
    M clang/test/AST/ast-dump-openmp-teams-distribute.c
    M clang/test/AST/ast-dump-openmp-teams.c
    M clang/test/AST/ast-dump-template-name.cpp
    M clang/test/AST/ast-dump-templates-pattern.cpp
    M clang/test/AST/ast-dump-templates.cpp
    M clang/test/AST/ast-dump-type-callingconv.cpp
    M clang/test/AST/attr-lifetime-capture-by.cpp
    M clang/test/AST/multistep-explicit-cast.c
    M clang/test/AST/multistep-explicit-cast.cpp
    M clang/test/ASTSYCL/ast-dump-sycl-kernel-call-stmt.cpp
    M clang/test/ASTSYCL/ast-dump-sycl-kernel-entry-point.cpp
    M clang/test/CXX/class/class.friend/p7-cxx20.cpp
    M clang/test/CXX/class/class.mfct/p1-cxx20.cpp
    M clang/test/ParserHLSL/hlsl_resource_class_attr.hlsl
    M clang/test/ParserHLSL/hlsl_resource_handle_attrs.hlsl
    M clang/test/SemaOpenCL/multistep-explicit-cast.cl
    M clang/test/SemaTemplate/deduction-guide.cpp

  Log Message:
  -----------
  [clang] Add formal linkage to textual AST dump (#194600)

This PR adds formal linkage (external, module, internal) to the textual
AST dumps. The motivation is to inform users (including ourselves) what
Clang thinks the linkage is, and to prevent situations where `extern` is
mistaken for an indication of external linkage (see #192116 for an
example).

The wording around linkage is known to be defective, but that's the best
we have: [[basic.link]](https://eel.is/c++draft/basic.link) paragraphs 3
through 7.

There are enough changes in this PR, so I decided to defer adding formal
linkage to JSON dumps to another PR.

(Open questions and suggestions for reviewers are in
https://github.com/llvm/llvm-project/pull/194600#issuecomment-4360515791)

---------

Co-authored-by: Matheus Izvekov <mizvekov at gmail.com>


  Commit: c8b54a403a931e1a9071d889826897967eaed705
      https://github.com/llvm/llvm-project/commit/c8b54a403a931e1a9071d889826897967eaed705
  Author: Shafik Yaghmour <shafik.yaghmour at intel.com>
  Date:   2026-05-04 (Mon, 04 May 2026)

  Changed paths:
    M clang/lib/CodeGen/CGValue.h

  Log Message:
  -----------
  [Codegen] Initialize RValue IsVolatile field in constructor (#195556)

Static analysis flagged that in some cases IsVolatile is left
uninitialzed. I adjusted the constructor to initialize IsVolatile.


  Commit: 9376d9b0151d69a5356665a11c2c83bf4f53ad83
      https://github.com/llvm/llvm-project/commit/9376d9b0151d69a5356665a11c2c83bf4f53ad83
  Author: Philip Reames <listmail at philipreames.com>
  Date:   2026-05-04 (Mon, 04 May 2026)

  Changed paths:
    M clang/docs/LanguageExtensions.rst

  Log Message:
  -----------
  [docs] Document the usage of operators on RVV sized types (#194979)

We have existing support in clang for operator overloading on RVV
builtin types when those types are sized. This can be achieved through a
combination of the -mrvv-vector-bits=N command line (to communicate
exact VLEN to the compiler) and the riscv_rvv_vector_bits attribute on
the types themselves. We have fairly complete test coverage for this in
clang/test/CodeGen/RISCV/rvv-vls-*.ll.

Our documentation did not reflect this reality, so this patch updates
the documentation to match the actual support.

Patch written by Claude, with minor sanity checking by me.


  Commit: 51d52c2a6cdcd8239ba1913bfe86dc6a9fe9acc0
      https://github.com/llvm/llvm-project/commit/51d52c2a6cdcd8239ba1913bfe86dc6a9fe9acc0
  Author: Alex Langford <alangford at apple.com>
  Date:   2026-05-04 (Mon, 04 May 2026)

  Changed paths:
    M lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
    M lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.h

  Log Message:
  -----------
  [lldb] IRForTarget::UnfoldConstant should return an llvm::Error (#195322)

UnfoldConstant returns a boolean and logs errors to a stream. However,
the prevailing pattern is to return an Error object and let the caller
decide what to do with it.

Currently, these error messages are dumped out to stdout when LLDB
encoutners an issue. I decided not to change that behavior with this
commit to keep it simple and self-contained.

I also reformatted and simplified some code in UnfoldConstant where it
was relatively easy.


  Commit: 814c054ef4f536539f0046f13654d546bb1c1a4f
      https://github.com/llvm/llvm-project/commit/814c054ef4f536539f0046f13654d546bb1c1a4f
  Author: Yury Plyakhin <yury.plyakhin at intel.com>
  Date:   2026-05-04 (Mon, 04 May 2026)

  Changed paths:
    M libsycl/src/CMakeLists.txt

  Log Message:
  -----------
  [libsycl] Add explicit LLVMSupport dependency (#195371)

libLLVMSYCL.so includes <llvm/Object/OffloadBinary.h>, which
transitively instantiates LLVMSupport templates.
With -Wl,-z,defs those symbols must be on the direct link line.
LLVMObject (which contains OffloadBinary.cpp) was already linked, but
LLVMSupport was not, causing undefined-reference errors in clean builds.


  Commit: 9e095580756a0aba8cbaeb51a2f3b5ec2f1c8420
      https://github.com/llvm/llvm-project/commit/9e095580756a0aba8cbaeb51a2f3b5ec2f1c8420
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2026-05-04 (Mon, 04 May 2026)

  Changed paths:
    M compiler-rt/test/asan/TestCases/contiguous_container_crash.cpp

  Log Message:
  -----------
  [NFC][asan] Use asan_interface.h in contiguous_container_crash.cpp (#195671)


  Commit: a6470d6dcf1c75dd5520203eaf5428adc379181b
      https://github.com/llvm/llvm-project/commit/a6470d6dcf1c75dd5520203eaf5428adc379181b
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2026-05-04 (Mon, 04 May 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    A llvm/test/Transforms/LoopVectorize/AArch64/transform-narrow-interleave-to-widen-memory-with-live-outs.ll

  Log Message:
  -----------
  [VPlan] Bail out on recipes without live-outs in narrowIG. (#195729)

When narrowing interleave groups, recipes with users outside the loop
region are not be handled properly. We would need to properly check if
the operations can be narrowed in a way that serve the correct results
to the users.

For now, just bail out to fix miscompiles/crashes.


  Commit: 59ca7ca0fc7d7943d2613885b2ec1ba76e4210df
      https://github.com/llvm/llvm-project/commit/59ca7ca0fc7d7943d2613885b2ec1ba76e4210df
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2026-05-04 (Mon, 04 May 2026)

  Changed paths:
    M clang-tools-extra/clangd/test/ast-no-range.test
    M clang-tools-extra/clangd/test/ast.test
    M clang-tools-extra/clangd/unittests/DumpASTTests.cpp
    M clang/docs/LanguageExtensions.rst
    M clang/include/clang/AST/TextNodeDumper.h
    M clang/lib/AST/TextNodeDumper.cpp
    M clang/lib/CodeGen/CGValue.h
    M clang/test/AST/ast-dump-color.cpp
    M clang/test/AST/ast-dump-constant-expr.cpp
    M clang/test/AST/ast-dump-ctad-alias.cpp
    M clang/test/AST/ast-dump-decl.c
    M clang/test/AST/ast-dump-decl.cpp
    M clang/test/AST/ast-dump-lambda.cpp
    A clang/test/AST/ast-dump-linkage-internal.cpp
    A clang/test/AST/ast-dump-linkage.cpp
    M clang/test/AST/ast-dump-openmp-atomic.c
    M clang/test/AST/ast-dump-openmp-barrier.c
    M clang/test/AST/ast-dump-openmp-cancel.c
    M clang/test/AST/ast-dump-openmp-cancellation-point.c
    M clang/test/AST/ast-dump-openmp-critical.c
    M clang/test/AST/ast-dump-openmp-distribute-parallel-for-simd.c
    M clang/test/AST/ast-dump-openmp-distribute-parallel-for.c
    M clang/test/AST/ast-dump-openmp-distribute-simd.c
    M clang/test/AST/ast-dump-openmp-distribute.c
    M clang/test/AST/ast-dump-openmp-flush.c
    M clang/test/AST/ast-dump-openmp-for-simd.c
    M clang/test/AST/ast-dump-openmp-for.c
    M clang/test/AST/ast-dump-openmp-master.c
    M clang/test/AST/ast-dump-openmp-ordered.c
    M clang/test/AST/ast-dump-openmp-parallel-for-simd.c
    M clang/test/AST/ast-dump-openmp-parallel-for.c
    M clang/test/AST/ast-dump-openmp-parallel-sections.c
    M clang/test/AST/ast-dump-openmp-parallel.c
    M clang/test/AST/ast-dump-openmp-section.c
    M clang/test/AST/ast-dump-openmp-sections.c
    M clang/test/AST/ast-dump-openmp-simd.c
    M clang/test/AST/ast-dump-openmp-single.c
    M clang/test/AST/ast-dump-openmp-target-data.c
    M clang/test/AST/ast-dump-openmp-target-enter-data.c
    M clang/test/AST/ast-dump-openmp-target-exit-data.c
    M clang/test/AST/ast-dump-openmp-target-parallel-for-simd.c
    M clang/test/AST/ast-dump-openmp-target-parallel-for.c
    M clang/test/AST/ast-dump-openmp-target-parallel.c
    M clang/test/AST/ast-dump-openmp-target-simd.c
    M clang/test/AST/ast-dump-openmp-target-teams-distribute-parallel-for-simd.c
    M clang/test/AST/ast-dump-openmp-target-teams-distribute-parallel-for.c
    M clang/test/AST/ast-dump-openmp-target-teams-distribute-simd.c
    M clang/test/AST/ast-dump-openmp-target-teams-distribute.c
    M clang/test/AST/ast-dump-openmp-target-teams.c
    M clang/test/AST/ast-dump-openmp-target-update.c
    M clang/test/AST/ast-dump-openmp-target.c
    M clang/test/AST/ast-dump-openmp-task.c
    M clang/test/AST/ast-dump-openmp-taskgroup.c
    M clang/test/AST/ast-dump-openmp-taskloop-simd.c
    M clang/test/AST/ast-dump-openmp-taskloop.c
    M clang/test/AST/ast-dump-openmp-taskwait.c
    M clang/test/AST/ast-dump-openmp-taskyield.c
    M clang/test/AST/ast-dump-openmp-teams-distribute-parallel-for-simd.c
    M clang/test/AST/ast-dump-openmp-teams-distribute-parallel-for.c
    M clang/test/AST/ast-dump-openmp-teams-distribute-simd.c
    M clang/test/AST/ast-dump-openmp-teams-distribute.c
    M clang/test/AST/ast-dump-openmp-teams.c
    M clang/test/AST/ast-dump-template-name.cpp
    M clang/test/AST/ast-dump-templates-pattern.cpp
    M clang/test/AST/ast-dump-templates.cpp
    M clang/test/AST/ast-dump-type-callingconv.cpp
    M clang/test/AST/attr-lifetime-capture-by.cpp
    M clang/test/AST/multistep-explicit-cast.c
    M clang/test/AST/multistep-explicit-cast.cpp
    M clang/test/ASTSYCL/ast-dump-sycl-kernel-call-stmt.cpp
    M clang/test/ASTSYCL/ast-dump-sycl-kernel-entry-point.cpp
    M clang/test/CXX/class/class.friend/p7-cxx20.cpp
    M clang/test/CXX/class/class.mfct/p1-cxx20.cpp
    M clang/test/Driver/cspgo-lto.c
    M clang/test/ParserHLSL/hlsl_resource_class_attr.hlsl
    M clang/test/ParserHLSL/hlsl_resource_handle_attrs.hlsl
    M clang/test/SemaOpenCL/multistep-explicit-cast.cl
    M clang/test/SemaTemplate/deduction-guide.cpp
    M compiler-rt/lib/asan/asan_errors.cpp
    M compiler-rt/lib/asan/asan_poisoning.cpp
    M compiler-rt/lib/asan/asan_poisoning.h
    M compiler-rt/test/asan/TestCases/contiguous_container_crash.cpp
    M libsycl/src/CMakeLists.txt
    M lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
    M lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.h
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    A llvm/test/Transforms/LoopVectorize/AArch64/transform-narrow-interleave-to-widen-memory-with-live-outs.ll
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  [𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]


Compare: https://github.com/llvm/llvm-project/compare/77b6273ce2e8...59ca7ca0fc7d

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