[all-commits] [llvm/llvm-project] 9f2d21: clang/AMDGPU: Remove driver restriction on --gpu-m...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Mon Jun 22 07:00:53 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: 9f2d21d9b66b7b72b8a6346d44ae052a841590aa
https://github.com/llvm/llvm-project/commit/9f2d21d9b66b7b72b8a6346d44ae052a841590aa
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