[clang] [llvm] [AMDGPU] Error out in clang if wavefront64 is used on gfx1250 (PR #153693)

Stanislav Mekhanoshin via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 19 10:06:29 PDT 2025


================
@@ -774,6 +774,18 @@ static bool isWave32Capable(StringRef GPU, const Triple &T) {
   return IsWave32Capable;
 }
 
+static bool isWave64Capable(StringRef GPU, const Triple &T) {
+  if (T.isAMDGCN()) {
----------------
rampitec wrote:

So to clarify, do you suggest adding a `wavefrontsize32` or `wavefrontsize64` feature in the `fillAMDGPUFeatureMap` to every target which can only support one wavefront size? And then if it is in the `Features` map assume the target cannot support another?

https://github.com/llvm/llvm-project/pull/153693


More information about the llvm-commits mailing list