[all-commits] [llvm/llvm-project] 5cc725: [clang-sycl-linker][NFC] Improve clang-sycl-linker...

Iris Shi via All-commits all-commits at lists.llvm.org
Wed May 6 19:21:02 PDT 2026


  Branch: refs/heads/users/el-ev/issue-rust-156168
  Home:   https://github.com/llvm/llvm-project
  Commit: 5cc7259bf2d334b6d173d22c68d2d43fa5906a41
      https://github.com/llvm/llvm-project/commit/5cc7259bf2d334b6d173d22c68d2d43fa5906a41
  Author: Alexey Bader <alexey.bader at intel.com>
  Date:   2026-05-06 (Wed, 06 May 2026)

  Changed paths:
    M clang/tools/clang-sycl-linker/ClangSYCLLinker.cpp

  Log Message:
  -----------
  [clang-sycl-linker][NFC] Improve clang-sycl-linker verbose output (#196212)

Print in-process operation messages (sycl-device-link, LLVM backend)
before execution rather than after, matching the behavior of
clang-linker-wrapper.


  Commit: 6e601bc5ea740667c88f35afe4147ead74ed3175
      https://github.com/llvm/llvm-project/commit/6e601bc5ea740667c88f35afe4147ead74ed3175
  Author: darkbuck <michael.hliao at gmail.com>
  Date:   2026-05-06 (Wed, 06 May 2026)

  Changed paths:
    M llvm/unittests/DWARFLinkerParallel/CMakeLists.txt

  Log Message:
  -----------
  [UnitTests] Remove duplicated libs. NFC (#196215)


  Commit: 38bda742ad1247a7d1ae787cc727a00121d6c12a
      https://github.com/llvm/llvm-project/commit/38bda742ad1247a7d1ae787cc727a00121d6c12a
  Author: lonely eagle <2020382038 at qq.com>
  Date:   2026-05-07 (Thu, 07 May 2026)

  Changed paths:
    R mlir/test/mlir-reduce/failure-test.sh
    R mlir/test/mlir-reduce/false.sh
    R mlir/test/mlir-reduce/invalid.mlir
    M mlir/test/mlir-reduce/opt-reduction/cse-test.mlir
    M mlir/test/mlir-reduce/opt-reduction/dce-test.mlir
    R mlir/test/mlir-reduce/reduction-tree.mlir
    A mlir/test/mlir-reduce/reduction-tree/invalid.mlir
    A mlir/test/mlir-reduce/reduction-tree/reduction-tree.mlir
    A mlir/test/mlir-reduce/reduction-tree/simple-test.mlir
    A mlir/test/mlir-reduce/reduction-tree/single-function.mlir
    A mlir/test/mlir-reduce/script/failure-test.sh
    A mlir/test/mlir-reduce/script/false.sh
    A mlir/test/mlir-reduce/script/true.sh
    R mlir/test/mlir-reduce/simple-test.mlir
    R mlir/test/mlir-reduce/single-function.mlir
    R mlir/test/mlir-reduce/true.sh

  Log Message:
  -----------
  [mlir][reduce] Separate scripts and tests into distinct directories (#196005)

This PR reorganizes the mlir-reduce component by separating reduction
scripts and their corresponding test cases into dedicated directories.
Part of https://github.com/llvm/llvm-project/pull/195997.


  Commit: 03c75949a43100489759caeaf53e078df8c04670
      https://github.com/llvm/llvm-project/commit/03c75949a43100489759caeaf53e078df8c04670
  Author: Alexey Bader <alexey.bader at intel.com>
  Date:   2026-05-06 (Wed, 06 May 2026)

  Changed paths:
    M clang/lib/Driver/ToolChains/SPIRV.cpp
    M clang/test/Driver/sycl-link-spirv-target.cpp

  Log Message:
  -----------
  [Driver] Forward -v to clang-sycl-linker in SPIRV toolchain (#196213)

The SPIRV linker job construction was not forwarding the -v (verbose)
flag to clang-sycl-linker when --sycl-link is used. This is limited to
the --sycl-link path because the default linker spir-link doesn't
support -v flag.


  Commit: b07aeece4d8b3af5578c58a2a2d4092070b92773
      https://github.com/llvm/llvm-project/commit/b07aeece4d8b3af5578c58a2a2d4092070b92773
  Author: Jeremy Kun <jkun at google.com>
  Date:   2026-05-06 (Wed, 06 May 2026)

  Changed paths:
    M mlir/lib/Dialect/Arith/Transforms/IntRangeOptimizations.cpp
    A mlir/test/Dialect/Arith/int-range-opts-crash.mlir
    M mlir/test/lib/Dialect/Test/TestOpDefs.cpp
    M mlir/test/lib/Dialect/Test/TestOps.td

  Log Message:
  -----------
  [MLIR][IntRange] Materialize known constant values only when the value type is integer-like (#196133)

This patch came out of
https://discourse.llvm.org/t/request-for-advice-in-updating-intrange-optimziations/90685

In short, my out-of-tree dialect has region-bearing operations whose
return-like terminators semantically wrap an integer type in a
non-integer type when returning to the parent for control flow (also
this dialect that has no constant materializer). In this case,
`MaterializeKnownConstantValues` will attempt to construct integer
attributes using those non-integer types, which causes a stack trace and
prevents us from using int range optimizations on IR that contains these
ops.

This patch adds guards to the materialization step, so that if the value
that is inferred to be constant is not an integer (or shaped container
with an integer element type), no materialization is attempted.


  Commit: fe52a6c99b6b1fa8222b28ffc70d9f43effdfbca
      https://github.com/llvm/llvm-project/commit/fe52a6c99b6b1fa8222b28ffc70d9f43effdfbca
  Author: Eric <55723758+efric at users.noreply.github.com>
  Date:   2026-05-06 (Wed, 06 May 2026)

  Changed paths:
    M mlir/lib/Dialect/AMDGPU/Transforms/FoldMemRefsOps.cpp
    M mlir/test/Dialect/AMDGPU/amdgpu-fold-memrefs.mlir

  Log Message:
  -----------
  [AMDGPU][MLIR] Add FoldMemRefOpsIntoGlobalLoadAsyncToLDSOp (#195982)

Add folders for memref aliases for gfx1250 global async to lds.

Assisted by: cursor

Signed-off-by: Eric Feng <Eric.Feng at amd.com>


  Commit: 7d68c1e6f0f9d034de5ea978e61f5253245a513d
      https://github.com/llvm/llvm-project/commit/7d68c1e6f0f9d034de5ea978e61f5253245a513d
  Author: Iris Shi <0.0 at owo.li>
  Date:   2026-05-07 (Thu, 07 May 2026)

  Changed paths:
    M clang/lib/Driver/ToolChains/SPIRV.cpp
    M clang/test/Driver/sycl-link-spirv-target.cpp
    M clang/tools/clang-sycl-linker/ClangSYCLLinker.cpp
    M llvm/unittests/DWARFLinkerParallel/CMakeLists.txt
    M mlir/lib/Dialect/AMDGPU/Transforms/FoldMemRefsOps.cpp
    M mlir/lib/Dialect/Arith/Transforms/IntRangeOptimizations.cpp
    M mlir/test/Dialect/AMDGPU/amdgpu-fold-memrefs.mlir
    A mlir/test/Dialect/Arith/int-range-opts-crash.mlir
    M mlir/test/lib/Dialect/Test/TestOpDefs.cpp
    M mlir/test/lib/Dialect/Test/TestOps.td
    R mlir/test/mlir-reduce/failure-test.sh
    R mlir/test/mlir-reduce/false.sh
    R mlir/test/mlir-reduce/invalid.mlir
    M mlir/test/mlir-reduce/opt-reduction/cse-test.mlir
    M mlir/test/mlir-reduce/opt-reduction/dce-test.mlir
    R mlir/test/mlir-reduce/reduction-tree.mlir
    A mlir/test/mlir-reduce/reduction-tree/invalid.mlir
    A mlir/test/mlir-reduce/reduction-tree/reduction-tree.mlir
    A mlir/test/mlir-reduce/reduction-tree/simple-test.mlir
    A mlir/test/mlir-reduce/reduction-tree/single-function.mlir
    A mlir/test/mlir-reduce/script/failure-test.sh
    A mlir/test/mlir-reduce/script/false.sh
    A mlir/test/mlir-reduce/script/true.sh
    R mlir/test/mlir-reduce/simple-test.mlir
    R mlir/test/mlir-reduce/single-function.mlir
    R mlir/test/mlir-reduce/true.sh

  Log Message:
  -----------
  Merge branch 'main' into users/el-ev/issue-rust-156168


Compare: https://github.com/llvm/llvm-project/compare/eb5224841bcf...7d68c1e6f0f9

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