[all-commits] [llvm/llvm-project] 143f36: clang/AMDGPU: Remove driver restriction on --gpu-m...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Jun 22 07:48:27 PDT 2026


  Branch: refs/heads/users/arsenm/clang/amdgpu-remove-artificial-restriction-gpu-max-threads-per-block
  Home:   https://github.com/llvm/llvm-project
  Commit: 143f364ed8df9697e08458507f32bf6d5cc68255
      https://github.com/llvm/llvm-project/commit/143f364ed8df9697e08458507f32bf6d5cc68255
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-06-22 (Mon, 22 Jun 2026)

  Changed paths:
    M clang/lib/Driver/ToolChains/AMDGPU.cpp
    A clang/test/Driver/amdgpu-openmp-gpu-max-threads-per-block.c
    A clang/test/Frontend/openmp-warn-gpu-max-threads-per-block.c

  Log Message:
  -----------
  clang/AMDGPU: Remove driver restriction on --gpu-max-threads-per-block

Previously this flag was only handled for HIP, and would produce an unused
argument warning. There is a custom warning produced by cc1 that the
argument isn't supported, but practically speaking that was unreachable
due to not forwarding the argument. Also add a test for the untested warning.
Also use a simpler method for forwarding the flag to cc1.



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